Ubuntu – Gnome tweaks reset after lock screen

20.10gnomegnome-tweakskeyboard

I am altering the keyboard configuration in Ubuntu 20.10 via

gnome-tweaks

and then, in Keyboard and Mouse/Additional Layout Options I set Alt/Win key behavior to "ctrl is mapped to Win and the usual ctrl keys", since I'm using a the mac magic keyboard.

enter image description here

This choice however is reset each time I lock the screen, so I have to keep resetting it.

Is there a way to fix this?

System details:

enter image description here

enter image description here

Best Answer

This is a confirmed bug in mutter: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1899206

A fix has been released for 20.04 so try upgrading and checking the version:

sudo apt-get upgrade mutter
mutter --version