making "gnome-system-monitor" a custom shortcut "ctrl+alt+del" like windows "Task Manager" isn't working

I went to "System Settings", "keyboard", "shortcuts", "custom shortcuts", I added a custom shortcut and called it "task manager" in the "command line:" I typed "gnome-system-monitor", and I gave it the command, "ctrl+alt+del", I apply that and close it. Then I try it and get NOTHING...... why??


Solution 1:

In fact, you cannot use Ctrl+Alt+Del as your shortcut, because it is taken by a logout message, as I just checked:

logout dialog

In order to enable it, you have to go to the keyboard shortcuts you went before, and disable that shortcut or give it another key binding:

keyboard shortcut

Then, you will be able to add your custom shortcut. In order for this to work for sure, you have to completely disable the other shortcut:

disabling the shortcut

In order to do this, select the shortcut and press the Backspace button.

Now, you have to go to the Custom Shortcuts section and add a new shortcut, containing the following:

new shortcut creation

Name: Whatever relevant

Command: gnome-system-monitor

I did this and it works fine in Ubuntu 12.04!

Solution 2:

In the command-line(space for the command) you have to enter

/usr/bin/gnome-system-monitor

How to find the command-

In linux to find a command to exicute a particular program you have to enter in the terminal the following command-

whereis

For e.g for the above example you will get a screen like this when you put

whereis gnome-system-monitor

whereis

the 1st line "/usr/bin/programname" is the command you have to put/use/execute.

then add the key-binding(use something else like alt+cltr+menu.the one you used is assigned to something else) and save.It will work. :)

How to add in settings-

Open System Settings > Keyboard >Shortcuts tab > custom shortcuts >"+" button > in the name "System Monitor" or anything you want >in the Command space "/usr/bin/gnome-system-monitor" (all small case) > apply.

key bindimg

then click on the space where "Disabled" is writen and press the kay combination(other than alt+cltr+del.it is assigned to log out) for e.g as seen in picture, i had assigned alt+cltr+menu(the right-click menu button on the right of space bar)

if you still want to assign alt+cltr+del as the key binding,change the one for log out in the "system" option there and then assign it to this.