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

Bug#951387: marked as done ([PATCH] Misleading XKBLAYOUT is set when choosing Lithuanian in dpkg-reconfigure keyboard-configuration)



Your message dated Thu, 26 Mar 2020 13:49:17 +0000
with message-id <E1jHSsn-000F5L-8C@fasolo.debian.org>
and subject line Bug#951387: fixed in console-setup 1.195
has caused the Debian Bug report #951387,
regarding [PATCH] Misleading XKBLAYOUT is set when choosing Lithuanian in dpkg-reconfigure keyboard-configuration
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.)


-- 
951387: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951387
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: console-setup
Version: 1.194

Dear console-setup maintainer,

If user chooses Lithuanian keyboard layout during installation or
dpkg-reconfigure keyboard-configuration then misleading layout
configuration is set in /etc/default/keyboard :

XKBLAYOUT="lt,lt"
XKBVARIANT=",us"

This configuration is not intuitive, because people think, that
sometimes Lithuanian keyboard works (when lt1 is selected in GNOME
shell or other DE) and sometimes doesn't work (when LT2 is selected,
because LT2 is really English US layout where lithuanian letters can
be entered only when AltGr is pressed) - most of desktop users doesn't
even notice small number 1 or 2 after LT)

So, majority of Lithuanian users are force to removed second lt(us)
layout and add English (US) altgr-intl layout.

Correct, intuitive for all users, /etc/default/keyboard should be:

XKBMODEL="pc105"
XKBLAYOUT="lt,us"
XKBVARIANT=",altgr-intl"
XKBOPTIONS="grp_led:scroll"
BACKSPACE="guess"

I'm attaching a patch to debian/keyboard-configuration.config file
which fixes this issue - patch replaces not intuitive secondary lt(us)
layout with us(altgr-intl), which is used by the majority of
Lithuanian users as second layout.
this improvement works fine also with Ubuntu installer, I've tested my
patch with Ubuntu 19.10, look at this bugreport
https://launchpad.net/ubuntu/+source/console-setup/+bug/1863001

Btw, this issue is very old, exists even in console-setup 1.47
(released in 2009) and older, old Debian and Ubuntu users already got
used to this bug, they know, that first step after installation is to
remove lt(us) layout and add us(altgr-intl) or other us/en layout :)

Thanks for maintaining free software :)
Mantas Kriaučiūnas

-- 
Prekyba kompiuteriais su Linux OS - http://tinklas.eu/prekyba
Naudokite laisvą Linux operacinę sistemą savo kompiuteryje - http://baltix.eu
Use Ubuntu and Debian GNU/Linux OS !
--- /tmp/console-setup-1.194/debian/keyboard-configuration.config	2019-12-05 14:09:52.000000000 +0000
+++ keyboard-configuration.config	2020-02-13 15:17:18.000000000 +0000
@@ -1103,7 +1103,7 @@
 # on values of $XKBLAYOUT and $XKBVARIANT.
 if [ "$XKBLAYOUT" ]; then
     case "$XKBLAYOUT" in
-	lt,lt)
+	lt,us)
 	    debconf_layout="${XKBLAYOUT%,*}"
 	    debconf_variant="${XKBVARIANT%,*}"
 	    unsupported_layout=no
@@ -1497,7 +1497,7 @@
 			esac
 			;;
 		    lt)
-			XKBLAYOUT=lt,lt
+			XKBLAYOUT=lt,us
 			;;
 		    me)
 			case "$debconf_variant" in
@@ -1527,12 +1527,12 @@
                                 XKBVARIANT="latin,$debconf_variant" ;;
 		        esac
                         ;;
-                    lt,lt)
+                    lt,us)
 		        case "$debconf_variant" in
 		            us)
                                 XKBVARIANT="us," ;;
 		            *)
-                                XKBVARIANT="$debconf_variant,us" ;;
+                                XKBVARIANT="$debconf_variant,altgr-intl" ;;
 		        esac
                         ;;
 		    *,*)

--- End Message ---
--- Begin Message ---
Source: console-setup
Source-Version: 1.195
Done: Dimitri John Ledkov <xnox@ubuntu.com>

We believe that the bug you reported is fixed in the latest version of
console-setup, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 951387@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dimitri John Ledkov <xnox@ubuntu.com> (supplier of updated console-setup package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 26 Mar 2020 13:34:12 +0000
Source: console-setup
Architecture: source
Version: 1.195
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Dimitri John Ledkov <xnox@ubuntu.com>
Closes: 951387
Changes:
 console-setup (1.195) unstable; urgency=medium
 .
   [ Mantas Kriaučiūnas ]
   * Fix Lithuanian layout Closes: #951387
     in keyboard-configuration.config: replace not intuitive second lt(us)
     layout with us(altgr-intl), which contains Euro (€) and other symbols,
     often used in Lithuania. us layout is used by the majority of
     Lithuanian users as second layout.
 .
   [ D-I role ]
   * [l10n]  Commit changed/added po files (from l10n-sync run at dillon)
Checksums-Sha1:
 d7e31fae8444c174f1cd03e26af0ad0ad69fbbf4 3291 console-setup_1.195.dsc
 78be09c16e698834c53741404c0c4e0f83bfcf8c 1651328 console-setup_1.195.tar.xz
 c7e309a82c9000228e98062ed3b3127a07ae6d81 8539 console-setup_1.195_source.buildinfo
Checksums-Sha256:
 ef7d1611ba915acb4d856657f979154fdee35b5b89741be336137c48b2423d8a 3291 console-setup_1.195.dsc
 0214c690eab05f2a1f93035a987aac931c6eb7a2a7ebda4b80b8375c55a4eaa7 1651328 console-setup_1.195.tar.xz
 cbc56baefc061e255f866253026305e6bc3d6e2668849381d896b283067fdbb8 8539 console-setup_1.195_source.buildinfo
Files:
 3ea48e872111ba91bcb44e36230adc5b 3291 utils optional console-setup_1.195.dsc
 80b56ac59b7b1994cfe07c279466d11d 1651328 utils optional console-setup_1.195.tar.xz
 f047ccee90278c3df8bbe4b6d7075885 8539 utils optional console-setup_1.195_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE7iQKBSojGtiSWEHXm47ISdXvcO0FAl58r9YACgkQm47ISdXv
cO1QIw//ey++yEnrcCyGgL8bVAQ5WdDdkoaxwDbL36t2Ni8pCnecRjlqPtYm1fZK
5RPWuNACIpszJ2nuHfl3eR8l+ZpKg3TVI1ZoASU370nO6k8OAepaYC2MUACd261W
3NPX6eZaiu5GPYxJqKy6F38SDb9gljr1nTKkorS/hEl/QP7XmSbdzP/aBk/PbgzB
wwo8FpsFqIHzlc3bXPyi8OuCGHDoN850MyopmCQNvGP88IlYvLclAyWfbVyQiC6Q
DhbpxXP21r+mNTkBaxExL9z5PkftXn/rAJwtQ3g4wYtq45Gm8YggHh9sK61VU9k7
Jj8gbDdRSiLR5Tyzc/tL09WwOG1hc8qxXCx+DSyWuS2QEzQ0RlVEfKuXI6Vp0eA/
6kt3fDGwLUoxaCOgCuFI6/JeJJ5kUkvDC+AWP06x6qyOufIRQdIhCZhT8j57UcNY
shsu6UBC9b2dooxp0lWvuVg6fH0fTUqmPqsHoejXoTFORJzvXaZ/7rLYpYGbSg4y
WxaRZ75A9iabh4FyWX5P/yd5/EeiTfPPkmJtKr1l1X5UUGHIOyC/EqTTPy9fTJ8w
mAKWABURux5ByOgOWZ1nebVVlJYJ4BNOGskMygOAp6sg6/WzTpRC+RHalxe6Tu08
mJVNlrW8D4Tv995fSghsrbskHT+AcFRGL7qxl5uK4Uk4JQXvEsU=
=KDjh
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: