On Tue, 02 Oct 2007 05:46:01 +0530 Raj Kiran Grandhi <[EMAIL PROTECTED]> wrote:
> Henrique G. Abreu wrote: > > I'm running Lenny. > > I've inserted the lines to .bashrc as you sad > > but it only worked to the terminal > > it had no effect in gnome (eg: using Alt+F2) > > > > I inserted 'source /etc/profile' directly into > > /etc/X11/Xsession.d/55gnome-session_gnomerc > > > > and it's working now! > > I still want to know the correct way to do this. > > if you someone knows, please send. > > Create a file .xsession in your home directory with the following: > ===cut=== > source ~/.bashrc > PATH=<your path> > exec gnome-session > ===cut=== > > Log out of gnome and log back in specifying the session as "User > default" or some such thing in the gdm menu. > > HTH, > rajkiran > > Another approach is to run .xsession in a login shell: #!/bin/sh -l exec gnome-session Then your X session will inherit your full profile. -- Liam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]