WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline ipmeel

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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11500
Re: Custom extension 'myEnxt.tcz:/etc/skel/.X.d' do not load file.
« Reply #1 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.

Offline ipmeel

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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11022
Re: Custom extension 'myEnxt.tcz:/etc/skel/.X.d' do not load file.
« Reply #3 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?
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, 05:11:26 AM »
The file 'startup' is not copied in directory 'Home/tc/.X.d/'.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11022
Re: Custom extension 'myEnxt.tcz:/etc/skel/.X.d' do not load file.
« Reply #5 on: October 19, 2016, 05: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.