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?

link|improve this question

68% accept rate
feedback

2 Answers

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.

link|improve this answer
feedback

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.

link|improve this answer
2  
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
feedback

Your Answer

 
or
required, but never shown

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