Set Path for Run Command

Tim Johnson tim at johnsons-web.com
Sat Jun 9 00:48:51 BST 2007


On Friday 08 June 2007, Stephen Dowdy wrote:
 
> Read the 'startkde' script.  There's a section in there that scans and
> sources all files matching ${HOME}/.kde/env/*.sh.
>
> Thus, create a file called, say "${HOME}/.kde/env/Add_Path.sh"
>
> containing:
> ------------------------------------
> # Add components to KDE's PATH
>
> [ -d /home/bin ] && PATH=/home/bin:${PATH}
> export MY_KDE_DEBUG="Yahoo"
> ...
> ------------------------------------
> (note this script doesn't have to be executable (since it's sourced
> by the startkde shell script)
>
> You can verify this after you restart your KDE session by using the
> Run-Command with
>
>        xmessage "PATH=$PATH"
>        xmessage "$MY_KDE_DEBUG"    (should open an xmessage saying "Yahoo")
>
 Hi Stephen:
 Your instructions are right on. Works now. And I appreciate the
  additional info, too.
  thanks
  tim

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list