I have two keyboards. One is built-in to my laptop, the other is an external keyboard I use when docked. They have slightly different key mappings for things like multimedia keys.
For that reason, I'd like to make multiple assignments to a handful of keyboard shortcuts. My external keyboard doesn't have a Windows button, so I'd like to launch Unity Dash (for example) using either a Windows/logo button, or to a specific keybinding.
Is there any way to make multiple assignments this way in Gnome?
You can use xdotool to bind a shortcut to another shortcut:
1) Install xdotool.
2) Press Alt+F2 and paste
gnome-control-center keyboard
.3) Go to the "Shortcuts" tab and then to "Custom shortcuts".
4) Press at "+" to add a new shortcut:
5) Give it a name and at the command you paste something like this:
gnome-terminal --geometry=0x0 -e "bash -c \"sleep .1 && xdotool keydown --clearmodifiers Super && xdotool keyup Super ; exit; exec bash\""
6) Press at "Disabled" and then press the key combination you want.
Enjoy ;-)