gnome-control-center removes XKBMODEL and XKBOPTIONS from /etc/default/keyboard
Anton Zinoviev
anton at lml.bas.bg
Fri Feb 19 12:54:24 UTC 2016
clone 751955 -1
reassign -1 gnome-control-center
retitle -1 Removes XKBMODEL and XKBOPTIONS from /etc/default/keyboard
severity -1 serious
thanks
Hello,
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.
By the way, I was very surprised to find that gnome-control-center modifies a
configuration file belonging to other package. This is not something Debian
policy permits. Nevertheless, we do want the keyboard configuration to be user
friendly, so I approve what gnome-control-center does, as long as it does it
correctly. :)
By the way, I've found that gnome-control-centers doesn't remove the variables it
doesn't understand. Therefore, it seems the reason it removes XKBOPTIONS and
XKBMODEL is that it tries to do something with these variables.
Anton Zinoviev
More information about the pkg-gnome-maintainers
mailing list