Bug#815154: gnome-control-center removes XKBMODEL and XKBOPTIONS from /etc/default/keyboard

2016-02-25 Thread Felipe Sateler
On 23 February 2016 at 13:41, Anton Zinoviev wrote: > On Tue, Feb 23, 2016 at 11:51:35AM -0300, Felipe Sateler wrote: >> On 19 February 2016 at 14:52, Anton Zinoviev wrote: >> > >> > XKBMODEL has no default value (at least in console-setup). It should >> > always be >> > present and never as em

Bug#815154: gnome-control-center removes XKBMODEL and XKBOPTIONS from /etc/default/keyboard

2016-02-23 Thread Anton Zinoviev
On Tue, Feb 23, 2016 at 11:51:35AM -0300, Felipe Sateler wrote: > On 19 February 2016 at 14:52, Anton Zinoviev wrote: > > > > XKBMODEL has no default value (at least in console-setup). It should > > always be > > present and never as empty value. Thanks to this discussion, now I think it will b

Bug#815154: gnome-control-center removes XKBMODEL and XKBOPTIONS from /etc/default/keyboard

2016-02-23 Thread Felipe Sateler
On 19 February 2016 at 14:52, Anton Zinoviev wrote: > >> Is XKBMODEL= always expected to be written out to the file even >> if the value is empty? (or is it a bug in the parsers not handling >> when its missing? I'd say normally you want parsers to be liberal >> in what they accept.) > > XKBMODEL

Bug#815154: gnome-control-center removes XKBMODEL and XKBOPTIONS from /etc/default/keyboard

2016-02-22 Thread Anton Zinoviev
On Sat, Feb 20, 2016 at 11:38:59PM +0100, Andreas Henriksson wrote: > > Anyway, this is getting pretty meta-discussion like here so we should > probably > just say that it's good that we both know we have different views on a couple > of things here. As far as I can see, the only difference is

Bug#815154: gnome-control-center removes XKBMODEL and XKBOPTIONS from /etc/default/keyboard

2016-02-20 Thread Andreas Henriksson
Hello Anton Zinoviev. Again thanks for your followup with useful information. On Sat, Feb 20, 2016 at 05:02:28PM +0300, Anton Zinoviev wrote: > Bug #765343 is related to this one. ACK. > > On Fri, Feb 19, 2016 at 08:33:08PM +0100, Andreas Henriksson wrote: > > > > On Fri, Feb 19, 2016 at 08:5

Bug#815154: gnome-control-center removes XKBMODEL and XKBOPTIONS from /etc/default/keyboard

2016-02-20 Thread Anton Zinoviev
Bug #765343 is related to this one. On Fri, Feb 19, 2016 at 08:33:08PM +0100, Andreas Henriksson wrote: > > On Fri, Feb 19, 2016 at 08:52:25PM +0300, Anton Zinoviev wrote: > > > The modifying program, however, has to leave everything else intact: > > assignments of unknown variables, commented l

Bug#815154: gnome-control-center removes XKBMODEL and XKBOPTIONS from /etc/default/keyboard

2016-02-19 Thread Andreas Henriksson
Hello Anton Zinoviev. Thanks for quick followup I sympathize with being left to debug a "corrupt" file which you don't know if your tool wrote or not, while not having any (for the moment known) way to reproduce the problem. On Fri, Feb 19, 2016 at 08:52:25PM +0300, Anton Zinoviev wrote: [...

Bug#815154: gnome-control-center removes XKBMODEL and XKBOPTIONS from /etc/default/keyboard

2016-02-19 Thread Anton Zinoviev
On Fri, Feb 19, 2016 at 05:10:03PM +0100, Andreas Henriksson wrote: > > > 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. > > If you want to get into poli

Bug#815154: gnome-control-center removes XKBMODEL and XKBOPTIONS from /etc/default/keyboard

2016-02-19 Thread Anton Zinoviev
On Fri, Feb 19, 2016 at 08:52:25PM +0300, Anton Zinoviev wrote: > > The following is the relevant part in the Policy: > > ] If it is desirable for two or more related packages to share a > configuration file > ] and for all of the related packages to be able to modify that configuration > file

Bug#815154: gnome-control-center removes XKBMODEL and XKBOPTIONS from /etc/default/keyboard

2016-02-19 Thread Andreas Henriksson
On Fri, Feb 19, 2016 at 05:53:00PM +0100, Andreas Henriksson wrote: > Hello again. [...] > Eg. g-c-c always sends model and layout as empty strings, which is the reason > patched localed resets them [...] Err.. That should be "model and options", not layout. Regards, Andreas Henriksson

Bug#815154: gnome-control-center removes XKBMODEL and XKBOPTIONS from /etc/default/keyboard

2016-02-19 Thread Andreas Henriksson
Hello again. On Fri, Feb 19, 2016 at 01:25:00PM -0300, Felipe Sateler wrote: > On 19 February 2016 at 13:10, Andreas Henriksson wrote: [...] > >> 1. $ grep -q XKBMODEL /etc/default/keyboard && echo fine || echo broken > >>-> fine > >> 2. $ gnome-control-center > >> 3. Go to "Region & Language

Bug#815154: gnome-control-center removes XKBMODEL and XKBOPTIONS from /etc/default/keyboard

2016-02-19 Thread Felipe Sateler
On 19 February 2016 at 13:10, Andreas Henriksson 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 7519

Bug#815154: gnome-control-center removes XKBMODEL and XKBOPTIONS from /etc/default/keyboard

2016-02-19 Thread Andreas Henriksson
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 XKBMOD