You are not logged in.
I've experienced this on both cinnamon and xfce. On cinnamon I used its builtin option to swap the keys, while on xfce I run the 'setxkbmap' command to do so. However, when I resume the computer from suspension, sometimes cinnamon lose the swapped keys. I was fed up with it, so went back to xfce and the same happens. I've no idea where to look for the cause of the problem. Any hints?
Last edited by tfcata (2018-05-23 17:20:10)
Offline
The usb port will suspend, the keyboard detach, re-attach on resume and get re-initialized, ie. you're loosing all runtime changes over this incident.
/etc/X11/xorg.conf.d/11-keyboard.conf
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
# maybe also MatchProduct "<check xinput for the product>"
Option "XkbOptions" "terminate:ctrl_alt_bksp,caps:swapescape" # this will also enable zapping as syntax demo
# more options
EndSection
Online
Oh, thanks. That does the trick.
Offline