adapted $PATH not available for GUI
houghi at houghi.org
houghi at houghi.org
Sun Mar 16 20:52:08 CET 2014
On Sun, Mar 16, 2014 at 02:14:01PM -0500, Marshall Neill wrote:
> On my system it gets if from /etc/profile
> if [ "`id -u`" -eq 0 ]; then
> PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
> else
> PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
> fi
>
That is what I was thinking as well. However when I edit those to the
following, I do not see it:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/tmp"
or to
PATH="/usr/local/bin:/usr/bin:/bin"
The first should add /tmp in the $PATH, the second removes bot games
directories (or rather should not add them)
However after a reboot, I still get
"/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" as default
PATH.
I have installed a clean Debian on Virtualbox to easier check and see the
behaviour.
How can it be that if /usr/games and /usr/local/games are still in PATH if
they are not in that file. To me that means that is NOT the file that is
actually being read. SO what is?
houghi
--
This is written under the inluence of the following:
> Artist : Mercedes Sosa
> Song : Zamba para no morir
> Album : Yo no canto por cantar
More information about the Xfce
mailing list