You are not logged in.
I use xmodmap to switch Caps Lock ans Esc, but in QtCreator, I still have to hit the actual escape button to trigger that key, for example I set the editor to use Vim-style editing. If I hit Caps Lock, nothing happens. If I hit escape, it will exist whatever mode the editor is in. It will also toggle Caps Lock because the rest of the DE knows that I have them swapped.
Offline
try
setxkbmap -option caps:swapescapeIf it works add it to your .xinitrc/.xprofile/whatever.
Another option is adding this line to /etc/X11/xorg.conf.d/10-keyboard.conf:
Option "XkbOptions" "caps:swapescape"Further reading: https://wiki.archlinux.org/index.php/Ke … on_in_Xorg
Offline