Tweaktool Keyboard “Additional Layout Options” not working

Asked by Weston Hunter

I am running Ubuntu 20.04.1 with Gnome. I am seeing new behavior which seems to have been introduced within the past couple of weeks. I have a couple custom keyboard settings configured in Tweaktool "Additional Layout Options". These settings work great.

I have a USB keyboard plugged into the machine. If I have the keyboard plugged in when I start my Gnome session, the customized keyboard layout options are correctly applied to the USB keyboard. If I unplug and reconnect the keyboard, the keyboard does will _NOT_ have the customized keyboard settings.

If I restart my Gnome session (using Alt-F2 -> "r"), the customized settings are applied to the keyboard.

I think this behavior is something new. Before, I was able to unplug/reconnect my keyboard and it would apply my customized keyboard settings on reconnect. Is there anything I can do to force the application of the custom keyboard tweaks on USB keyboard reconnect?

Is anyone else able to reproduce this? I don't have any other machines with Ubuntu 20.04.1 to test with.


(This is also cross-posted at askubuntu:

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bernard Stafford (bernard010) said :

That would be the Default settings of GNOME. It is reverting back to the Default setting when you unplug the keyboard.
When you logout or shutdown their should be a save current session box , check-mark that box. It may help.
Is their a needed reason you have to unplug your keyboard? At least you have the Alt+F2+r Shortcut that works.
This a normal behavior for GNOME to revert to default once interrupted.

Revision history for this message
Weston Hunter (westonhunter) said :

Hi Bernard,

I'm on a laptop, so I unplug/reconnect the USB input devices frequently. Using Ubuntu (across many versions) for years, any keyboard customization I had made in Tweak -> Additional Layout Options were available when the USB keyboard was reconnected. I would expect any customization I make in Tweak -> Additional Layout Options to be "active" at all times. Why wouldn't this be the natural expected behavior? This behavior just started within the past couple of weeks. I don't feel like I should be forced to restart my Gnome session to initialize a configuration which I have expressed should always be available.

The current versions of Gnome on Ubuntu do not have any sort of "save current session" checkbox.

Can you help with this problem?

Provide an answer of your own, or ask Weston Hunter for more information if necessary.

To post a message you must log in.