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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
01-07-2008, 03:57 PM
|
#1
|
LQ Newbie
Registered: Oct 2007
Posts: 7
Rep:
|
ctr-alt-delete windows = ??? ubuntu
What do I use for ubuntu to stop a running process. I meant ctr-alt-delete for windows, what do I use for ubuntu for the same purpose?
Thanks
|
|
|
01-07-2008, 04:00 PM
|
#2
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
ps -e (gives you the PID for the thing you want to kill)
kill -9 <PID> to kill it.
some distros may have a GUI interface that does this, but I've never bothered to learn it.
|
|
|
01-07-2008, 04:28 PM
|
#3
|
Senior Member
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537
Rep:
|
If its a Xwindows app you can use xkill
|
|
|
01-07-2008, 04:45 PM
|
#4
|
LQ Newbie
Registered: Oct 2007
Posts: 7
Original Poster
Rep:
|
It freezes and does not respond to anything.
When I am searching for a website and can not find it the pc freezes and does not respond to anything.I have to turn it off with the on button.
Is there any keyboard shortcut for ubuntu that ctr-alt-delete does in windows?
Thanks
|
|
|
01-07-2008, 06:03 PM
|
#5
|
Member
Registered: Dec 2007
Location: ON CA
Distribution: Xubuntu 8.04; Xubuntu 6.06.2
Posts: 64
Rep:
|
Hi,
Hit Ctrl+Alt+Esc and your cursor should turn into a skull and crossbones, point it on the app you want to kill and l-click to kill it.
|
|
|
01-07-2008, 06:13 PM
|
#6
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Rep:
|
You could also use Ctrl-Alt-Backspace which kills x windows
|
|
|
01-07-2008, 07:46 PM
|
#7
|
LQ Newbie
Registered: Oct 2007
Posts: 7
Original Poster
Rep:
|
Thanks, will try it.
Thanks will try it.
|
|
|
01-07-2008, 07:49 PM
|
#8
|
Member
Registered: Aug 2007
Location: Michigan
Distribution: Gentoo, Arch
Posts: 33
Rep:
|
I'm a fan of pkill. Like pkill arecord. This way you can skip the ps -e so long as you know the process name already.
|
|
|
01-07-2008, 10:25 PM
|
#9
|
Senior Member
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537
Rep:
|
Does this always work on X or is this distro specific.
If its a skull and crossbones its xkill thats being run.
|
|
|
01-08-2008, 08:15 PM
|
#10
|
LQ Newbie
Registered: Oct 2007
Posts: 7
Original Poster
Rep:
|
ctr-alt-esc doesn't work, ctr-alt-backsp. does sometimes
Thanks for the answers. The ctr-alt-esc does not do anything, the ctr-alt-backspace does work sometime, not always, but it reboots the pc. When I use it the coursor does not turn to scall and crossbone. If it freezes most of the time have to use the power button to restart.
The PC is few years old compaq evo, p4, 1.5ghz, with only 256mb of ram.
It used to work well with dual boot windows xp pro and ubuntu 7.04. It does not have video card but I am not using desktop effects so should be no problem with that. Using it only to surf on the net.
I am running Ubuntu 7.10, but may try to go back to 7.4 and see how it works with that.
Thanks again.
|
|
|
01-08-2008, 09:02 PM
|
#11
|
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep: 
|
If it's a terminal application: Ctrl + Z to suspend, Ctrl + C to kill. If not, run ps ax in a terminal, locate the application that you need to kill, take note of its ID and then do sudo kill [ID_number]. There is also a panel applet that should be able to do this but I haven't verified whether it is any good.
Last edited by jay73; 01-08-2008 at 09:06 PM.
|
|
|
01-09-2008, 10:51 AM
|
#12
|
Member
Registered: Dec 2007
Location: ON CA
Distribution: Xubuntu 8.04; Xubuntu 6.06.2
Posts: 64
Rep:
|
Quote:
Originally Posted by jgag123
The ctr-alt-esc does not do anything
|
It should, but since it doesn't, modify your keyboard shortcuts to run xkill when you press Ctrl+Alt+Esc
|
|
|
01-09-2008, 06:00 PM
|
#13
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Rep:
|
Quote:
Originally Posted by jgag123
the ctr-alt-backspace does work sometime, not always, but it reboots the pc.
|
Are you sure it completely reboots the pc?, it should just restart x and take you back to the login screen, at least thats how it worked when I tried out 7.10 and 7.04
|
|
|
01-10-2008, 08:43 AM
|
#14
|
LQ Newbie
Registered: Aug 2007
Location: USA
Distribution: Slackware 12
Posts: 18
Rep:
|
ctrl-alt-esc is dangerous if used improperly. It can shutdown everything you need to get out, like your desktop and taskbar.
ctrl-Q shuts down the current window, and is a safer bet.
The most useful one (For me, as I use Slackware ^^) is ctrl-alt-backspace. It shuts down the X sever, but doesn't reboot. It does look a lot like rebooting with the screen blanking out, but thank goodness it isn't.
It's the closest you can get to ctrl-alt-del on linux without using your terminal.
|
|
|
01-10-2008, 08:58 AM
|
#15
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Quote:
ctrl-Q shuts down the current window, and is a safer bet.
|
Unless its a terminal.......<<EDIT: or firefox>>
Another great tip!!!
Last edited by pixellany; 01-10-2008 at 08:59 AM.
|
|
|
All times are GMT -5. The time now is 09:22 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
|
|