You are not logged in.

#1 2014-01-13 16:39:40

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

QtCreator doesn't understand that I have Caps Lock and Esc swapped...

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

#2 2014-01-13 16:58:59

silenc3r
Member
From: Poland
Registered: 2009-08-29
Posts: 149

Re: QtCreator doesn't understand that I have Caps Lock and Esc swapped...

try

setxkbmap -option caps:swapescape

If 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

Board footer

Powered by FluxBB