I found out that Variables that have to be visible in Xorg environment, really have to be exported by the /usr/bin/xwin script .

Normally it should be enought as xwin is started normally by /etc/profile . This is a problematic feature, because it relays on the non-existance of /tmp/bootcount.txt file, which actually is a .touch file .

It should go to /var/Puppy/X or /var/Puppy/tmp or /var/puppy/state in my thoughts .

If you logout from X and type xwin again, i could think of that some exports don't work anymore .
I am also not sure about fido or spot . .

I launch xwin from /etc/inittab with :once:/usr/bin/xwin and then i have no /etc/profile parsing before . I do it with "#!/bin/bash --login" bang in xwin script .

Daemons like acpid are another thing . If they should popup an xmessage, i found out that i had to start them from ~/.xinitrc .

Karl; How about making a new Linux distro? Rather than reworking the wheel?

A much simpler one, with no union, no legacy of scattered install files, etc.

I have a modded version of Tiny Core that`s very close to what I have in mind.
Main dirs. are divided into read-only that`re in a Sq. file, read-write on a partition,
and the system dirs. are just as they are in the initrdfs ( mnt, proc, sys, tmp, ...).
I have a dir. tree map that shows what is what.
Most of the main dirs. are links, this allows the O.S. to be rearranged.

### If there`s any interest I`ll post a prospectus about it..

### News... I have my AppDir setup working, I modded it to allow multiple apps.
And I also modded it to work with shared libs. in squash files.
This allows the apps. to load into ram and not have multiple copies of libs.
In many cases I`ve seen, the libs. are much bigger than the app. itself.

I have an AppDir builder script that works okay, more work`s needed.
I have Audacious, mtPaint, Xfe filer, and xMahjongg all working.
As I get more apps. I`ll post the selection and gather more.

Joined: 18 May 2005Posts: 11132Location: The Peoples Republic of California

Posted: Sun 17 Jun 2012, 20:18 Post subject:

sunburnt wrote:

I just don`t see why PATH is okay and APP_DIR is not.

I don't see why PATH works at all. I thought /etc/rc.local runs before /etc/profile. If so, the PATH statement in profile would not append a previous PATH statement. It would replace it with the new PATH statement.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum