Recently, I attached an aluminium USB Apple keyboard to my Thinkpad running Ubuntu 20.04, setting Compose to Caps using dpkg-reconfigure keyboard-configuration
.
Now I cannot get my old Left Win / Super keys behaviour back.
I'm manually setting the keyboard layout using setxkbmap -option "" -variant "" -layout "de" -model "pc105"
multiple times a day (probably every time the laptop suspended) and I'm out of ideas where else the system could get the undesired setting.
This is the config
/etc/default/keyboard (that's what I want!):
XKBLAYOUT="de"
BACKSPACE="guess"
XKBVARIANT=""
XKBMODEL="pc105"
XKBOPTIONS=""
setxkbmap -query
: completely puzzled about this. Keyboard behaves like a pc105 alright, not sure where the variant: ,mac,,
comes from and most importantly: lwin shouldn't be Compose.
rules: evdev
model: pc105
layout: de,de,gb,gb
variant: ,mac,,
options: compose:lwin,terminate:ctrl_alt_bksp
The Ubuntu keyboard layout view agrees with the settings returned by setxkbmap -query
:
Gnome Tweaks says the Compose key is Disabled:
I do not have an /etc/X11/xorg.conf
.
Pointers on where to look for persisted settings much appreciated. Thanks!
gsettings get org.gnome.desktop.input-sources xkb-options
say? You cannot "reset" runningdpkg-reconfigure
again (you didn´t mention any attempt in that direction).gsettings get org.gnome.desktop.input-sources xkb-options
returns "['compose:lwin', 'terminate:ctrl_alt_bksp']", in line with what the Gnome keyboard layout widget shows. I am able to (temporarily) change my keyboard layout back using dpkg-reconfigure, but that a) takes a long time and b) doesn't last.