Keyboard defaulting to US layout after reboot

Seems I am missing something here that I can’t quite figure out.

This fixes the issue temporally:

layout="$(localectl status | grep Layout | cut -d ':' -f 2)" &&  setxkbmap $layout

Output Section.

localectl                                                                                                                                                 
   System Locale: LANG=en_GB.UTF-8
       VC Keymap: uk
      X11 Layout: gb
       X11 Model: pc105

/etc/X11/xorg.conf.d/00-keyboard.conf

# 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"
        Option "XkbModel" "pc105"
EndSection
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
Trying to build keymap using the following components:
keycodes:   evdev+aliases(qwerty)
types:      complete
compat:     complete
symbols:    pc+us+inet(evdev)
geometry:   pc(pc105)
xkb_keymap {
	xkb_keycodes  { include "evdev+aliases(qwerty)"	};
	xkb_types     { include "complete"	};
	xkb_compat    { include "complete"	};
	xkb_symbols   { include "pc+us+inet(evdev)"	};
	xkb_geometry  { include "pc(pc105)"	};
};

If we look at previous output is loading from evdev, and if we look at xorg log bellow GB layout is reconized.

Xorg log

X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[ 2.849] Build Operating System: Linux Manjaro Linux
[ 2.849] Current Operating System: Linux vlopes-klvlwxx9 5.9.16-1-MANJARO #1 SMP PREEMPT Mon Dec 21 22:00:46 UTC 2020 x86_64
[ 2.849] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 root=UUID=0757570c-1908-42ae-ad8f-1805ec15c980 rw quiet splash apparmor=1 security=apparmor udev.log_priority=3
[ 2.849] Build Date: 16 December 2020 10:33:32PM
[ 2.849]
[ 2.849] Current version of pixman: 0.40.0
[ 2.849] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 2.849] Markers: (–) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 2.849] (==) Log file: “/var/log/Xorg.0.log”, Time: Mon Jan 4 21:05:26 2021
[ 2.849] (==) Using config directory: “/etc/X11/xorg.conf.d”
[ 2.849] (==) Using system config directory “/usr/share/X11/xorg.conf.d”
[ 2.850] (==) No Layout section. Using the first Screen section.
[ 2.850] (==) No screen section available. Using defaults.
[ 2.850] (
) |–>Screen “Default Screen Section” (0)
[ 2.850] (**) | |–>Monitor “”
[ 2.851] (==) No monitor specified for screen “Default Screen Section”.
Using a default monitor configuration.
[ 2.851] (==) Automatically adding devices
[ 2.851] (==) Automatically enabling devices
[ 2.851] (==) Automatically adding GPU devices
[ 2.851] (==) Automatically binding GPU devices
[ 2.851] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 2.852] (WW) The directory “/usr/share/fonts/misc” does not exist.
[ 2.852] Entry deleted from font path.
[ 2.852] (WW) `fonts.dir’ not found (or not valid) in “/usr/share/fonts/TTF”.
[ 2.852] Entry deleted from font path.
[ 2.852] (Run ‘mkfontdir’ on “/usr/share/fonts/TTF”).
[ 2.852] (WW) The directory “/usr/share/fonts/OTF” does not exist.
[ 2.852] Entry deleted from font path.
[ 2.852] (WW) The directory “/usr/share/fonts/Type1” does not exist.
[ 2.852] Entry deleted from font path.
[ 2.852] (WW) The directory “/usr/share/fonts/100dpi” does not exist.
[ 2.852] Entry deleted from font path.
[ 2.852] (WW) The directory “/usr/share/fonts/75dpi” does not exist.
[ 2.852] Entry deleted from font path.
[ 2.852] (==) FontPath set to:

[ 2.852] (==) ModulePath set to “/usr/lib/xorg/modules”
[ 2.852] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 2.852] (II) Module ABI versions:
[ 2.852] X.Org ANSI C Emulation: 0.4
[ 2.852] X.Org Video Driver: 24.1
[ 2.852] X.Org XInput driver : 24.1
[ 2.852] X.Org Server Extension : 10.0
[ 2.853] (++) using VT number 7

[ 2.853] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 2.854] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 2.868] (–) PCI:*(4@0:0:0) 1002:1636:1e83:3e33 rev 198, Mem @ 0xfce0000000/268435456, 0xfcf0000000/2097152, 0xd0300000/524288, I/O @ 0x00001000/256
[ 2.868] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 2.868] (II) LoadModule: “glx”
[ 2.870] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 2.876] (II) Module glx: vendor=“X.Org Foundation”
[ 2.877] compiled for 1.20.10, module version = 1.0.0
[ 2.877] ABI class: X.Org Server Extension, version 10.0
[ 2.877] (II) Applying OutputClass “AMDgpu” to /dev/dri/card0
[ 2.877] loading driver: amdgpu
[ 2.877] (==) Matched amdgpu as autoconfigured driver 0
[ 2.877] (==) Matched ati as autoconfigured driver 1
[ 2.877] (==) Matched modesetting as autoconfigured driver 2
[ 2.877] (==) Matched fbdev as autoconfigured driver 3
[ 2.877] (==) Matched vesa as autoconfigured driver 4
[ 2.877] (==) Assigned the driver to the xf86ConfigLayout
[ 2.877] (II) LoadModule: “amdgpu”
[ 2.877] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[ 2.880] (II) Module amdgpu: vendor=“X.Org Foundation”
[ 2.880] compiled for 1.20.8, module version = 19.1.0
[ 2.880] Module class: X.Org Video Driver
[ 2.880] ABI class: X.Org Video Driver, version 24.1
[ 2.880] (II) LoadModule: “ati”
[ 2.880] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[ 2.880] (II) Module ati: vendor=“X.Org Foundation”
[ 2.880] compiled for 1.20.8, module version = 19.1.0
[ 2.880] Module class: X.Org Video Driver
[ 2.880] ABI class: X.Org Video Driver, version 24.1
[ 2.882] (II) LoadModule: “modesetting”
[ 2.883] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 2.884] (II) Module modesetting: vendor=“X.Org Foundation”
[ 2.884] compiled for 1.20.10, module version = 1.20.10
[ 2.884] Module class: X.Org Video Driver
[ 2.884] ABI class: X.Org Video Driver, version 24.1
[ 2.884] (II) LoadModule: “fbdev”
[ 2.884] (WW) Warning, couldn’t open module fbdev
[ 2.884] (EE) Failed to load module “fbdev” (module does not exist, 0)
[ 2.884] (II) LoadModule: “vesa”
[ 2.884] (WW) Warning, couldn’t open module vesa
[ 2.884] (EE) Failed to load module “vesa” (module does not exist, 0)
[ 2.884] (II) AMDGPU: Driver for AMD Radeon:
All GPUs supported by the amdgpu kernel driver
[ 2.884] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 2.903] (II) AMDGPU(0): [KMS] Kernel modesetting enabled.
[ 2.905] (WW) Falling back to old probe method for modesetting
[ 2.905] (II) AMDGPU(0): Creating default Display subsection in Screen section
“Default Screen Section” for depth/fbbpp 24/32
[ 2.905] (==) AMDGPU(0): Depth 24, (–) framebuffer bpp 32
[ 2.905] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[ 2.905] (==) AMDGPU(0): Default visual is TrueColor
[ 2.905] (==) AMDGPU(0): RGB weight 888
[ 2.905] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[ 2.905] (–) AMDGPU(0): Chipset: “Unknown AMD Radeon GPU” (ChipID = 0x1636)
[ 2.905] (II) Loading sub module “fb”
[ 2.905] (II) LoadModule: “fb”
[ 2.906] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 2.906] (II) Module fb: vendor=“X.Org Foundation”
[ 2.906] compiled for 1.20.10, module version = 1.0.0
[ 2.906] ABI class: X.Org ANSI C Emulation, version 0.4
[ 2.906] (II) Loading sub module “dri2”
[ 2.906] (II) LoadModule: “dri2”
[ 2.906] (II) Module “dri2” already built-in
[ 3.017] (II) Loading sub module “glamoregl”
[ 3.017] (II) LoadModule: “glamoregl”
[ 3.017] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 3.022] (II) Module glamoregl: vendor=“X.Org Foundation”
[ 3.022] compiled for 1.20.10, module version = 1.0.1
[ 3.022] ABI class: X.Org ANSI C Emulation, version 0.4
[ 3.047] (II) AMDGPU(0): glamor X acceleration enabled on AMD RENOIR (DRM 3.39.0, 5.9.16-1-MANJARO, LLVM 11.0.0)
[ 3.047] (II) AMDGPU(0): glamor detected, initialising EGL layer.
[ 3.047] (==) AMDGPU(0): TearFree property default: auto
[ 3.048] (==) AMDGPU(0): VariableRefresh: disabled
[ 3.048] (II) AMDGPU(0): KMS Pageflipping: enabled
[ 3.048] (II) AMDGPU(0): Output eDP has no monitor section
[ 3.048] (II) AMDGPU(0): Output HDMI-A-0 has no monitor section
[ 3.048] (II) AMDGPU(0): Output DisplayPort-0 has no monitor section
[ 3.067] (II) AMDGPU(0): EDID for output eDP
[ 3.067] (II) AMDGPU(0): Manufacturer: BOE Model: 893 Serial#: 0
[ 3.067] (II) AMDGPU(0): Year: 2019 Week: 20
[ 3.067] (II) AMDGPU(0): EDID Version: 1.4
[ 3.067] (II) AMDGPU(0): Digital Display Input
[ 3.067] (II) AMDGPU(0): 8 bits per channel
[ 3.067] (II) AMDGPU(0): Digital interface is DisplayPort
[ 3.067] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 30 vert.: 20
[ 3.067] (II) AMDGPU(0): Gamma: 2.20
[ 3.067] (II) AMDGPU(0): No DPMS capabilities specified
[ 3.067] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4
[ 3.067] (II) AMDGPU(0): First detailed timing is preferred mode
[ 3.067] (II) AMDGPU(0): Preferred mode is native pixel format and refresh rate
[ 3.067] (II) AMDGPU(0): redX: 0.639 redY: 0.332 greenX: 0.298 greenY: 0.608
[ 3.067] (II) AMDGPU(0): blueX: 0.152 blueY: 0.061 whiteX: 0.312 whiteY: 0.328
[ 3.067] (II) AMDGPU(0): Manufacturer’s mask: 0
[ 3.067] (II) AMDGPU(0): Supported detailed timing:
[ 3.067] (II) AMDGPU(0): clock: 206.0 MHz Image Size: 296 x 197 mm
[ 3.067] (II) AMDGPU(0): h_active: 2160 h_sync: 2208 h_sync_end 2240 h_blank_end 2320 h_border: 0
[ 3.067] (II) AMDGPU(0): v_active: 1440 v_sync: 1443 v_sync_end 1453 v_blanking: 1480 v_border: 0
[ 3.067] (II) AMDGPU(0): Unknown vendor-specific block 0
[ 3.067] (II) AMDGPU(0): BOE XS
[ 3.067] (II) AMDGPU(0): TV140WTM-NH0
[ 3.067] (II) AMDGPU(0): EDID (in hex):
[ 3.067] (II) AMDGPU(0): 00ffffffffffff0009e5930800000000
[ 3.067] (II) AMDGPU(0): 141d0104a51e1478028720a3554c9b27
[ 3.067] (II) AMDGPU(0): 0f505400000001010101010101010101
[ 3.067] (II) AMDGPU(0): 0101010101017a5070a080a028503020
[ 3.067] (II) AMDGPU(0): 3a0028c51000001a0000000000000000
[ 3.067] (II) AMDGPU(0): 0000000000000000001a000000fe0042
[ 3.067] (II) AMDGPU(0): 4f452058530a202020202020000000fe
[ 3.067] (II) AMDGPU(0): 00545631343057544d2d4e48300a00be
[ 3.067] (II) AMDGPU(0): Printing probed modes for output eDP
[ 3.067] (II) AMDGPU(0): Modeline "2160x1440"x60.0 206.02 2160 2208 2240 2320 1440 1443 1453 1480 +hsync -vsync (88.8 kHz eP)
[ 3.067] (II) AMDGPU(0): Modeline "1920x1200"x60.0 206.02 1920 2208 2240 2320 1200 1443 1453 1480 +hsync -vsync (88.8 kHz e)
[ 3.067] (II) AMDGPU(0): Modeline "1920x1080"x60.0 206.02 1920 2208 2240 2320 1080 1443 1453 1480 +hsync -vsync (88.8 kHz e)
[ 3.067] (II) AMDGPU(0): Modeline "1600x1200"x60.0 206.02 1600 2208 2240 2320 1200 1443 1453 1480 +hsync -vsync (88.8 kHz e)
[ 3.067] (II) AMDGPU(0): Modeline "1680x1050"x60.0 206.02 1680 2208 2240 2320 1050 1443 1453 1480 +hsync -vsync (88.8 kHz e)
[ 3.067] (II) AMDGPU(0): Modeline "1280x1024"x60.0 206.02 1280 2208 2240 2320 1024 1443 1453 1480 +hsync -vsync (88.8 kHz e)
[ 3.067] (II) AMDGPU(0): Modeline "1440x900"x60.0 206.02 1440 2208 2240 2320 900 1443 1453 1480 +hsync -vsync (88.8 kHz e)
[ 3.067] (II) AMDGPU(0): Modeline "1280x800"x60.0 206.02 1280 2208 2240 2320 800 1443 1453 1480 +hsync -vsync (88.8 kHz e)
[ 3.067] (II) AMDGPU(0): Modeline "1280x720"x60.0 206.02 1280 2208 2240 2320 720 1443 1453 1480 +hsync -vsync (88.8 kHz e)
[ 3.067] (II) AMDGPU(0): Modeline "1024x768"x60.0 206.02 1024 2208 2240 2320 768 1443 1453 1480 +hsync -vsync (88.8 kHz e)
[ 3.067] (II) AMDGPU(0): Modeline "800x600"x60.0 206.02 800 2208 2240 2320 600 1443 1453 1480 +hsync -vsync (88.8 kHz e)
[ 3.067] (II) AMDGPU(0): Modeline "640x480"x60.0 206.02 640 2208 2240 2320 480 1443 1453 1480 +hsync -vsync (88.8 kHz e)
[ 3.067] (II) AMDGPU(0): EDID for output HDMI-A-0
[ 3.067] (II) AMDGPU(0): EDID for output DisplayPort-0
[ 3.067] (II) AMDGPU(0): Output eDP connected
[ 3.067] (II) AMDGPU(0): Output HDMI-A-0 disconnected
[ 3.067] (II) AMDGPU(0): Output DisplayPort-0 disconnected
[ 3.067] (II) AMDGPU(0): Using exact sizes for initial modes
[ 3.067] (II) AMDGPU(0): Output eDP using initial mode 2160x1440 +0+0
[ 3.067] (II) AMDGPU(0): mem size init: gart size :bf6b3000 vram size: s:1df1a000 visible:1df1a000
[ 3.067] (==) AMDGPU(0): DPI set to (96, 96)
[ 3.067] (==) AMDGPU(0): Using gamma correction (1.0, 1.0, 1.0)
[ 3.067] (II) Loading sub module “ramdac”
[ 3.067] (II) LoadModule: “ramdac”
[ 3.067] (II) Module “ramdac” already built-in
[ 3.067] (II) UnloadModule: “modesetting”
[ 3.067] (II) Unloading modesetting
[ 3.067] (II) AMDGPU(0): [DRI2] Setup complete
[ 3.067] (II) AMDGPU(0): [DRI2] DRI driver: radeonsi
[ 3.067] (II) AMDGPU(0): [DRI2] VDPAU driver: radeonsi
[ 3.106] (II) AMDGPU(0): Front buffer pitch: 8704 bytes
[ 3.107] (II) AMDGPU(0): SYNC extension fences enabled
[ 3.107] (II) AMDGPU(0): Present extension enabled
[ 3.107] (==) AMDGPU(0): DRI3 enabled
[ 3.107] (==) AMDGPU(0): Backing store enabled
[ 3.107] (II) AMDGPU(0): Direct rendering enabled
[ 3.119] (II) AMDGPU(0): Use GLAMOR acceleration.
[ 3.119] (II) AMDGPU(0): Acceleration enabled
[ 3.119] (==) AMDGPU(0): DPMS enabled
[ 3.119] (==) AMDGPU(0): Silken mouse disabled
[ 3.119] (II) AMDGPU(0): Set up textured video (glamor)
[ 3.133] (II) Initializing extension Generic Event Extension
[ 3.133] (II) Initializing extension SHAPE
[ 3.133] (II) Initializing extension MIT-SHM
[ 3.134] (II) Initializing extension XInputExtension
[ 3.134] (II) Initializing extension XTEST
[ 3.134] (II) Initializing extension BIG-REQUESTS
[ 3.134] (II) Initializing extension SYNC
[ 3.134] (II) Initializing extension XKEYBOARD
[ 3.134] (II) Initializing extension XC-MISC
[ 3.134] (II) Initializing extension SECURITY
[ 3.134] (II) Initializing extension XFIXES
[ 3.134] (II) Initializing extension RENDER
[ 3.134] (II) Initializing extension RANDR
[ 3.134] (II) Initializing extension COMPOSITE
[ 3.134] (II) Initializing extension DAMAGE
[ 3.134] (II) Initializing extension MIT-SCREEN-SAVER
[ 3.134] (II) Initializing extension DOUBLE-BUFFER
[ 3.134] (II) Initializing extension RECORD
[ 3.135] (II) Initializing extension DPMS
[ 3.135] (II) Initializing extension Present
[ 3.135] (II) Initializing extension DRI3
[ 3.135] (II) Initializing extension X-Resource
[ 3.135] (II) Initializing extension XVideo
[ 3.135] (II) Initializing extension XVideo-MotionCompensation
[ 3.135] (II) Initializing extension GLX
[ 3.140] (II) AIGLX: Loaded and initialized radeonsi
[ 3.140] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 3.140] (II) Initializing extension XFree86-VidModeExtension
[ 3.141] (II) Initializing extension XFree86-DGA
[ 3.141] (II) Initializing extension XFree86-DRI
[ 3.141] (II) Initializing extension DRI2
[ 3.145] (II) AMDGPU(0): Setting screen physical size to 571 x 381
[ 3.234] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 3.234] () Power Button: Applying InputClass “evdev keyboard catchall”
[ 3.234] (
) Power Button: Applying InputClass “libinput keyboard catchall”
[ 3.234] () Power Button: Applying InputClass “system-keyboard”
[ 3.234] (II) LoadModule: “libinput”
[ 3.234] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 3.237] (II) Module libinput: vendor=“X.Org Foundation”
[ 3.237] compiled for 1.20.8, module version = 0.30.0
[ 3.237] Module class: X.Org XInput Driver
[ 3.237] ABI class: X.Org XInput driver, version 24.1
[ 3.237] (II) Using input driver ‘libinput’ for ‘Power Button’
[ 3.237] (
) Power Button: always reports core events
[ 3.237] () Option “Device” “/dev/input/event2”
[ 3.237] (
) Option “_source” “server/udev”
[ 3.241] (II) event2 - Power Button: is tagged by udev as: Keyboard
[ 3.241] (II) event2 - Power Button: device is a keyboard
[ 3.241] (II) event2 - Power Button: device removed
[ 3.272] () Option “config_info” “udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2”
[ 3.272] (II) XINPUT: Adding extended input device “Power Button” (type: KEYBOARD, id 6)
[ 3.272] (
) Option “xkb_model” “pc105”
[ 3.272] () Option “xkb_layout” “gb”
[ 3.299] (II) event2 - Power Button: is tagged by udev as: Keyboard
[ 3.299] (II) event2 - Power Button: device is a keyboard
[ 3.300] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[ 3.300] (
) Video Bus: Applying InputClass “evdev keyboard catchall”
[ 3.300] () Video Bus: Applying InputClass “libinput keyboard catchall”
[ 3.300] (
) Video Bus: Applying InputClass “system-keyboard”
[ 3.300] (II) Using input driver ‘libinput’ for ‘Video Bus’
[ 3.300] () Video Bus: always reports core events
[ 3.300] (
) Option “Device” “/dev/input/event3”
[ 3.300] () Option “_source” “server/udev”
[ 3.302] (II) event3 - Video Bus: is tagged by udev as: Keyboard
[ 3.302] (II) event3 - Video Bus: device is a keyboard
[ 3.302] (II) event3 - Video Bus: device removed
[ 3.391] (
) Option “config_info” “udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0d/LNXVIDEO:00/input/input3/event3”
[ 3.391] (II) XINPUT: Adding extended input device “Video Bus” (type: KEYBOARD, id 7)
[ 3.391] () Option “xkb_model” “pc105”
[ 3.391] (
) Option “xkb_layout” “gb”
[ 3.393] (II) event3 - Video Bus: is tagged by udev as: Keyboard
[ 3.393] (II) event3 - Video Bus: device is a keyboard
[ 3.394] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[ 3.394] () Power Button: Applying InputClass “evdev keyboard catchall”
[ 3.394] (
) Power Button: Applying InputClass “libinput keyboard catchall”
[ 3.394] () Power Button: Applying InputClass “system-keyboard”
[ 3.394] (II) Using input driver ‘libinput’ for ‘Power Button’
[ 3.394] (
) Power Button: always reports core events
[ 3.394] () Option “Device” “/dev/input/event0”
[ 3.394] (
) Option “_source” “server/udev”
[ 3.395] (II) event0 - Power Button: is tagged by udev as: Keyboard
[ 3.396] (II) event0 - Power Button: device is a keyboard
[ 3.396] (II) event0 - Power Button: device removed
[ 3.431] () Option “config_info” “udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0”
[ 3.431] (II) XINPUT: Adding extended input device “Power Button” (type: KEYBOARD, id 8)
[ 3.431] (
) Option “xkb_model” “pc105”
[ 3.431] () Option “xkb_layout” “gb”
[ 3.433] (II) event0 - Power Button: is tagged by udev as: Keyboard
[ 3.433] (II) event0 - Power Button: device is a keyboard
[ 3.434] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[ 3.434] (II) No input driver specified, ignoring this device.
[ 3.434] (II) This device may have been added with another device file.
[ 3.435] (II) config/udev: Adding input device HD-Audio Generic HDMI/DP,pcm=3 (/dev/input/event6)
[ 3.435] (II) No input driver specified, ignoring this device.
[ 3.435] (II) This device may have been added with another device file.
[ 3.436] (II) config/udev: Adding input device HD Camera: HD Camera (/dev/input/event13)
[ 3.436] (
) HD Camera: HD Camera: Applying InputClass “evdev keyboard catchall”
[ 3.436] () HD Camera: HD Camera: Applying InputClass “libinput keyboard catchall”
[ 3.436] (
) HD Camera: HD Camera: Applying InputClass “system-keyboard”
[ 3.436] (II) Using input driver ‘libinput’ for ‘HD Camera: HD Camera’
[ 3.436] () HD Camera: HD Camera: always reports core events
[ 3.436] (
) Option “Device” “/dev/input/event13”
[ 3.436] () Option “_source” “server/udev”
[ 3.438] (II) event13 - HD Camera: HD Camera: is tagged by udev as: Keyboard
[ 3.438] (II) event13 - HD Camera: HD Camera: device is a keyboard
[ 3.438] (II) event13 - HD Camera: HD Camera: device removed
[ 3.498] (
) Option “config_info” “udev:/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-4/3-4:1.0/input/input20/event13”
[ 3.498] (II) XINPUT: Adding extended input device “HD Camera: HD Camera” (type: KEYBOARD, id 9)
[ 3.498] () Option “xkb_model” “pc105”
[ 3.498] (
) Option “xkb_layout” “gb”
[ 3.500] (II) event13 - HD Camera: HD Camera: is tagged by udev as: Keyboard
[ 3.500] (II) event13 - HD Camera: HD Camera: device is a keyboard
[ 3.501] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event8)
[ 3.501] (II) No input driver specified, ignoring this device.
[ 3.501] (II) This device may have been added with another device file.
[ 3.502] (II) config/udev: Adding input device HD-Audio Generic Headphone (/dev/input/event9)
[ 3.502] (II) No input driver specified, ignoring this device.
[ 3.502] (II) This device may have been added with another device file.
[ 3.502] (II) config/udev: Adding input device ELAN260A:00 04F3:3163 Mouse (/dev/input/event11)
[ 3.503] () ELAN260A:00 04F3:3163 Mouse: Applying InputClass “evdev pointer catchall”
[ 3.503] (
) ELAN260A:00 04F3:3163 Mouse: Applying InputClass “libinput pointer catchall”
[ 3.503] (II) Using input driver ‘libinput’ for ‘ELAN260A:00 04F3:3163 Mouse’
[ 3.503] () ELAN260A:00 04F3:3163 Mouse: always reports core events
[ 3.503] (
) Option “Device” “/dev/input/event11”
[ 3.503] () Option “_source” “server/udev”
[ 3.504] (II) event11 - ELAN260A:00 04F3:3163 Mouse: is tagged by udev as: Mouse Pointingstick
[ 3.505] (II) event11 - ELAN260A:00 04F3:3163 Mouse: device is a pointer
[ 3.505] (II) event11 - ELAN260A:00 04F3:3163 Mouse: device removed
[ 3.565] (
) Option “config_info” “udev:/sys/devices/platform/AMDI0010:00/i2c-0/i2c-ELAN260A:00/0018:04F3:3163.0001/input/input15/event11”
[ 3.565] (II) XINPUT: Adding extended input device “ELAN260A:00 04F3:3163 Mouse” (type: MOUSE, id 10)
[ 3.565] () Option “AccelerationScheme” “none”
[ 3.565] (
) ELAN260A:00 04F3:3163 Mouse: (accel) selected scheme none/0
[ 3.565] () ELAN260A:00 04F3:3163 Mouse: (accel) acceleration factor: 2.000
[ 3.565] (
) ELAN260A:00 04F3:3163 Mouse: (accel) acceleration threshold: 4
[ 3.567] (II) event11 - ELAN260A:00 04F3:3163 Mouse: is tagged by udev as: Mouse Pointingstick
[ 3.567] (II) event11 - ELAN260A:00 04F3:3163 Mouse: device is a pointer
[ 3.569] (II) config/udev: Adding input device ELAN260A:00 04F3:3163 Mouse (/dev/input/mouse0)
[ 3.569] (II) No input driver specified, ignoring this device.
[ 3.569] (II) This device may have been added with another device file.
[ 3.570] (II) config/udev: Adding input device ELAN260A:00 04F3:3163 Touchpad (/dev/input/event12)
[ 3.570] () ELAN260A:00 04F3:3163 Touchpad: Applying InputClass “evdev touchpad catchall”
[ 3.570] (
) ELAN260A:00 04F3:3163 Touchpad: Applying InputClass “libinput touchpad catchall”
[ 3.570] (II) Using input driver ‘libinput’ for ‘ELAN260A:00 04F3:3163 Touchpad’
[ 3.570] () ELAN260A:00 04F3:3163 Touchpad: always reports core events
[ 3.570] (
) Option “Device” “/dev/input/event12”
[ 3.570] () Option “_source” “server/udev”
[ 3.571] (II) event12 - ELAN260A:00 04F3:3163 Touchpad: is tagged by udev as: Touchpad
[ 3.573] (II) event12 - ELAN260A:00 04F3:3163 Touchpad: device is a touchpad
[ 3.574] (II) event12 - ELAN260A:00 04F3:3163 Touchpad: device removed
[ 3.632] (
) Option “config_info” “udev:/sys/devices/platform/AMDI0010:00/i2c-0/i2c-ELAN260A:00/0018:04F3:3163.0001/input/input17/event12”
[ 3.632] (II) XINPUT: Adding extended input device “ELAN260A:00 04F3:3163 Touchpad” (type: TOUCHPAD, id 11)
[ 3.634] () Option “AccelerationScheme” “none”
[ 3.634] (
) ELAN260A:00 04F3:3163 Touchpad: (accel) selected scheme none/0
[ 3.634] () ELAN260A:00 04F3:3163 Touchpad: (accel) acceleration factor: 2.000
[ 3.634] (
) ELAN260A:00 04F3:3163 Touchpad: (accel) acceleration threshold: 4
[ 3.636] (II) event12 - ELAN260A:00 04F3:3163 Touchpad: is tagged by udev as: Touchpad
[ 3.638] (II) event12 - ELAN260A:00 04F3:3163 Touchpad: device is a touchpad
[ 3.639] (II) config/udev: Adding input device ELAN260A:00 04F3:3163 Touchpad (/dev/input/mouse1)
[ 3.639] (II) No input driver specified, ignoring this device.
[ 3.639] (II) This device may have been added with another device file.
[ 3.640] (II) config/udev: Adding input device SYNA7813:00 06CB:1A1A (/dev/input/event10)
[ 3.640] () SYNA7813:00 06CB:1A1A: Applying InputClass “evdev touchscreen catchall”
[ 3.640] (
) SYNA7813:00 06CB:1A1A: Applying InputClass “libinput touchscreen catchall”
[ 3.640] (II) Using input driver ‘libinput’ for ‘SYNA7813:00 06CB:1A1A’
[ 3.640] () SYNA7813:00 06CB:1A1A: always reports core events
[ 3.640] (
) Option “Device” “/dev/input/event10”
[ 3.640] () Option “_source” “server/udev”
[ 3.642] (II) event10 - SYNA7813:00 06CB:1A1A: is tagged by udev as: Touchscreen
[ 3.642] (II) event10 - SYNA7813:00 06CB:1A1A: device is a touch device
[ 3.642] (II) event10 - SYNA7813:00 06CB:1A1A: device removed
[ 3.698] (
) Option “config_info” “udev:/sys/devices/platform/AMDI0010:02/i2c-1/i2c-SYNA7813:00/0018:06CB:1A1A.0002/input/input18/event10”
[ 3.698] (II) XINPUT: Adding extended input device “SYNA7813:00 06CB:1A1A” (type: TOUCHSCREEN, id 12)
[ 3.698] () Option “AccelerationScheme” “none”
[ 3.698] (
) SYNA7813:00 06CB:1A1A: (accel) selected scheme none/0
[ 3.698] () SYNA7813:00 06CB:1A1A: (accel) acceleration factor: 2.000
[ 3.698] (
) SYNA7813:00 06CB:1A1A: (accel) acceleration threshold: 4
[ 3.700] (II) event10 - SYNA7813:00 06CB:1A1A: is tagged by udev as: Touchscreen
[ 3.700] (II) event10 - SYNA7813:00 06CB:1A1A: device is a touch device
[ 3.702] (II) config/udev: Adding input device SYNA7813:00 06CB:1A1A (/dev/input/mouse2)
[ 3.702] (II) No input driver specified, ignoring this device.
[ 3.702] (II) This device may have been added with another device file.
[ 3.702] (II) config/udev: Adding input device Huawei WMI hotkeys (/dev/input/event7)
[ 3.702] () Huawei WMI hotkeys: Applying InputClass “evdev keyboard catchall”
[ 3.702] (
) Huawei WMI hotkeys: Applying InputClass “libinput keyboard catchall”
[ 3.702] () Huawei WMI hotkeys: Applying InputClass “system-keyboard”
[ 3.702] (II) Using input driver ‘libinput’ for ‘Huawei WMI hotkeys’
[ 3.702] (
) Huawei WMI hotkeys: always reports core events
[ 3.702] () Option “Device” “/dev/input/event7”
[ 3.702] (
) Option “_source” “server/udev”
[ 3.703] (II) event7 - Huawei WMI hotkeys: is tagged by udev as: Keyboard
[ 3.703] (II) event7 - Huawei WMI hotkeys: device is a keyboard
[ 3.704] (II) event7 - Huawei WMI hotkeys: device removed
[ 3.765] () Option “config_info” “udev:/sys/devices/platform/huawei-wmi/input/input7/event7”
[ 3.765] (II) XINPUT: Adding extended input device “Huawei WMI hotkeys” (type: KEYBOARD, id 13)
[ 3.765] (
) Option “xkb_model” “pc105”
[ 3.765] () Option “xkb_layout” “gb”
[ 3.767] (II) event7 - Huawei WMI hotkeys: is tagged by udev as: Keyboard
[ 3.767] (II) event7 - Huawei WMI hotkeys: device is a keyboard
[ 3.768] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[ 3.768] (
) AT Translated Set 2 keyboard: Applying InputClass “evdev keyboard catchall”
[ 3.768] () AT Translated Set 2 keyboard: Applying InputClass “libinput keyboard catchall”
[ 3.768] (
) AT Translated Set 2 keyboard: Applying InputClass “system-keyboard”
[ 3.768] (II) Using input driver ‘libinput’ for ‘AT Translated Set 2 keyboard’
[ 3.768] () AT Translated Set 2 keyboard: always reports core events
[ 3.768] (
) Option “Device” “/dev/input/event4”
[ 3.768] () Option “_source” “server/udev”
[ 3.769] (II) event4 - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[ 3.769] (II) event4 - AT Translated Set 2 keyboard: device is a keyboard
[ 3.770] (II) event4 - AT Translated Set 2 keyboard: device removed
[ 3.805] (
) Option “config_info” “udev:/sys/devices/platform/i8042/serio0/input/input4/event4”
[ 3.805] (II) XINPUT: Adding extended input device “AT Translated Set 2 keyboard” (type: KEYBOARD, id 14)
[ 3.805] () Option “xkb_model” “pc105”
[ 3.805] (
) Option “xkb_layout” “gb”
[ 3.807] (II) event4 - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[ 3.807] (II) event4 - AT Translated Set 2 keyboard: device is a keyboard
[ 3.809] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[ 3.809] (II) No input driver specified, ignoring this device.
[ 3.809] (II) This device may have been added with another device file.
[ 3.816] (II) config/udev: removing device HD Camera: HD Camera
[ 3.817] (II) event13 - HD Camera: HD Camera: device removed
[ 3.911] (II) UnloadModule: “libinput”
[ 3.912] (II) config/udev: Adding input device HD Camera: HD Camera (/dev/input/event13)
[ 3.912] () HD Camera: HD Camera: Applying InputClass “evdev keyboard catchall”
[ 3.912] (
) HD Camera: HD Camera: Applying InputClass “libinput keyboard catchall”
[ 3.912] () HD Camera: HD Camera: Applying InputClass “system-keyboard”
[ 3.912] (II) Using input driver ‘libinput’ for ‘HD Camera: HD Camera’
[ 3.912] (
) HD Camera: HD Camera: always reports core events
[ 3.912] () Option “Device” “/dev/input/event13”
[ 3.912] (
) Option “_source” “server/udev”
[ 3.913] (II) event13 - HD Camera: HD Camera: is tagged by udev as: Keyboard
[ 3.913] (II) event13 - HD Camera: HD Camera: device is a keyboard
[ 3.914] (II) event13 - HD Camera: HD Camera: device removed
[ 4.018] () Option “config_info” “udev:/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-4/3-4:1.0/input/input20/event13”
[ 4.018] (II) XINPUT: Adding extended input device “HD Camera: HD Camera” (type: KEYBOARD, id 9)
[ 4.018] (
) Option “xkb_model” “pc105”
[ 4.018] (**) Option “xkb_layout” “gb”
[ 4.020] (II) event13 - HD Camera: HD Camera: is tagged by udev as: Keyboard
[ 4.020] (II) event13 - HD Camera: HD Camera: device is a keyboard
[ 11.932] (EE) AMDGPU(0): drmmode_do_crtc_dpms cannot get last vblank counter
[ 11.932] (II) AMDGPU(0): Allocate new frame buffer 1296x864
[ 11.933] (II) AMDGPU(0): => pitch 5632 bytes
[ 12.608] (II) AMDGPU(0): EDID vendor “BOE”, prod id 2195
[ 12.608] (II) AMDGPU(0): Printing DDC gathered Modelines:
[ 12.608] (II) AMDGPU(0): Modeline "2160x1440"x0.0 206.02 2160 2208 2240 2320 1440 1443 1453 1480 +hsync -vsync (88.8 kHz eP)
[ 35486.728] (EE) event10 - SYNA7813:00 06CB:1A1A: client bug: event processing lagging behind by 11ms, your system is too slow

Have you tried to add something like this to startup?
setxkbmap -layout gr,us -option 'grp:lalt_lshift_toggle'

but then you could use your script to startup

I wonder why is not giving you the entire output. For instance i have:

   System Locale: LANG=en_US.UTF-8
                  LC_NUMERIC=ro_RO.UTF-8
                  LC_TIME=ro_RO.UTF-8
                  LC_MONETARY=ro_RO.UTF-8
                  LC_PAPER=ro_RO.UTF-8
                  LC_NAME=ro_RO.UTF-8
                  LC_ADDRESS=ro_RO.UTF-8
                  LC_TELEPHONE=ro_RO.UTF-8
                  LC_MEASUREMENT=ro_RO.UTF-8
                  LC_IDENTIFICATION=ro_RO.UTF-8
       VC Keymap: us
      X11 Layout: us
       X11 Model: pc105

All this is already present in /etc/locale.gen
at the bottom, like this:

# Locales enabled by Calamares
en_US.UTF-8 UTF-8
ro_RO.UTF-8 UTF-8

On my end if i run setxkbmap -print -verbose 10 i get:

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:      pc86
layout:     us,ro,es
variant:    ,std_cedilla,winkeys
options:    terminate:ctrl_alt_bksp
Trying to build keymap using the following components:
keycodes:   evdev+aliases(qwerty)
types:      complete
compat:     complete
symbols:    pc+us+ro(std_cedilla):2+es(winkeys):3+inet(evdev)+terminate(ctrl_alt_bksp)
geometry:   pc(pc86)
xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwerty)" };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include "pc+us+ro(std_cedilla):2+es(winkeys):3+inet(evdev)+terminate(ctrl_alt_bksp)"    };
        xkb_geometry  { include "pc(pc86)"      };
};

The funny thing is that the geometry pc(pc86) in my case is wrong, but the keyboard works, plus i have to use different variants for ro and es

The xorg config is simple and the default: cat /etc/X11/xorg.conf.d/00-keyboard.conf

# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "us"
        Option "XkbModel" "pc105"
EndSection

Also, i have this entry in my nvidia.conf

Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

hence my keyboard is always defaulting to the one layout i used previously; at least that is what i think …

4 posts were split to a new topic: My keyboard resets every 10 minutes