Gnome Keyboard Shortcuts – Mint in Particular
Last night Linc posed a question on the show about how to get his Super (“Windows”) Key to fire up a terminal when he pressed it. He had done this easily in other distros but was having a problem with Mint 8. No matter what he tried through the standard tools it just was not working. Now I am not sure what all standard tools he tried, but I have run into this problem before. I’m not a big Gnome user but I have had to solve similar issues via the gconf-editor tool and here is how I did it.
First I made sure I knew the name of the key by using xev. Sure enough, in Mint as it is in just about every other distro, the key name is Super_L. Sometimes, it may be Mod4.
Second, I fired up gconf-editor and under apps found metacity. That is the “window manager” for gnome (or is it shell now? I suspect that will be replaced soon by gnome-shell). I opened that up and went to keybinding_commands. Since Linc wanted to run a terminal I figured we would have to set a terminal command to one of the run_commands. So for run_command_1 we set gnome-terminal.
Third, I switched from the keybinding_commands to global_keybindings which is right above the former and found the key assignment for run_command_1. The values I set for that was Super_L not between < and > like you would do for
That was it, now Super_L was mapped to run gnome-terminal.
Is there an easier way to do this? I don’t know. Tell us, because Linc could not find it.
