I add $HOME/bin
to $PATH
from ~/.profile
. However, it seems it is not sourced during login. I use a login manager - lxdm
I think, and not startx
. I know this matters as to which scripts are executed.
To illustrate, see how the $HOME/bin
is added after I explicitly source ~/.profile
. But shouldn't it have been sourced during the graphical login?
sashoalm@aspire:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
sashoalm@aspire:~$ source ~/.profile
sashoalm@aspire:~$ echo $PATH
/home/sashoalm/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
sashoalm@aspire:~$