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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-25-2003, 02:56 AM
|
#1
|
|
Member
Registered: Jul 2003
Distribution: Red Hat 8.0 KDE
Posts: 58
Rep:
|
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. 
|
|
|
|
07-25-2003, 03:04 AM
|
#2
|
|
Member
Registered: Sep 2002
Location: Kaysville, UT USA
Distribution: Red Hat Linux, Slackware
Posts: 242
Rep:
|
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
|
|
|
|
07-25-2003, 03:21 AM
|
#3
|
|
Member
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843
Rep:
|
put an icon on the desktop that executes
xkill
The crosshairs should give an idea what it does.
RO
|
|
|
|
07-25-2003, 03:45 AM
|
#4
|
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep: 
|
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.
|
|
|
|
04-25-2007, 05:11 PM
|
#5
|
|
LQ Newbie
Registered: Nov 2004
Location: Manila, Philippines
Distribution: Gentoo Linux
Posts: 8
Rep:
|
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...
|
|
|
|
04-25-2007, 05:31 PM
|
#6
|
|
Senior Member
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,159
Rep: 
|
kill -9 <pid>
|
|
|
|
04-26-2007, 06:00 AM
|
#7
|
|
Member
Registered: Nov 2003
Distribution: Mandriva
Posts: 441
Rep:
|
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 06:02 AM.
|
|
|
|
04-26-2007, 06:20 AM
|
#8
|
|
Member
Registered: Jan 2006
Distribution: Debian
Posts: 462
Rep:
|
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 06:21 AM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:25 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|