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

Re: PATH to java in X11



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



Reply to: