LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ctr-alt-delete windows = ??? ubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/ctr-alt-delete-windows-%3D-ubuntu-611838/)

jgag123 01-07-2008 03:57 PM

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

pixellany 01-07-2008 04:00 PM

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.

exvor 01-07-2008 04:28 PM

If its a Xwindows app you can use xkill

jgag123 01-07-2008 04:45 PM

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

hex1a4 01-07-2008 06:03 PM

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.

AceofSpades19 01-07-2008 06:13 PM

You could also use Ctrl-Alt-Backspace which kills x windows

jgag123 01-07-2008 07:46 PM

Thanks, will try it.
 
Thanks will try it.

violagirl23 01-07-2008 07:49 PM

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.

exvor 01-07-2008 10:25 PM

Quote:

Ctrl+Alt+Esc

Does this always work on X or is this distro specific.


If its a skull and crossbones its xkill thats being run.

jgag123 01-08-2008 08:15 PM

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.

jay73 01-08-2008 09:02 PM

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.

hex1a4 01-09-2008 10:51 AM

Quote:

Originally Posted by jgag123 (Post 3016136)
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

AceofSpades19 01-09-2008 06:00 PM

Quote:

Originally Posted by jgag123 (Post 3016136)
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

Laurana 01-10-2008 08:43 AM

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.

pixellany 01-10-2008 08:58 AM

Quote:

ctrl-Q shuts down the current window, and is a safer bet.
Unless its a terminal.......<<EDIT: or firefox>>

Another great tip!!!


All times are GMT -5. The time now is 03:16 PM.