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 <[EMAIL PROTECTED]> "Any sufficiently advanced bug is indistinguishable from a feature." -- R. Kulawiec -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]