keybinding issues with xmodmap across synergy

Posted by Rick on Ask Ubuntu See other posts from Ask Ubuntu or by Rick
Published on 2011-11-16T13:05:38Z Indexed on 2011/11/18 2:03 UTC
Read the original article Hit count: 486

Filed under:
|
|
|

I've got two systems I use across Synergy. On the main one I have a normal keyboard that I swap caps lock and ctrl for. So I do:

xmodmap -e 'keycode 66 = Control_L'
xmodmap -e 'clear lock'
xmodmap -e 'add Control = Control_L'

Where keycode 66 is my caps lock key.

The trouble is that I can't get this key to act as a control key on the other machine I connect to with synergy.

The strange thing is that if I plug a keyboard into the machine, and run xev, the control key there is keycode 37. When I then hit my modified control key (keycode 66 on the master) it's registering as keycode 37 on the remote machine. So according to xev, it should be picking it up as a control keypress.

Anyone have any hints on if Synergy is doing something overly helpful for me?

© Ask Ubuntu or respective owner

Related posts about 11.10

Related posts about key-bindings