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

Re: $PATH and /etc/profile



Incoming from Simon L:
> 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""

First, you should append /opt/j2sdk1.4.2_04/bin to the _end_ of your
PATH variable, not the beginning.

> >>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,
> >
> >>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.

I gave up trying to figure out how kde works.  If you have that in
/etc/profile, it ought to be right.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)               http://www.spots.ab.ca/~keeling 
- -



Reply to: