Create /etc/profile.local and add the line:
Code: Select all
PATH=$PATH:/root/my-applications/sbin
export PATH
Then right below it I have:
Code: Select all
APP_DIR=$(</etc/AppDir.conf)
export APP_DIR
I know I can export them both in one statement.
The variable survives all the way to the /root/Startup dir.
I put a xmessage there and it shows that $APP_DIR is still alive.
But in rxvt, neither "set" or "env" show the variable.
And typing in rxvt:
Code: Select all
sh-4.1# echo $APP_DIR
sh-4.1#
And exactly where or what does have it?
As said, I`ve made them before no trouble, but now in Lucid-528-005 no go.