This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to include ~/bin in krunner

Tags: None
(comma "," separated)
User avatar
bushveld
Registered Member
Posts
174
Karma
0
OS

How to include ~/bin in krunner

Sun Oct 04, 2009 7:12 pm
Hello,

I would like to use also the scripts I have stored in ~/bin in krunner is there a method to configure this?

Thanks a lot
Bushveld


openSUSE 11.2 and KDE 4.4.0 -- Vita brevis! --
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: How to include ~/bin in krunner

Mon Oct 05, 2009 1:43 am
I believe KRunner obeys the $PATH variable. At least it includes ~/bin for me.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
bushveld
Registered Member
Posts
174
Karma
0
OS
Hi,

yes $PATH is used, this was a little bit confusing since I user a script to test which requires a terminal window. After I found the option and activated it this works fine.
Unfortunately krunner does not remember that this option was used. And doing the 4 extra klicks is no time saving, specially since I needt to mv my hands from the keyboard to the mouse.

Is there an option to store permanent "run in terminal window" per script or, if no: is there a trick which I may can user with in the sript to force to open a terminal window?

Thanks a lot
Michael


openSUSE 11.2 and KDE 4.4.0 -- Vita brevis! --
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: How to include ~/bin in krunner

Tue Oct 06, 2009 10:31 pm
You can use the "-e" option to Konsole for this.

Code: Select all
konsole -e /path/to/script


Place this in a seperate script and get the user to run this seperate script.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]