Comment 20 for bug 1899206

Revision history for this message
Weston Hunter (westonhunter) wrote : Re: Tweaktool Keyboard “Additional Layout Options” not persisting on USB keyboard unplug/reconnect

@mhalsharif: I'm currently not using any Apple hardware, but I'm seeing all the same behavior you are (except I don't lose settings on lock/unlock).

I have currently done the following things:
* I moved all my keyboard customizations from dconf settings [/org/gnome/desktop/input-sources/xkb-options] (which is where Tweak Tool puts the config) and put them in /etc/default/keyboard:XKBOPTIONS. Since these settings are default, when the keyboard resets to these defaults, it resets back to the config I want. (This fixes the keyboard reset, but still will not fix the mouse resetting issue.) If you want to try this approach, you can just add the default configuration options like this:
XKBOPTIONS="shift:both_capslock,ctrl:swap_lalt_lctl_lwin,caps:escape"

* I have also downgraded mutter (`sudo apt install mutter=3.36.1-3ubuntu3 mutter-common=3.36.1-3ubuntu3 libmutter-6-0=3.36.1-3ubuntu3 gir1.2-mutter-6=3.36.1-3ubuntu3`). This downgraded version fixes all the resetting issues (although I'm stuck on the downgraded mutter version until a fix gets released).