![]() |
Setting environment variables?
Can't figure this out.. I need to add a few places in $PATH permanently for osso-xterm and cannot find any references or documentation on how to do this on my N900 / Maemo5.
Please advise |
Re: Setting environment variables?
If my memory serves me well, you should be able to create a .profile file in your home directory (~/.profile) and add your exports there.
For example: Code:
echo "export FOO=bar" >> ~/.profile |
Re: Setting environment variables?
Quote:
|
Re: Setting environment variables?
Have you tried putting it to .bashrc in your home directory?
Something like this: Code:
export PATH=$PATH:/home/user/MyDocs |
Re: Setting environment variables?
Quote:
|
Re: Setting environment variables?
Quote:
Edit: Oops, the following applies to the Nokia N9: I recently lost ~/.profile due to a corrupt filesystem on /dev/mmcblk0p3. I found the stock Twitter application did not show any tweets and wrote the following to /var/log/syslog: Code:
twitter-meego[4859]: CRITICAL-Error: Not found XDG_CACHE_HOME environment variable I managed to find a copy of ~/.profile which think is untouched (I don't recall making any changes here): Code:
export DISPLAY=':0' |
All times are GMT. The time now is 23:05. |
vBulletin® Version 3.8.8