[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

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:
source ~/.bashrc
PATH=<your path>
exec gnome-session

Log out of gnome and log back in specifying the session as "User default" or some such thing in the gdm menu.


Reply to: