I've got a classic M-series IBM keyboard that I want to put to a use. However, it does not have a Windows (a.k.a Super) key, that I use for many windows-manager-related shortcuts. On top of it, I use Emacs, so many Alt or Ctrl shortcuts are already taken. I also can't use Caps Lock as a modifier, since that it is taken for switching between languages.
What keyboard shortcuts would you recommend me for the windows manager (Gnome w. Emerald), taking into account these limitations (no Super key, can't remap Caps, and must not collide with frequent Emacs shortcuts)?
Best Answer
Do you already use right Alt?
You could map it to the Windows key in Gnome settings:
Or you could map Caps Lock to the Windows key, and choose another shortcut for changing languages.
In the same control panel:
CapsLock key behaviour
Make CapsLock an additional Super
(or Make CapsLock an additional Hyper)
and then:
Common choices include:
but being an
Emacs
user, I would suggest theBoth Ctrl keys together
option.If those options are insufficient, you will need to use
xmodmap
.You could map Right Control to Windows at the shell like this:
Depending on your system, you can probably also put the equivalent settings in
.Xmodmap
, e.g..Xmodmap
If you'd rather use
xmodmap
than the Gnome control panel, you can changeControl_R
to something else, for instance right Alt is eitherAlt_R
orISO_Level3_Shift
, depending on your keyboard settings, e.g.works for me.