How Can I Create Custom Keyboard Shortcut Keys In Ubuntu For Free

Configuring a personalized shortcut in Ubuntu

One of the best things about using Ubuntu which many users often overlook is that you can create your own shortcuts for practically any action that the system has to provide. This makes for a highly personalized user experience in which you set the environment and conditions for usage.

In this article, we will discuss (as a sample illustration) how to create a shortcut for the graphical kill (xkill) action in Ubuntu.

  1. Open the terminal by navigating to Applications -> Accessories -> Terminal from the menu bar.
  2. Type in gconf-editor and press Enter.
  3. The Configuration Editor interface shows up. On the left-hand side panel, navigate to the following branch of the tree: apps -> metacity -> keybinding_commands.
  4. When you click on keybinding_commands, the right-hand panel shows a list of commands (named command_1, command_2, etc.) with their corresponding description/documentation in the space below.
  5. Right-click on command_1 – this controls the xkill action – and select edit key.
  6. A small pop-up asks you to enter the new value for the key. Enter the new value as <Alt>k – this will mean that the shortcut for this action from now on is Alt + k.
  7. Click on OK.
  8. Now go to the global_keybindings branch of the tree on the left-hand panel. [You will see it right above the keybinding_commands branch.]
  9. In the list of commands on the right side, right-click on the name run_command_1, and select the edit key option.
  10. Again, enter the same value as in Step 6 – i.e. <Alt>k – and click on OK.
  11. You will see that the value for the option run_command_1 in the global_keybindings is now changed to <Alt>k.
  12. Close the Configuration Editor.

Your new shortcut for the xkill operation is now in place. You can try this by opening a new program and the using the shortcut that you had set – Alt + k.

Keyboard Shortcuts Are Not Working On My System/Laptop

Just got done with a fresh re-install of windows on my laptop, unexpected crash forced me to get into this, but luckily the back up made my life easier. However, after installing all the drivers, I found that my keyboard shortcuts were still now working.

I’m a major fan of keyboard shortcuts, some of my previous posts prove this 🙂 ..

1> Keyboard shortcuts.

2> Keyboard shortcuts for Vista.

The short cut keys on my system are normally a combination of the function key [FN] + any other valid key like let say [hibernate].

The media controls, volume controls none of they seemed to work. Actually it’s quite easy to fix this, for any one who’s looking for a solution.

Install all the necessary drivers and make sure “HID Input service” in the services list is set to automatically run at startup.

‘Services List’ can launched from:

Start–>Settings–>Control Panel–>Administrative Tools–> Services

or also by

This should fix the problem.

Related posts:

1> qweruiop not working

2> asdfjkl; keys not working.