On 2018-05-13 04:47, Gunnar Hjalmarsson wrote:
> Those XKB options are probably set by the
> keyboard-configuration.config script in the keyboard-configuration
> package. So maybe we need to figure out a proper way to make that
> script keep its hands off /etc/default/keyboard when a desktop is
> upgraded.
The attached debdiff is an attempt at that. When the keyboard-configuration package is upgraded, the main code in the postinst script is not run. When installing, including reinstalling the package, it works as usual, and also when running "dpkg-reconfigure keyboard-configuration".
On 2018-05-13 04:47, Gunnar Hjalmarsson wrote: configuration. config script in the keyboard- configuration keyboard when a desktop is
> Those XKB options are probably set by the
> keyboard-
> package. So maybe we need to figure out a proper way to make that
> script keep its hands off /etc/default/
> upgraded.
The attached debdiff is an attempt at that. When the keyboard- configuration package is upgraded, the main code in the postinst script is not run. When installing, including reinstalling the package, it works as usual, and also when running "dpkg-reconfigure keyboard- configuration" .
I uploaded the patch to this PPA (bionic):
https:/ /launchpad. net/~gunnarhj/ +archive/ ubuntu/ console- setup
(The proposed changes to d/control and d/rules proved to be needed for the PPA upload.)