Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: ipmeel on October 18, 2016, 11:39:54 PM

Title: Custom extension 'myEnxt.tcz:/etc/skel/.X.d' do not load file.
Post by: ipmeel on October 18, 2016, 11:39:54 PM
I have created an own extension 'myEnxt.tcz' and put a file 'startup' in it at '/etc/skel/.X.d/' that call a script '/opt/myDir/myScript.sh'. It also put a file  '/opt/myDir/myScript.sh' in it, added the extension to 'onboot.lst'.
It doesn't load the file 'startup' file into '~/tc/.X.d/' directory, but it load 'myScript.sh' in '/opt/myDir/.

If it put the file 'startup' file in 'Xlibs.tcz:/ect/skel/.X.d/', it is working fine.
Unable to figure-out, where I am making mistake?
Please help.
Title: Re: Custom extension 'myEnxt.tcz:/etc/skel/.X.d' do not load file.
Post by: Rich on October 19, 2016, 12:40:20 AM
Hi ipmeel
If your extension requires startup commands they should be placed in  /usr/local/tce.installed/myEnxt.
Title: Re: Custom extension 'myEnxt.tcz:/etc/skel/.X.d' do not load file.
Post by: ipmeel on October 19, 2016, 12:51:28 AM
Hi Rich,
It requires startup after GUI.
Title: Re: Custom extension 'myEnxt.tcz:/etc/skel/.X.d' do not load file.
Post by: curaga on October 19, 2016, 05:02:40 AM
You need to clarify what you mean with "doesn't load". Is the file not there, or is it there, but doesn't call your script?
Title: Re: Custom extension 'myEnxt.tcz:/etc/skel/.X.d' do not load file.
Post by: ipmeel on October 19, 2016, 05:11:26 AM
The file 'startup' is not copied in directory 'Home/tc/.X.d/'.
Title: Re: Custom extension 'myEnxt.tcz:/etc/skel/.X.d' do not load file.
Post by: curaga on October 19, 2016, 05:38:11 AM
Extension loading happens after setupHome, so you should probably copy it there in the startup script.