Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-18-2008, 03:19 PM   #1
LQ Newbie
Registered: Jun 2007
Posts: 25

Rep: Reputation: 15
What's the program that lets me click on a window to kill it? Can't remember...

Maybe I'm dreaming - but I remember there was either a command or a program, or shortcut, that I could use and it would allow me to click on a window in linux, and that window would be killed....

Is that true? Does anyone remember or know what it is?


Old 08-18-2008, 03:28 PM   #2
Registered: Dec 2003
Distribution: Arch
Posts: 64

Rep: Reputation: 15
In Gnome, the Force Quit panel utility does exactly that. To add it, right click on any gnome panel, select "Add to panel..." and add the "Force Quit" applet. When you want to use it, click on its icon and then click on the application you want to kill.

Old 08-18-2008, 03:32 PM   #3
Senior Member
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,094

Rep: Reputation: 198Reputation: 198
xkill? Apparently I have to write at least 100 characters.
Old 08-18-2008, 03:34 PM   #4
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
xkill does that as well, on any window manager.
Launch xkill from a terminal or create a shortcut.

Edit: too late...
Old 08-21-2008, 09:59 AM   #5
LQ Newbie
Registered: Sep 2007
Location: Stellenbosch, South Africa
Distribution: Ubuntu 12.10 at home, Mac OS X on laptop
Posts: 20

Rep: Reputation: 0
or you can kill the command from the terminal.

do a ps ax |grep programname

for example:

[16:56][root@francoisvn]~ # ps ax |grep ssh
2090 ? Ss 0:00 /usr/sbin/sshd
21383 ? Ss 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session gnome-session
21623 pts/2 S+ 0:00 ssh -C francoisvn@*****
21645 pts/3 S+ 0:00 ssh -C francoisvn@*****
21669 pts/4 S+ 0:00 ssh -C user@*****
24187 pts/1 S+ 0:00 ssh -C root@*****
24411 pts/0 S+ 0:00 grep ssh
[16:57][root@francoisvn]~ #

Then kill that process, for example

kill -s sigkill 21645
Old 08-21-2008, 11:32 AM   #6
Registered: Feb 2004
Posts: 53

Rep: Reputation: 16
Pressing control alt and esc at the same time should bring the x kill x up also
This is only good for an app thats presently showing on the desktop so that you can place the x cursor over it and kill it.

Last edited by geesh; 08-21-2008 at 11:33 AM.
Old 08-21-2008, 11:36 AM   #7
LQ Newbie
Registered: Aug 2008
Location: Norfolk, UK
Distribution: PCLinuxOS, Kanotix
Posts: 3

Rep: Reputation: 0
control + esc will give you a list of running processes. Find the one you want to kill and click on it.

As a last resort, click control + alt + esc. You will see your cursor symbol replaced by a skull and crossbones icon. If you then click on any window it will kill it instantly. But use with care!
Old 08-21-2008, 11:50 AM   #8
Registered: Dec 2003
Distribution: Arch
Posts: 64

Rep: Reputation: 15
"ctrl + esc" and "ctrl + alt + esc" doesn't work for me. Is that a window manager specific configuration ?
Old 08-21-2008, 12:14 PM   #9
LQ Newbie
Registered: Aug 2008
Location: Norfolk, UK
Distribution: PCLinuxOS, Kanotix
Posts: 3

Rep: Reputation: 0
Rognon - I'm using KDE 3.5.9.
Old 08-21-2008, 12:32 PM   #10
LQ Newbie
Registered: Aug 2008
Posts: 25

Rep: Reputation: 15
In my system too, the combinations do not work. Mine is 2.6.24-16-generic.
Do anyone know what keys should be used in this version to kill processes?
Old 08-21-2008, 01:40 PM   #11
Registered: Nov 2005
Location: Egypt
Distribution: Fedora 17 KDE
Posts: 393

Rep: Reputation: 31
The CTRL+ALT+ESC combination does not work when I am using Compiz-fusion on Mandriva 2008, I just created a shortcut on my panel (or you can edit the shortcut keys in compiz-fusion to run the xkill command)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gaim wont remember window position LinuxNewbie2005 Puppy 2 06-28-2006 06:00 PM
Gnome doesn't remember window positions anymore Napper Linux - Software 0 02-20-2005 07:08 AM
Can't remember the nameof the window manager.. halo14 Linux - General 2 01-12-2005 02:30 PM
Windows - Remember window sizes Micro420 General 1 01-07-2005 02:26 PM
Galeon doesn't remember window size on FluxBox? mifrai Linux - Software 1 01-19-2004 04:21 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration