[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Setup PATH for X Window (urxvt)

On Tue, 1 May 2007 12:03:23 +0200
csanyipal <csanyipal@csanyi-pal.info> wrote:

> Hello!
> I try to setup PATH permanently for X Window, that is for urxvt, in 
> which must to run brlcad.
> brlcad is here: /usr/brlcad/bin
> Now, if I run mged (editor for brlcad) I must to open urxvt, then
> setup PATH for brlcad and then can run mged.
> I want to setup PATH permanently to can run brlcad without setting up 
> every time the PATH.
> I try to write these:
> PATH=/usr/brlcad/bin:$PATH
> export PATH
> in several places:
> mcedit /etc/profile
> mcedit ~/.xsession.d/10auto-start
> mcedit .bash_profile
> mcedit .xsession
> mcedit ~/GNUstep/Library/WindowMaker/autostart
> but env shows me that the PATH have not setup to brlcad:
> PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
> How can I setup PATH for brlcad permanently?

Are you using GDM to log in? It does execute a login shell default. However, you can circumvent that by making .xsession invoke a login shell, i.e., by changing the first line

    #!/bin/sh --login

Alternatively, you could start X by running 'startx' after logging
in on a virtual console. Then the parent of all X processes will be a
login shell.

Better, though, would be to install the software to /usr/local instead.



Reply to: