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

runner for kill

42

Votes
43
1
Tags: krunner krunner krunner
(comma "," separated)
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS

[krunner] runner for kill

Sun Jul 26, 2009 3:32 pm
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
K4m1K4tz3
Registered Member
Posts
35
Karma
0

Re: [krunner] runner for kill

Tue Jul 28, 2009 2:28 pm
I like your idea.

(just wanted to write something ;D )
SebastianHRO
Registered Member
Posts
29
Karma
0
OS

Re: [krunner] runner for kill

Thu Jul 30, 2009 3:07 pm
I don't know this problems but... very usefull for GNOME apps perhaps xD

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.
The User
KDE Developer
Posts
647
Karma
0
OS

Re: [krunner] runner for kill

Thu Jul 30, 2009 9:45 pm
killall -rIq -SIGKILL ".*appname.*"

You can also create an alias.
User avatar
JanGerrit
Moderator
Posts
647
Karma
3
OS

[krunner] runner for kill

Fri Aug 14, 2009 11:40 am
I'm trying to program it. I hope that it's in playground soon.


Image
User avatar
JanGerrit
Moderator
Posts
647
Karma
3
OS
User avatar
JanGerrit
Moderator
Posts
647
Karma
3
OS

[krunner] runner for kill

Thu Aug 20, 2009 7:39 am
@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.


Image
User avatar
aapgorilla
Registered Member
Posts
247
Karma
0
OS

[krunner] runner for kill

Tue Sep 15, 2009 4:16 pm
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?
User avatar
JanGerrit
Moderator
Posts
647
Karma
3
OS

[krunner] runner for kill

Tue Sep 15, 2009 4:18 pm
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.


Image
User avatar
aapgorilla
Registered Member
Posts
247
Karma
0
OS

[krunner] runner for kill

Tue Sep 15, 2009 4:32 pm
cool hope you'll be able to do it...
User avatar
JanGerrit
Moderator
Posts
647
Karma
3
OS

runner for kill

Wed Oct 14, 2009 11:42 am
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.


Image
User avatar
Kver
Registered Member
Posts
326
Karma
2
OS

runner for kill

Sun Oct 18, 2009 12:23 am
Having a plasmoid button that would launch a gnome-style "click to kill a window" would be handy.


Reformed lurker.
User avatar
Alec
Registered Member
Posts
565
Karma
1
OS

runner for kill

Sun Oct 18, 2009 4:41 am
Kver wrote:Having a plasmoid button that would launch a gnome-style "click to kill a window" would be handy.


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!
User avatar
Kver
Registered Member
Posts
326
Karma
2
OS

runner for kill

Sun Oct 18, 2009 5:19 am
Alec wrote: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.


*tinkers*

Huh, nifty. Huzabooutthet.


Reformed lurker.
User avatar
JanGerrit
Moderator
Posts
647
Karma
3
OS

runner for kill

Fri Oct 30, 2009 8:15 pm
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"?


Image


Bookmarks



Who is online

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