[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 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 file in
> >~/.kde/env and set $PATH in there.
> 
> Doesn't work for me. I created
> $ mkdir .kde/env
> $ lsl .kde/env/
> total 12
> drwxr-xr-x  2 bart bart 4096 Apr 26 15:56 .
> drwx------  5 bart bart 4096 Apr 26 15:54 ..
> -rwxr-xr-x  1 bart bart  170 Apr 26 15:56 setpath
> -rw-r--r--  1 bart bart    0 Apr 26 15:56 setpath-20060426155614
> 
> $ cat .kde/env/setpath
> #!/bin/bash
> # set PATH so it includes user's private bin if it exists
> if [ -d ~/bin ] ; then
>     PATH=~/bin:"${PATH}"
> fi
> touch ~/.kde/env/setpath-`date '+%Y%m%d%H%M%S'`
> 
> The tag file (setpath-20060426155614) was created by me running the 
> script manually after creating it. I then logged out of my kde session 
> and logged in again: no new tag file, no extension to $PATH

Try renaming `setpath' to `setpath.sh'.


Felix

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

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



Reply to: