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 Desktop
Packages, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/2087787

Title:
  Keyboard layouts suddenly disappear

Status in gnome-control-center package in Ubuntu:
  New

Bug description:
  Bug #502569, reported as fixed in 2010, has made a come back in Noble
  Numbat.

  To be a bit more specific, as part of my initial configuration after a
  fresh install of Noble Numbat, I added a Portuguese keyboard layout
  and deleted the English one.  A couple of hours later, the Portuguese
  layout disappeared and the English one was reinstated.

  I then tried to add the Portuguese layout without deleting the English
  layout, only to find that the Portuguese layout disappeared some time
  later.

  I have not been able to determine what action might cause this bug as
  it takes a few hours to manifest itself.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: gnome-control-center 1:46.0.1-1ubuntu7
  ProcVersionSignature: Ubuntu 6.8.0-48.48-generic 6.8.12
  Uname: Linux 6.8.0-48-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3.1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Nov 10 09:40:33 2024
  InstallationDate: Installed on 2024-11-07 (3 days ago)
  InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 
(20240827.1)
  SourcePackage: gnome-control-center
  UpgradeStatus: No upgrade log present (probably fresh install)

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to