Re: Setup PATH for X Window (urxvt)
On Tue, 1 May 2007 12:03:23 +0200
csanyipal <email@example.com> wrote:
> 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:
> 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:
> 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
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
Better, though, would be to install the software to /usr/local instead.