In 10.04, I had a lot of keyboard shortcuts defined using Super/Mod4 and one single other key,
- Super+O ran Opera
- Super+W opened Nautilus pointing to my Work folder, etc.
In 11.04, these do not seem to work -- only Super+R works to run the terminal, and Super+Shift+W successfully runs Nautilus.
Is there some way I can get these to function again?
Adding them in Keyboard Shortcuts does not work, and neither does adding commands in CompizConfig Settings Manager.
This happens because in Natty Super/Mod4 is a shortcut to the Unity panel. You can change that in Compiz.
Install the compizconfig-settings-manager package.
Hit Alt+F2, type
about:config
and hit Enter to open the Unity configuration.Change the shortcut for Key to show the launcher as you like to free your Super key:
In this example I've changed from Super to Super + L
Now your mod key is free to use as you like.
To do this without installing anything and without having to navigate the unfamiliar menus.
gnome-terminal
Entergconftool-2 --set --type string /apps/compiz-1/plugins/unityshell/screen0/options/show_launcher '<Super>a'
EnterChange the
a
after<Super>
to whichever key you prefer.Note that
s
andw
are already taken, and I wouldn't recommend usingl
because that's often used for lock screen.Simpler from here: In System Settings / Keyboard / Typing tab / Layout Settings link (at the bottom) / Layouts tab / Options button / "Alt/Win key behaviour", choose Meta is mapped to Left Win key.