Zolved community solution Createarticle_iconnew articleEditarticle_iconedit article

How to create custom shortcut keys in Ubuntu.

Follow the advice in this article to create a custom keyboard shortcut to run a software.

Let's create a custom keyboard shortcut to run a software. For ex: We want to start xkill (graphical kill) when you press "Alt + a" short cut.

To do this follow these steps:

  1. Open terminal and type gconf-editor



  2. On the left pane in the Configuration Editor go to apps -> metacity -> keybinding_commands.

    Highlight command_1



  3. Right click on command_1 and choose edit key.

    Type xkill in value field as shown.

    Click OK.




  4. In global_keybindings, highlight run_command_1 as shown and right click on it.




  5. Select Edit Key.

    Type <Alt>a instead of disabled in value field as shown.

    Click OK.




    A screen will then appear as the one below.



  6. Now close the gconf editor.

To test it, click Alt + a and you should see a skeletom icon.

Place this icon on any GUI window and this gets closed.

copyright © 2007, IPTouch, Inc.