
On Wed, Jan 29, 2014 at 01:23:41PM +1300, Mark H. Jones wrote:
To do this via Gnome: open the system settings -> Keyboard -> Layout Settings -> Options -> Miscellaneous compatibility options and tick "Both Shift-Keys together toggle Caps Lock"
If anyone knows how to achieve this via command line, without gnome-settings, please share.
I don't know about this particular Gnome feature, however the readership might be interested to know that on a Debian system (and presumably its derivatives) the re-mapping of the meta-keys can be placed in the file /etc/default/keyboard and you get the re-mappings not only in the X desktop but also on the virtual consoles. I had in mine the following: XKBOPTIONS="ctrl:swapcaps" to get the control key returned to its original place (i.e. before IBM confused us old-fellows by shifting it to a new place on the AT keyboard). But after the posting by Lawrence I am now going to try: XKBOPTIONS="ctrl:swapcaps caps:shift_nocancel compose:rctrl" so that the control key appears in its correct position left of the A key, The left control is now a caps-lock that actually works as a caps-lock and not as a "shift-invert" that most OSes seem to implement nowadays, and right-ctrl should give me the compose key. Cheers Michael