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

Re: include ~/bin in $PATH under kde on debian (sarge)



On 2006-04-26 10:39:43, John Stumbles wrote:
> On kubuntu (and SuSE, IIRC) if I have a ~/bin directory it gets included
> in my $PATH but this doesn't happen under debian. (In all cases I'm
> using kde with kdm as my window manager.)
...
> I've googled www and usenet and searched debian lists but not found an
> answer to the question of setting the environment for my whole X
> session, not just for console session within X.

I personally use .xsession / .xinitrc to start a custom X session and
add ~/bin to my $PATH in there.
To do the same with GNOME, you can edit ~/.gnomerc.
To do the same with KDE, you can create a new executable file in
~/.kde/env and set $PATH in there.

> I would also like to understand what happens when a gui session starts
> under kdm - what scripts etc get run?

AFAIK: The X server runs some stuff in /etc/X11/Xsession.d and the
chosen desktop environment / session runs its own stuff. (like
~/.gnomrc or ~/.kde/env/*)


Felix

-- 
Felix C. Stegerman <flx@hccnet.nl>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec



Reply to: