.X.d is too late for setting up global varible, .xsession can't be modified on startup. any other place that I can setup a global variable?
How about "/etc/profile.d/*.sh"? See /etc/profile.
Hi! Syun
Thanks for the extension. It works now. I used the some font last time. I guess I failed to register the font correctly, though they are listed in xlsfonts. Maybe its the rehash command or Xorg-bin dependency causing the problem? Anyway Good work! Are you going to submit the extension? if so i will takeout the fonts from my locale collection and depened on your fonts.
The fltk toolkit seems still buggy. As you can see in the attached screen shot. the charaters shown in the left tree is correct but garbled in the right table (Most dir looks just fine, but this dirs doesnt work. Not sure why. It looks ok in gtk open file dialog though) The editor and its open file dialog doesn't work.(Looks like the editor is not covered in your current plan, right? ;-)
As to the global variable. Thanks for the suggestion, Syun. But I am still not sure what to do:
I tried placing script in /squash-root/etc/profile.d but tinycore doesnt seem to process symbolic in that folder. so I use "cp -L /etc/profile.d/_symbolink script" in install script. The script works with sudo. but when in action, the result of this script is another symbolink after reboot. How come ... :-S
Looks like I have to cp /tmp/tcloop/..=> /etc/profil.d/...
Btw, Syun. In your extension, I suspect if xset will work onBoot. since X is not started when install script is executed. Maybe .X.d looks good for yours, but there doesnt seem to be much choice left for me. Let me see, I will try to combine them all to ensure it works correctly in any case.
Really hope there is a .X.b which is executed before x start or anywhere to place gloabl varible. By then, life will be much easier for such tasks.
[removed attachment duplicates]