You are not logged in.
Hello. I am trying to swap caps lock and control on my keyboard. I am running xfce4. In the past I have used xmodmap for this with no problems. Since my most recent update, it seems that while I can swap the keys with xmodmap, they will swap back within a few minutes. No method that I have yet attempted has been able to swap the keys for longer than a couple minutes. I have tried:
Xmodmap: When I run it, it works. However, the keys revert very shortly.
Swapping KEYMAP=custom in /etc/vconsole.conf: This works for my standard ttys, but as soon as I start xfce4 it gets blown away by the xfce keymaps.
Running setxkbmap within xfce: this works, but then reverts again the same as xmodmap. Also, I cannot seem to get this to run on xfce4 startup. I added it as a startup script but it does not take effect.
I am wondering if anyone has any idea where to start diagnosing this issue? I haven't dealt with anything like this before so I'm not sure which systems are implicated.
Thanks.
Offline
I have the same problem since today, which coincides with the use of the xfce4-xkb-plugin since today, which goes to suggest that this is related.
I used to swap keys at startup of xfce by running /usr/bin/setxkbmap -option "ctrl:swapcaps", but now it reverts the keys. Also when I run /usr/bin/setxkbmap -option "ctrl:swapcaps" again and again.
Offline
Thanks to this guy http://techblog.sagar.se/blog/2011/08/2 … yout-file/ I found a solution. I now swap ctrl and caps in my keyboard layout file, which actually feels like the right thing to do. Given that other people can now choose the layout for caps lock of their preference.
Offline
I'm having something similar, though I don't use XFCE. I'm on plain X with Stumpwm as a window manager. I notice that options such as "ctrl:nocaps" occasionally revert themselves (only very occasionally, with no discernable pattern so far). Also, running "setxkbmap us -variant colemak" in the terminal only works while the terminal window is still focused. Focusing any other window reverts to QWERTY immediately.
All this seems to have started after a big xorg update last week.
Offline