[email protected] writes: > I want to swap the Control key with Caps Lock key in Trisquel 8.0 > mini. I followed this Emacs wiki page > (https://www.emacswiki.org/emacs/MovingTheCtrlKey). According to it > inside /etc/defaults/keyboards XKBOPTIONS="ctrl:swapcaps" and ran the > following dpkg-reconfigure command as mentioned. But it didn't work. I > also tried to logout/login and reboot but it didn't work either. Do > you have any solution? >
You can use ~/.Xmodmap. For instance, my ~/.Xmodmap: """ remove Lock = Caps_Lock clear lock add Mod4 = Caps_Lock keysym Caps_Lock = Super_L Caps_Lock """ I use that because I run Emacs inside awesomewm. -- "Cut your own wood and it will warm you twice"
