At Wed, 16 Dec 2009 20:16:30 +0100 pk <pete...@coolmail.se> wrote:

> Allan Gottlieb wrote:
>
>> Does that get sourced by the gnome panel so that launchers see it?
>> I hadn't thought so, but will try it.
>
> Hm... X/xDM is started from a virtual console (mine is usually started
> from VC-7, which is the default). That's where your login should happen,
> so everything started after that should inherit the environment
> variables. I would assume gnome DE (everything related to) uses the same
> "tactic"... but given the gnome developers ms-windows fanatiscism I
> wouldn't be surprised if it didn't.

Adding
  export $PATH=$HOME/bin:$PATH
to ~/.profile does seem to work so thank you.

But I am surprised.  X/xDM runs as root so wouldn't look in my .profile
when *IT* starts.  I had assumed (incorrectly) that I had to put the
above export into one of the startup files mentioned in the man pages,
but couldn't figure out which one.
It is indeed much easier than I thought!

thanks again,
allan




Reply via email to