alols / xcape

Linux utility to configure modifier keys to act as other keys when pressed and released on their own.
GNU General Public License v3.0
2.1k stars 115 forks source link

Stuck Modifier #18

Closed baskerville closed 10 years ago

baskerville commented 11 years ago

I start xcape with:

xcape -e 'Control_R=Return'

My .Xmodmaprc is:

clear Lock
clear Control

keycode 66 = Control_L
keycode 37 = Multi_key Caps_Lock
keycode 36 = Control_R
keycode 255 = Return

add Control = Control_L Control_R

And while xcape was running, the control modifier got stuck (i.e. pressing 'a' was equivalent to pressing 'Ctrl-a').

Killing the xcape process restored the keyboard to its sane state.

joetw commented 11 years ago

Just a quick idea: Could you try

keycode any = Return

instead of

keycode 255 = Return
baskerville commented 11 years ago

I've applied the suggested change.

We'll see if I can reproduce the issue.

alols commented 10 years ago

Closing because of lack of activity. Please reopen if problem persists.