Control+Alt+Delete > End Task

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read this

Control+Alt+Delete > End Task

Postby mstpierre on Mon Feb 26, 2007 9:19 pm

I've been trying out the Linux Mint live disc for a couple of days now, and I like it a lot! I'm hoping to do a dual boot on my laptop soon.

I installed VLC Media Player and had it stream a file off of my home theater pc. It worked fine 'til I started messing around with some settings, then it froze up. I had the player and preferences windows open and they wouldn't respond to anything besides minimizing/maximizing.

In Windows, I could Control+Alt+Delete, then "End Task" an unresponsive program and that would (usually) take care of things.

So how would I "End Task" a program in Linux Mint?

Thank you!
User avatar
mstpierre
Level 1
Level 1
 
Posts: 4
Joined: Mon Feb 26, 2007 8:51 pm
Location: Washington, DC

Linux Mint is funded by ads and donations.
 

Postby metapy on Mon Feb 26, 2007 10:11 pm

You can end tasks from the system monitor.
Go to the mintmenu and then Administration and finally System Monitor
or
Right click on the taskbar and Add to panel... System Monitor

Once the system monitor is open click the Processes tab and then right click on the process you wish to end or kill.

End process will try and gracefully end the process, kill is for when you cannot end the task. If you encounter a problem where you are unable to even get to the system monitor try this.

Press CTRL + ALT + F1 this will bring you to an alternate command prompt, use you normal login here. Once logged in type:
pgrep "process name"
where "process name" is the program you wish to end. For example if firefox locked up type:
pgrep firefox
This will return a process ID, to end that process type:
kill 12345
where 12345 is the number returned from the previous command.

If you don't know the name of the process you are looking for, try this instead:
ps aux | more
(the | is not the letter L or the letter I or the number 1, but the "pipe" command it is located above on the same key as "\" on a US keyboard.
You can browse through this list and then kill the process ID as in the previous example.

When you are done with the command line, press CTRL + ALT + F7 to return to you normal login.
metapy
Level 1
Level 1
 
Posts: 27
Joined: Fri Feb 23, 2007 9:01 pm

Postby mstpierre on Mon Feb 26, 2007 10:22 pm

Nice. Thank you metapy, that did it!
User avatar
mstpierre
Level 1
Level 1
 
Posts: 4
Joined: Mon Feb 26, 2007 8:51 pm
Location: Washington, DC

Postby zephyrus54 on Tue Feb 27, 2007 1:58 am

You can also set CTRL-ALT-DELETE to launch the system monitor by using Automatix2 to install this functionality.

http://www.getautomatix.com/
zephyrus54
Level 2
Level 2
 
Posts: 51
Joined: Fri Jan 26, 2007 8:28 pm
Location: Chicago, IL

Postby metapy on Tue Feb 27, 2007 2:11 am

I would NOT recommend Automatix for this (or at all from all the grief on the intarweb)

All you need is two commands run from your friendly command prompt:
Code: Select all
gconftool-2 -t str --set /apps/metacity/global_keybindings/run_command_9 "<Control><Alt>Delete"
gconftool-2 -t str --set /apps/metacity/keybinding_commands/command_9 "gnome-system-monitor"


If you later want to remove ctrl+alt+del from bringing up the system control panel
Code: Select all
gconftool-2 -t --unset /apps/metacity/global_keybindings/run_command_9 "<Control><Alt>Delete"


You will see the follow message after that last command, it is normal.
Value type is only relevant when setting a value
metapy
Level 1
Level 1
 
Posts: 27
Joined: Fri Feb 23, 2007 9:01 pm

Re: Control+Alt+Delete > End Task

Postby scorp123 on Tue Feb 27, 2007 7:10 am

mstpierre wrote:So how would I "End Task" a program in Linux Mint?
Bring up a "Run ..." dialogue as suggested by the other posters in this thread, enter this program name: xkill

Your mouse cursor will turn into a skull with crossbones, i.e. it will look like a pirate flag.

Click on the program you wish to kill .... and pooooof!!! it's gone :wink:
User avatar
scorp123
Level 8
Level 8
 
Posts: 2287
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland


Return to Other topics

Who is online

Users browsing this forum: No registered users and 3 guests