Registered Member
|
Sometimes things go wrong in Linux and you have to forcibly kill an application. If the application has a window open, ctrl+esc will kill it. But if it doesn't, you have to open krunner, open the process viewer, find the process you want (either through scrolling or filtering), then kill that process. This idea is for a runner that allows you to kill processes directly from within the normal krunner interface. You just type "kill" and then start typing part of the process name. Krunner will then display all processes whose process name contains the text you typed. You can then click on the process you want to kill it. If you don't have permission, it will tell you this and bring up a policykit password window to let you kill it as root. Obviously this is for advanced users, it would be disabled by default, but I think having it available for advanced users would be very helpful. Currently I have to use yakuake and grep to find the process numbers then kill those process numbers. Having it within krunner and having krunner do the matching for me would be much easier.
Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965 |
Registered Member
|
I like your idea.
(just wanted to write something ) |
Registered Member
|
I don't know this problems but... very usefull for GNOME apps perhaps
But seriously... Crashed programs are reallly annoying and a fast way to correct that is really important. On the otherhand my pkill npviewer.bin is always in my krunner history. But a nice auto completition would be nice. Perhaps it is possible to make suggestions ordered by some symptoms - at least if there are any. Perhaps high CPU usage and less I/O if this is possible to find out. |
KDE Developer
|
killall -rIq -SIGKILL ".*appname.*"
You can also create an alias. |
Moderator
|
I'm trying to program it. I hope that it's in playground soon.
|
Moderator
|
|
Moderator
|
@TheBlackCat and all the others:
Could you please test the runner and provide me your feedback? You need KDE trunk, it doesn't work on KDE 4.3 , I don't know why. |
Registered Member
|
I haven't tried it yet, as I have no idea how to run trunk easily but could you sort the processes by cpu too?
|
Moderator
|
uh....interesting idea. But I don't know if it is possible to sort them. I'll look in it when I've got time.
|
Registered Member
|
|
Moderator
|
I added this sorting by CPU but it could be that it isn't very useful because KRunner doesn't support a real sorting.
It would be nice, if some of you could test the runner and provide some feedback. You need KDE trunk. |
Registered Member
|
Having a plasmoid button that would launch a gnome-style "click to kill a window" would be handy.
Reformed lurker.
|
Registered Member
|
You can add shortcut icon that runs "xkill" (you might have to install xkill if you don't already have it) You can also do that by pressting Control+Esc.
Get problems solved faster - get reply notifications through Jabber!
|
Registered Member
|
*tinkers* Huh, nifty. Huzabooutthet.
Reformed lurker.
|
Moderator
|
I'm glad to say that the runner finally went into KDE 4.4
http://mail.kde.org/pipermail/plasma-de ... 08789.html So I think this topic can be moved to "done"? |
Registered users: Bing [Bot], gfielding, Google [Bot], Sogou [Bot]