Tuesday, September 11, 2007

How to assign hot key to Ubuntu?


1. Press Alt-F2 to open the Run application menu bar. Type gconf-editor and press Run button.

2. The Configuration Editor will show up. Go to /apps/metacity/keybinding_commands key (similar to Windows' registry) and double-click the unused name key, for example command_1. It is usually String type to accept command string. Input the name of the executable or command in the Value text box. For example, in the screenshot, I typed Konsole for the KDE terminal console executable.


3. Then go to
/apps/metacity/global_keybindings as shown in the screenshot below. Find and double-click the binding key associated to your command key in step #2. For example, run_command_1. Assign a shortcut key by typing it to the Value text box. This will be your shortcut whenever you want to run the command/executable in step #2. In my example, I chose K to open a KDE console terminal. You may choose your own preferred short cut combination, like combination of , and a letter. Click OK's and close the Configuration Editor. You may now try your shortcut key!

4.You can add more shortcut key for all your frequently used programs.










No comments: