Friday, 28 November 2014

Re: System setting for changing modifier keys?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUeTw5AAoJEBJutWOnSwa/VcUQAKDcl7O6OeIJPuS48GbzLSqI
g+VlgIrKA405VWWIylFmasnMgWwzLRif+Z6AQF+enx1LmNnC7Z2BCG14ScL/XO8h
ZppYzphhgtEMH+RohB5iM9ZiHGCw4FgVVsz9y7G6gVlXTiLnzyqgvj/4lvxV4yTs
h9y3yj4kbtRwvQPEegY6RDWV3vKh9v/y/b/fHRDQs6rQalvF6SSbHHNqq0QLmITc
YT3hLEnS691obTkmX7l4pju+6WMoV4CnEUivly1yf9Blx2tiJ5JnUXNyE6E9GXc8
SdsK+OzFqH2/5BKtoTalGUhtoYlpFifYt27VyhP4JARqb6wcuOwc0piW3ao3zSc1
TC9YiQGXW555YRYVkAIHy5xOv76JS7ZDR//G+oiRiz5HDm+UU+kIpNyHHpnWMLIe
FKr3HKxw+2purz19XJy+CkKkMpbVOpVguvG8DHUYsgCZGATxsSL8vdSh0HKaeIVU
SY11C+f2yIZhQn65//hDZnrO3BrQeb3BCJCCfx9YyyxHJQHVm9cXY19eHz29sZZG
PPb6Z+bhAgwmrFLI3TyajLSM5UmfSxY8BMS4t0oZ/6G6yqukTkDLAuWKl4eZHvVv
EVs/mB+9sgvyQjReHWgFCCsFOQryWlUAGi/J+B034i90KivU06a3O4lNRMQ13u/x
A4NqE6O5Ic3wWTjs5Ehs
=Jk2f
-----END PGP SIGNATURE-----
On Nov 25, 2014, at 04:22 PM, Cory Johns wrote:

>gnome-tweak-tool seems to work somewhat well, although it has a few
>rough edges when run under Unity (transparent window making the labels
>hard to read, for instance), and doesn't support swapping Caps and
>Control (only Caps and Escape), but it does work and it gives you a
>fair number of remapping options.

Yes, g-t-t is a bit ugly but actually it *does* support swapping ctrl and
capslock albeit in a non-obvious way.

Go to Typing and set "Ctrl key position" to "At left of 'A'" and set "Caps
Lock key behavior" to "Make Caps Lock an additional Ctrl" (this might be
difficult to see because the label is longer than the menu button and the
runoff isn't easily visible.

>It would really be nice to have something like that available from the
>standard Keyboard or Text Entry settings.

Definitely.

As Chris points out in another followup, xmodmap isn't really a good place to
do this. I couldn't get it to run from my ~/.profile at the right time to
actually change the keybindings on login. I'm sure there's some funky lightdm
session ordering or somesuch that prevents this from working. I always had to
manually run the xmodmap command in a terminal after login until I played with
g-t-t.

Cheers,
-Barry