View previous topic :: View next topic |
Author |
Message |
doalwa Tux's lil' helper


Joined: 03 Mar 2003 Posts: 142 Location: Old Europe
|
Posted: Fri Jul 02, 2021 7:32 pm Post subject: X keyboard layout switched to english, cant change it back |
|
|
Hey everybody,
I left my trusty old Thinkpad X200 unattended for a couple of months and finally decided it was due for another world update.
Everthing went fine, except for the fact that my keyboard layout under X switched from german to english.
As far as I see, all corresponding config files are untouched.
This is my /etc/X11/xorg.conf.d/30-keyboard.conf:
Code: |
Section "InputClass"
Identifier "keyboard-all"
Driver "evdev"
Option "XkbLayout" "de"
Option "XkbModel" "pc105"
Option "XkbRules" "xorg"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
Option "XkbVariant" ",qwerty"
MatchIsKeyboard "on"
EndSection
|
This is in my /usr/share/sddm/scripts/Xsetup
Code: |
#!/bin/sh
# Xsetup - run as root before the login dialog appears
setxkbdmap de
|
Trying to run setxkdbmap manually under KDE simply results in
Code: |
thinkpadx200 /home/dominik # setxkbmap -query
Couldn't find rules file (xorg)
|
Seems like there is something wrong with setxkdbmap then?
Any ideas, anyone? _________________ Keepin' the Funk alive since 1983! |
|
Back to top |
|
 |
mike155 Advocate

Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Fri Jul 02, 2021 7:46 pm Post subject: |
|
|
A wild guess:
Is your machine still configured for "evdev". Or are parts of your your machine now configured für libinput?
Quote: | libinput is an input device driver for Wayland compositors and X.org window system. It is Gentoo Linux's default input device driver. |
|
|
Back to top |
|
 |
doalwa Tux's lil' helper


Joined: 03 Mar 2003 Posts: 142 Location: Old Europe
|
Posted: Fri Jul 02, 2021 8:08 pm Post subject: |
|
|
mike155 wrote: | A wild guess:
Is your machine still configured for "evdev". Or are parts of your your machine now configured für libinput?
Quote: | libinput is an input device driver for Wayland compositors and X.org window system. It is Gentoo Linux's default input device driver. |
|
It could have something to do with that.
I changed
to
alas, it didnt change anthing.
x11-drivers/xf86-input-evdev also isnt installed anymore, so I am not sure how the driver even still got loaded in the first place. _________________ Keepin' the Funk alive since 1983! |
|
Back to top |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 5911 Location: Bavaria
|
Posted: Fri Jul 02, 2021 9:07 pm Post subject: |
|
|
I am using a german keyboard also and when we had the change from evdev to libinput I did:
1. Copying 40-libinput.conf into /etc/X11/xorg.conf.d
2. and adding: " Option "xkb_layout" "de"
Here is my complete 40-libinput.conf:
Code: | # Match on all types of devices but joysticks
#
# If you want to configure your devices, do not copy this file.
# Instead, use a config snippet that contains something like this:
#
# Section "InputClass"
# Identifier "something or other"
# MatchDriver "libinput"
#
# MatchIsTouchpad "on"
# ... other Match directives ...
# Option "someoption" "value"
# EndSection
#
# This applies the option any libinput device also matched by the other
# directives. See the xorg.conf(5) man page for more info on
# matching devices.
Section "InputClass"
Identifier "libinput pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "xkb_layout" "de"
EndSection
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection |
|
|
Back to top |
|
 |
moniaqua n00b


Joined: 19 Dec 2021 Posts: 21 Location: Bavaria
|
|
Back to top |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 5911 Location: Bavaria
|
|
Back to top |
|
 |
moniaqua n00b


Joined: 19 Dec 2021 Posts: 21 Location: Bavaria
|
Posted: Sat Jun 07, 2025 7:11 pm Post subject: |
|
|
Quote: | (Please note that you are in international forums where only english language is allowed  |
Oh, sorry, I somehow lost overview  _________________ cu
Monika |
|
Back to top |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 5911 Location: Bavaria
|
|
Back to top |
|
 |
|