Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I find which command is bound to a give keyboard shortcut? I remember playing with my keyboard shortcuts recently in different places: System/Preferences/Keyboard Shortcuts, "gnome-keyboard-properties" and Compiz. Is there a central place where all those shortcuts are kept or do I have to remember all the places where I set a keyboard shortcut?

share|improve this question

No, there's no central place. Any application can grab certain keys and use them as shortcuts, and it's up to that application to choose a configuration method. GNOME applications typically use gconf. Compiz and Metacity even share the gconf keys -- those are the shortcuts you can see in gnome-keybinding-properties.

share|improve this answer

The best place I've found is to use gconf. Hit F2 for a run box and type in gconf-editor, then browse to apps > metacity > global_keybindings. You can also set up custom commands in the keybinding_commands section and call them up there. Example: For keybinding command command_1 I put in "gnome-screensaver-command --activate" without the quotes. Then for global keybinding run_command_1 I put in "s" also without quotes. Whenever I use that key command I activate the screensaver.

share|improve this answer
Thanks for the suggestion, but it seems no more than a less friendly interface for "gnome-keybinding-properties". – Olivier Lalonde Sep 26 '10 at 18:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.