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

Re: $PATH and /etc/profile

s. keeling wrote:

Incoming from Simon L:
In my /etc/profile file, I wrote: "PATH="/opt/j2sdk1.4.2_04/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/sbin:/usr/sbin:/sbin""

When I log in text mode, the entire PATH is there as I want, I can "startx" and when I open a terminal, the PATH is perfect. Now, if I start the computer with KDM and that I run a terminal, the

Define "terminal."  What are you actually running?  XTerm, KTerm,
Gnome-terminal?  Are you clicking on an icon or entering a command?
One way or another, you need to tell that thing to run a _login_
session, and all of them do it differently.

PATH is only: "/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games"

I use kterm, but my problem is the same when I use an icon of a program that use java. So I want the PATH to be always there for any use.

Reply to: