8

I posted this to the ubuntuforums, but got no answer there, so I'm trying here:

While going over the keyboard shortcuts (System> Preferences> Keyboard Shortcuts), I accidentally assigned the delete key to a shortcut. I backspaced and cancelled, but next time I pressed "delete" the key didn't work. I tried creating a new shortcut called Delete and this got me a weird pop up saying "Error while trying to run (Delete) which is linked to the key (Delete)". I removed the shortcut, but it's still assigned.

I deleted the custom shortcut, but to no avail. Any ideas? this drives me bonkers, as it's such a used key

Jorge Castro
  • 73,717

3 Answers3

6

Remove an unwanted keyboard shortcut

Open the dialogue in System -> Preferences -> Keyboard Shortcuts and select the entry you need to delete:

enter image description here

Once the entry is selected you can either enter a new shortcut, or in case you want to disable a shortcut for this action press Backspace (not Delete as this is a key that could be assigned as shortcut as well). You can close the window then.

Please reboot your system for disabling a shortcut to take effect

Takkat
  • 144,580
3

Another way is to go to the gconf-editor and edit the binding in /apps/metacity/global_keybindings/ or /desktop/gnome/keybindings keys.

arrange
  • 15,219
0

I'm not sure about this but after reading the man page for dpkg it makes sense. If you run this command it should return the keyboard short cuts to there default.

sudo dpkg -configure -a

Hope this solves your problem

Allan
  • 11,672