You are not logged in.
Hi everyone, been using Arch for almost 3 years.
I need to remap ctrl, alt, cmd key on my MBP with Arch installed.
Following the archwiki, I first successfully swapped ctrl and caps using
localectl set-x11-keymap "" "" "" ctrl:swapcapsThen I want to revert the change by typing
localectl set-x11-keymap "" "" "" ""But the swap persists after reboot and /etc/X11/xorg.conf.d/ has nothing in it.
--
Also when I check keycodes using xev, even though it shows "CTRL_L" when I'm typing the left ctrl, the capslock get changed.
--
Thanks in advance for any feedback!
Last edited by rasko (2020-02-16 06:17:38)
Offline
Aren't you supposed to create a file named 00-keyboard.conf in /etc/X11/xorg.cong.d/ ? That's how mine looks like;
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "tr"
Option "XkbModel" "pc104"
Option "XkbVariant" "f"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSectionOffline
Hi @eronis55, Thanks for the quick reply!
The settings in xorg.conf.d is not working sadly, no matter what I set it with localectl set-x11-keymap is not changing the behaviour of my swapped ctrl and capslock
And xev is not working as well.
But another post help me solve this by modify in the gnome-tweak-tools <https://askubuntu.com/questions/33774/h … -ctrl-keys>
Don't know how gnome-tweak-tools did that tho. I'm quite curious.
Thanks anyway.
Offline