Create custom keyboard shortcuts in Linux
Most (if not all) users are aware of the ability to create keyboard shortcuts using the “Keyboard Shortcuts” menu in “Preferences.” However, most users are unaware that you can add any custom command to a keyboard shortcut in GNOME using gconf-editor. I will walk you through this process.
1. Launch gconf-editor by typing in a terminal gconf-editor.
2. In gconf-editor choose apps >> metacity >> global_keybindings.
3. In global_keybindings assign keyboard shortcuts (shown below).

4. Select keybinding_commands (right below global_keybindings in the metacity menu).
5. In keybinding_commands assign the custom commands you would like to launch with the keyboard shortcuts you created in step three. This is shown below.

Now whenever you type the keyboard shortcut you’ve created, your custom command will be launched.
Read more: Productivity, Linux
Trackbacks & Pings
Comments
-
I am new here, just saying hello
-
Nice site!
-
Hi.
Nice site design. Okay, I need your advice.
So, I wanna make personal site, and I am looking for site template.
Can you suggest some online catalog or other resource where I can find many site templates?It would be better if it will be free:)
I think many of us have personal sites, do you design it yourself?Thx, Bill.
-
@hillbilly I addressed your questions via email. Please let me know if you did not receive the email or if you have any other questions.
-
Hello guys! I have some questions. I mean need some help.
Where i can read more about this problema?
Please, don’t derect me to http://google.com i know about it.
Please derect me with some links.
thanks!
UCAKK^^ -
@ucakkurzxg: Sure, we’ll give you a hand. What are your questions?
-
Who can help me with .httpaccess ?
where i can fined full information about .httpaccess file syntaxis? -
thanks much, bro
-
Thanks Kyle! Great article!
-
Hi,
Is this blog still active?
Two years later I have the following question:
Can you configure Gnome (or X) so that a different keyboard shortcut can be used instead of Ctrl-C for copying the selection into the clipboard? I couldn’t find the option to do that in System - Preferences - Keyboard Shortcuts, or in gconf-editor, and Google has not helped much. -
Yes, this blog is still active and we post when we can, but I admit we’ve been super busy lately. IAE, Kyle, who wrote this particular article and founded the blog hasn’t been around for a while and i don’t have any answers for you off the top of my head. Maybe somebody else will chip in…
-
The title “Create custom keyboard shortcuts in Linux” should be “Create custom keyboard shortcuts in Gnome”.. Ubuntu and Gnome != Linux (although they are both great!)
-
my God, i thought you were going to chip in with some decisive insght at the end there, not leave it with ‘we leave it to you to decide’.

Launch a privacy screen saver in GNOME at <> CodeJacked </> on 28 Dec 2006 at 10:48 am
[…] A major annoyance when I am traveling, or at the workplace is when people are snooping and looking over my shoulder at my laptop. Rather than slamming the lid of my laptop, I thought it would be nice to setup a keyboard shortcut that would launch my screen saver and hide my work. Previously I posted about how to create keyboard shortcuts to launch custom commands. Today we will add a keyboard shortcut that will launch the GNOME screen saver. […]
3D-Desktop: 3D workspace switcher for Linux at Webby’s World on 01 Aug 2007 at 11:43 am
[…] Productivity wise, you’d be best off mapping the command ‘3ddesk’ to a keyboard shortcut which can be done through the steps included at this page (obviously editing the command). […]