Hello there, was wondering if there is a way to remap caps to escape ? I tried the methods I saw online and none of them did the job. Is it because the DE is diferent ? I’m on ubuntu budgie 18.04
Hi,
what methods have you tried? Its better to say what you have tried rather than getting back responses of stuff you’ve already tested. Thx.
Sorry , forgot to post the forum from which I reffered to: https://askubuntu.com/questions/363346/how-to-permanently-switch-caps-lock-and-esc
Try to check this out: https://wiki.archlinux.org/index.php/Xmodmap
I was able to swap caps lock and left ctrl using:
setxkbmap -option ctrl:swapcaps
However the usual method of updating /etc/default/keyboard by adding XKBOPTIONS="ctrl:swapcaps" did not work, so I had to add the above command to Startup Applications.
This could be adapted to perform whatever key remappings xkb supports, e.g. setxkbmap -option caps:swapescape as OP requested.
I suggest avoiding xmodmap as it can cause quirky issues in certain apps and is generally not as reliable.
(I know this is a necropost, but it comes up high in google search results and wanted to add a solution.)