How to set path on login
Posted: Wed Nov 02, 2011 5:29 pm
I have Lubuntu 11.04. I need to add to the path on login.
For example:
I have tried:
Where can I add this command in LXDE? Is there one place that applies to just the user adding the command, and another place that will apply to everyone (just as ~/.profile and /etc/profile do in Gnome)?
Thank you.
For example:
Code: Select all
PATH="${PATH}:/mynew/bin"
- ~/.bashrc -- but that works only for the current terminal session, not for the entire login session.
- /etc/profile -- LXDE doesn't run it
- ~/.profile -- LXDE doesn't run it
Where can I add this command in LXDE? Is there one place that applies to just the user adding the command, and another place that will apply to everyone (just as ~/.profile and /etc/profile do in Gnome)?
Thank you.