WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Custom extension 'myEnxt.tcz:/etc/skel/.X.d' do not load file.  (Read 1277 times)

Offline ipmeel

  • Jr. Member
  • **
  • Posts: 59
Custom extension 'myEnxt.tcz:/etc/skel/.X.d' do not load file.
« on: October 18, 2016, 08: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.
« Last Edit: October 18, 2016, 09:31:42 PM by Rich »

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5964
Re: Custom extension 'myEnxt.tcz:/etc/skel/.X.d' do not load file.
« Reply #1 on: October 18, 2016, 09:40:20 PM »
Hi ipmeel
If your extension requires startup commands they should be placed in  /usr/local/tce.installed/myEnxt.

Offline ipmeel

  • Jr. Member
  • **
  • Posts: 59
Re: Custom extension 'myEnxt.tcz:/etc/skel/.X.d' do not load file.
« Reply #2 on: October 18, 2016, 09:51:28 PM »
Hi Rich,
It requires startup after GUI.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 9874
Re: Custom extension 'myEnxt.tcz:/etc/skel/.X.d' do not load file.
« Reply #3 on: October 19, 2016, 02: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?
The only barriers that can stop you are the ones you create yourself.

Offline ipmeel

  • Jr. Member
  • **
  • Posts: 59
Re: Custom extension 'myEnxt.tcz:/etc/skel/.X.d' do not load file.
« Reply #4 on: October 19, 2016, 02:11:26 AM »
The file 'startup' is not copied in directory 'Home/tc/.X.d/'.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 9874
Re: Custom extension 'myEnxt.tcz:/etc/skel/.X.d' do not load file.
« Reply #5 on: October 19, 2016, 02:38:11 AM »
Extension loading happens after setupHome, so you should probably copy it there in the startup script.
The only barriers that can stop you are the ones you create yourself.