
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.
Actually, it is documented in xkeyboard-config(7). The following should work: setxkbmap -options shift:both_capslock The Colemak layout can be obtained with: setxkbmap -layout 'us(colemak)' I would put the above into /etc/default/keyboard (if on a Debian like system) as XKBLAYOUT="us" XKBVARIANT="colemak" XKBOPTIONS="shift:both_capslock" (untested but that is what I gather from the man file). Cheers Michael.