adapted $PATH not available for GUI
Marshall Neill
ramien43 at windstream.net
Sun Mar 16 21:21:08 CET 2014
I did grep -iR "games" in /etc and found that
login.defs
had some pathing info. Perhaps that file has something to do with the
PATH env variable.
On 03/16/2014 02:52 PM, houghi at houghi.org wrote:
> 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
More information about the Xfce
mailing list