Set Path for Run Command

Aivars Šterns atoms at netparks.lv
Fri Jun 8 23:02:59 BST 2007


You need to add this path to PATH,  you can change that in you 
/etc/profile file, by modifying it...
the line you should edit is:

if [ "$EUID" = "0" ] || [ "$USER" = "root" ] ; then
        
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:${ROOTPATH}"
else
        PATH="/usr/local/bin:/usr/bin:/bin:${PATH}" <-- this one
fi

change line to this:
        PATH="*/home/bin:*/usr/local/bin:/usr/bin:/bin:${PATH}"

Aivars
Tim Johnson wrote:
> Hi:
> I have a group of shell scripts at /home/bin.
> When I attempt to run any of those from the "Run Command" Dialogue,
> I get "Could not run the specified command."
> I presume that is because the Dialogue is not aware of the
> path.
> If so, how may I add it?
> 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.
>   

___________________________________________________
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