Bug#815154: gnome-control-center removes XKBMODEL and XKBOPTIONS from /etc/default/keyboard
fsateler at debian.org
Fri Feb 19 16:25:00 UTC 2016
On 19 February 2016 at 13:10, Andreas Henriksson <andreas at fatal.se> wrote:
> Hello Anton Zinoviev.
> Not sure about the cause or have any real solution, just adding some
> additional information below (and CCing systemd maintainers).
> On Fri, Feb 19, 2016 at 03:54:24PM +0300, Anton Zinoviev wrote:
>> clone 751955 -1
>> reassign -1 gnome-control-center
>> retitle -1 Removes XKBMODEL and XKBOPTIONS from /etc/default/keyboard
>> severity -1 serious
>> I can confirm that gnome-control-center removes XKBMODEL from
>> /etc/default/keyboard. Steps to reproduce:
>> 1. $ grep -q XKBMODEL /etc/default/keyboard && echo fine || echo broken
>> -> fine
>> 2. $ gnome-control-center
>> 3. Go to "Region & Language"
>> 4. Go to "Login Screen"
>> 5. In the "Input Sources" section add some random keyboard layout
>> 6. $ grep -q XKBMODEL /etc/default/keyboard && echo fine || echo broken
>> -> broken
>> The test is done on a regular Jessie system. The version of gnome-control-center
>> is 1:3.14.2-3.
> Thanks for the testcase. The gnome-control-center program only calls out to
> "localed" via dbus. In Debian it is patched with the following patch:
> (And as you can see on that particular line XKBMODEL is parsed. Not sure
> what resets it.)
Line 178 does when it is empty:
Not sure why though.
More information about the pkg-gnome-maintainers