You are not logged in.
After the last arch update, my language switching key broke.
The key I had was assigned to the key caps lock like so:
localectl --no-convert set-x11-keymap gb,ara pc105 ,qwerty_digits grp: caps_toggle But it looks like the line above no longer works anymore.
I got this line from this issue:
https://bbs.archlinux.org/viewtopic.php?id=271578
Last edited by light9876 (2023-10-23 22:52:47)
Offline
There's a stray blank between "grp:" and "caps_toggle".
Offline
Thanks.
localectl --no-convert set-x11-keymap gb,ara pc105,qwerty_digits grp:caps_toggleRuns fine. UPDATE: However, using this instruction, I used to be able to switch language using caps lock key. But pressing the caps lock key now switches to capital letters..
Last edited by light9876 (2023-10-22 12:06:39)
Offline
post the output of
setxkbmap -print -queryand the contents of /etc/X11/xorg.conf.d/10-input.conf (not entirely sure about the exact filename)
Offline
setxkbmap -print -queryProduces:
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+gb+inet(evdev)" };
xkb_geometry { include "pc(pc104)" };
};
rules: evdev
model: pc105,qwerty_digits
layout: gbThe only file in this directory is:
cat /etc/X11/xorg.conf.d/00-keyboard.confIt contains:
# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# instruct systemd-localed to update it.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "gb,ara"
Option "XkbModel" "pc105,qwerty_digits"
Option "XkbVariant" "grp:caps_toggle"
EndSectionOffline
D'ohh
Because you removed the blank between "pc105 ,qwerty_digits"
You turned the variant into a bogus model and option into a bogus variant.
localectl is really hyper-fragile at this and you've to be ultra-precise w/ the blanks.
I'd always recomment to just write the file manually because of this.
Offline
Thanks very much seth! Problem solved!
Offline