[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#859403: marked as done (XKBOPTIONS="terminate:ctrl_alt_bksp" is lost on dpkg-reconfigure)



Your message dated Mon, 3 Apr 2017 16:34:44 +0300
with message-id <20170403133443.GA27881@logic>
and subject line Re: Bug#859403: XKBOPTIONS="terminate:ctrl_alt_bksp" is lost on dpkg-reconfigure
has caused the Debian Bug report #859403,
regarding XKBOPTIONS="terminate:ctrl_alt_bksp" is lost on dpkg-reconfigure
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
859403: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859403
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Package: keyboard-configuration
Version: 1.163

If I append

	XKBOPTIONS="caps:none"

to /etc/default/keyboard, and run "dpkg-reconfigure keyboard-configuration"
later, then there is a dialog

	The current keyboard options in the configuration file /etc/default/keyboard
	are defined as XKBOPTIONS="caps:none".

	If you choose to keep these options, no questions about the keyboard
	options will be asked.

	Keep current keyboard options in the configuration file? (yes/no)

If I chose [yes], then the

	XKBOPTIONS="terminate:ctrl_alt_bksp"

is lost. Instead the caps:none is included twice. Here is the diff between
before and after running dpkg-reconfigure:


	# diff -u5 /etc/default/keyboard{.bak,}
	--- /etc/default/keyboard.bak	2017-04-03 11:11:35.248445833 +0200
	+++ /etc/default/keyboard	2017-04-03 11:12:37.253205700 +0200
	@@ -3,10 +3,10 @@
	 # Consult the keyboard(5) manual page.
	
	 XKBMODEL="pc101"
	 XKBLAYOUT="us"
	 XKBVARIANT=""
	-XKBOPTIONS="terminate:ctrl_alt_bksp"
	+XKBOPTIONS="caps:none"
	
	 BACKSPACE="guess"
	
	 XKBOPTIONS="caps:none"


Regards
Harri
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEH2V614LbR/u1O+a1Cp4qnmbTgcsFAljiFMoACgkQCp4qnmbT
gcslkggAhpye1TqoFxNG21yJAXloN0AN/T1SsneveOgL3Ieqq/okgGqnda8Sb5T1
koOgqeSLk50vkWetPwKUv5Ixe5DTNi6L55d1awdzrejMl1gd/MwP0K3nLsheew8L
z2mvW1jmMNCJnLo40djiw5NPjT+lcsi6vW1K1CPzyMycEPQROZkHziFQn5nIpPvi
pnRpHrcOjIUj5aSMzIC323+SE6WAg/Nd/znHQBPH4D9uL4Q0mOE7z6wcVIggve6r
G+kQRscgADnKa9aCxHzR0ZqnffzQYDTq1kGUigYtonqFhP9/hlPw6CR6MQpKhHWN
U+r7u83JQHYjav6JnrAJawN8pDKj0g==
=zacK
-----END PGP SIGNATURE-----

--- End Message ---
--- Begin Message ---
On Mon, Apr 03, 2017 at 11:24:26AM +0200, Harald Dunkel wrote:
> 
> If I append
> 
> 	XKBOPTIONS="caps:none"
> 
> to /etc/default/keyboard,

This file is processed as a shell script.  Therefore, the second 
assignment overrides the first one.

> If I chose [yes], then the
> 
> 	XKBOPTIONS="terminate:ctrl_alt_bksp"
> 
> is lost.

This is expected.  Try this instead:

 	 XKBOPTIONS="terminate:ctrl_alt_bksp,caps:none"

Anton Zinoviev

--- End Message ---

Reply to: