LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 07-25-2003, 03:56 AM   #1
funkenbooty
Member
 
Registered: Jul 2003
Distribution: Red Hat 8.0 KDE
Posts: 58

Rep: Reputation: 15
Talking Ctrl + Alt + Del ?


Well believe it or not; but I have run into a few situations with RH8 KDE where a few programs stop responding.
Is there something like Ctrl + Alt + Del to Task Manager to shut down the non responding programs?
Otherwise I will have to continue rebooting the old fashioned way when these things happen.
 
Old 07-25-2003, 04:04 AM   #2
KnightAbel
Member
 
Registered: Sep 2002
Location: Kaysville, UT USA
Distribution: Red Hat Linux, Slackware
Posts: 242

Rep: Reputation: 30
if you use kde, the easiest way is to hit [ctrl]+[esc] (default binding) that will bring up a dialog with a list of running processes.

however, I suggest you become aquainted with the ps and kill commands at the command line.

to see a list of all the running processes on your system, type:

ps -aux

I suggest you pipe it to the more or less command so you can scroll through it:

ps -aux | more

or

ps -aux | less

you can then find the pid of the program that will not stop correctly, e.g.:

alittle 29593 0.0 1.4 24256 7460 ? S Jul23 0:06 evolution

the italicized number is the pid, the bold name is the name of the process. with this number, you can then use kill to kill it. I'd start with kill [pid]:

kill 29593

if that doesn't kill it, you can try using the -9 option, which basically murders the program (don't do it this way if possible, it doesn't clean up any settings or temp files if you do):

kill -9 29593

it's actually not as complex as it may seem
 
Old 07-25-2003, 04:21 AM   #3
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
put an icon on the desktop that executes
xkill

The crosshairs should give an idea what it does.

RO
 
Old 07-25-2003, 04:45 AM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Re: Ctrl + Alt + Del ?

Quote:
Originally posted by funkenbooty
Otherwise I will have to continue rebooting the old fashioned way when these things happen.
Well, you don't need to reboot even if all of X hangs. Ctrl-Alt-Backspace kills X and everything under it, without rebooting.
 
Old 04-25-2007, 06:11 PM   #5
heightdeprived
LQ Newbie
 
Registered: Nov 2004
Location: Manila, Philippines
Distribution: Gentoo Linux
Posts: 8

Rep: Reputation: 0
you can also do alt+f2 then type 'ksysguard' on the 'Run' Dialog, afterwhich it will show you something synonymous to Windows' Task manager and you can already select which process to kill,

On the other hand, I was wondering if there's such thing in Solaris as Ctrl-alt-del function, I don't seem to see anything like it in it's /etc/inittab file...
 
Old 04-25-2007, 06:31 PM   #6
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
kill -9 <pid>
 
Old 04-26-2007, 07:00 AM   #7
hand of fate
Member
 
Registered: Nov 2003
Distribution: Mandriva
Posts: 441

Rep: Reputation: 30
Quote:
Originally Posted by KnightAbel
I suggest you become aquainted with the ps and kill commands at the command line.
If the computer is not responding, how are you supposed to open a terminal and type loads of commands?

The main short cuts you need are (by default):
Ctrl+Esc - Opens the task manager;
Ctrl+Alt+Esc - Launches Xkill. Press these keys then a single click on any part of the crashed window will instantly remove it;
Ctrl+Alt+Backspace - Restarts the X server. Can be used if both the above fail.

Last edited by hand of fate; 04-26-2007 at 07:02 AM.
 
Old 04-26-2007, 07:20 AM   #8
pusrob
Member
 
Registered: Jan 2006
Distribution: Debian
Posts: 468

Rep: Reputation: 35
Thumbs up

Quote:
Originally Posted by hand of fate
If the computer is not responding, how are you supposed to open a terminal and type loads of commands?
I completely agree with this.

Quote:
Originally Posted by hand of fate
The main short cuts you need are (by default):
Ctrl+Esc - Opens the task manager;
Ctrl+Alt+Esc - Launches Xkill. Press these keys then a single click on any part of the crashed window will instantly remove it;
Ctrl+Alt+Backspace - Restarts the X server. Can be used if both the above fail.
I agree with this even more. If a window crashes in KDE you really open a terminal and start typing commands?! Or you will put icons on desktop?! Come on people... Shortcuts are meant to replace these long procedures. KDE's keyboard shortcuts can be easily configured through kcontrol. Opening a terminal in these situations can look very professional like, but it is nothing more than a useless thing to do in most situations. If you kill an app, and you can sense some performance loss, than there is the time to open consoles, ksysguards, etc. Usually, when applications freeze, they don't freeze other libs or apps, so "terminaling" is useless thing to do (Only in most situations, of course there can be some exceptions). Use shortcuts! Shortcuts are your friends!

Last edited by pusrob; 04-26-2007 at 07:21 AM.
 
  


Reply


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
Is there a CTRL ALT DEL alternative? little_penguin Linux - Software 4 03-22-2005 09:31 AM
ctrl-alt-del on tightvnc cck23 Linux - Software 2 07-06-2004 09:16 AM
Disable CTRL-ALT-DEL dog606 Red Hat 2 04-19-2004 02:25 PM
ctrl.alt.del. in man9.2??? krome Mandriva 3 01-16-2004 12:31 AM
ctrl, alt, del hornet74 Linux - Software 8 01-13-2004 09:06 PM


All times are GMT -5. The time now is 09:12 AM.

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