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

2006-04-26 Thread Jon Dowland
At 1146047983 past the epoch, John Stumbles wrote: > 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. It depends entirely on which session manager is used or

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

2006-04-26 Thread Liam O'Toole
On Wed, 26 Apr 2006 12:41:36 +0100 Jon Dowland <[EMAIL PROTECTED]> wrote: > At 1146047983 past the epoch, John Stumbles wrote: > > 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 c

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

2006-04-26 Thread Felix C. Stegerman
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 n

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

2006-04-26 Thread Felix C. Stegerman
On 2006-04-26 16:06:20, John Stumbles wrote: > Felix C. Stegerman wrote: > > >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

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

2006-04-26 Thread John Stumbles
Felix C. Stegerman wrote: Try renaming `setpath' to `setpath.sh'. Aha! that works! Thanks. Is that documented somewhere? I've looked at http://www.kde.org/documentation/ especially http://www.kde.org/areas/sysadmin/, and http://docs.kde.org/ Of course it only works for kde. That's good enou

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

2006-04-26 Thread John Stumbles
Jon Dowland wrote: It depends entirely on which session manager is used or which method of starting your session. If you create a ~/.xsession script which execs "startkde" you could specify the PATH before that and have it inherited by startkde and all subsequent processes. You then would need t

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

2006-04-26 Thread Felix C. Stegerman
> Aha! that works! Thanks. You're welcome. > Is that documented somewhere? > I've looked at http://www.kde.org/documentation/ especially > http://www.kde.org/areas/sysadmin/, and http://docs.kde.org/ I found it out by reading (the comments in) /usr/bin/startkde, but in unstable it's now documen

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

2006-04-26 Thread Michael M.
Felix C. Stegerman wrote: Since I use openbox + perlpanel + my_own_session_manager, I just source my .bashrc in my .xinitrc. Sorry, Felix, could you explain what you mean my "my own session manager"? You mean something other than gdm, kdm, xdm or wdm? -- Michael M. ++ Portland, OR ++ U

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

2006-04-27 Thread Jon Dowland
At 1146072858 past the epoch, John Stumbles wrote: > On my system .[x|X]session doesn't exist by default, so > kde (or whatever is chosen at the start-session menu) is > getting started by some other mechanism. Yes, KDM is calling startkde which in turn calls kdeinit. > At the 'Start new session'

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

2006-04-27 Thread Felix C. Stegerman
On 2006-04-26 16:41:47, Michael M. wrote: > Felix C. Stegerman wrote: > > > >Since I use openbox + perlpanel + my_own_session_manager, > >I just source my .bashrc in my .xinitrc. > > Sorry, Felix, could you explain what you mean my "my own session > manager"? You mean something other than gdm, kd

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

2006-04-27 Thread John Stumbles
Jon Dowland wrote: At 1146072858 past the epoch, John Stumbles wrote: On my system .[x|X]session doesn't exist by default, so kde (or whatever is chosen at the start-session menu) is getting started by some other mechanism. Yes, KDM is calling startkde which in turn calls kdeinit. Thanks.