I am pretty sure everybody here already knows what I am going to say but in 
case some newbie like me happens to be suffering from this same bug, a quick 
and dirty fix is to run the following script every time the keyboard layouts 
disappear.  It is clearly not the most elegant solution but it is surely much 
quicker than to reconfigure the layouts using the system settings tool.
-----------------------------------------------------------------
#!/bin/bash

gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'br'), ('xkb', 
'pt+nodeadkeys')]"
-----------------------------------------------------------------

In case you do not know exactly what codes define your desired keyboard
layouts, configure them using the system settings tool and run the
command:

gsettings get org.gnome.desktop.input-sources sources

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/2087787

Title:
  Keyboard layouts suddenly disappear

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/2087787/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to