You are not logged in.
I use an external keyboard to my laptop and each time I plug it off and plug it in, the keyboard layout doesn't work.
Is there a way to repair it?
Here the output
$ setxkbmap -print -verbose 10
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules: evdev
model: pc105
layout: us,el
options: grp:lwin_toggle
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwerty)
types: complete
compat: complete
symbols: pc+us+gr:2+inet(evdev)+group(lwin_toggle)
geometry: pc(pc105)
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+gr:2+inet(evdev)+group(lwin_toggle)" };
xkb_geometry { include "pc(pc105)" };
};Solution
As written below, create a configuration file in
/etc/X11/xorg.conf.d/00-keyboard.confaccording to your system setting, and reboot to make take affect.
Thank you V1del
Last edited by Marvix (2023-06-14 11:51:12)
Offline
Expected, do your configuration in a xorg config file so that it gets applied each time the device appears: https://wiki.archlinux.org/title/Xorg/K … tion_files
Also check these xorg configs, and make sure you do not have some old config flying around trying to use the evdev xorg driver instead of libinput if you don't have xf86-input-evdev installed anymore.
Last edited by V1del (2023-04-20 16:41:15)
Offline