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

Bug#801155: keyboard-configuration: dpkg-reconfigure : configuration info misleading for CH / sg.latin1 keyboard



Package: keyboard-configuration
Version: 1.133
Severity: normal
Tags: l10n

After selecting a PC-105 keyboard, and a swiss/german configuration, the
configuration presents the following selection mask.

 │   Please select the layout matching the keyboard for this machine.
│
 │
│
 │ Keyboard layout:
│
 │
│
 │     German (Switzerland)
│
 │     German (Switzerland) - French (Switzerland)
│
 │     German (Switzerland) - French (Switzerland, Macintosh)
│
 │     German (Switzerland) - French (Switzerland, Sun dead keys)
│
 │     German (Switzerland) - French (Switzerland, eliminate dead keys)
│
 │     German (Switzerland) - German (Switzerland, Macintosh)
│
 │     German (Switzerland) - German (Switzerland, Sun dead keys)
│
 │     German (Switzerland) - German (Switzerland, eliminate dead keys)
│
 │     German (Switzerland) - German (Switzerland, legacy)
│
 │     Other
│

Since the keys of the swiss-german keyboards have the german diacritics in
lower-case position, and the french diacritics in upper-case position, the
headings
  "German (Switzerland) - French (Switzerland ...)"
and
  "German (Switzerland) - German (Switzerland ...)"
are confusing.

Everything would be clearer if the leading "German (Switzerland)" was dropped
altogether. The confusing presentation lead me to chose
  "German (Switzerland) - French (Switzerland, eliminate dead keys)"
with completely unwanted results - a swiss-french layout.

I understand the need to keep both the swiss-french and swiss-german layouts on
the selection panel, in case a reconfiguration is needed.



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.5-antix.2-amd64-smp (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages keyboard-configuration depends on:
ii  debconf                 1.5.57
ii  initscripts             2.88dsf-59.2
ii  liblocale-gettext-perl  1.07-1

keyboard-configuration recommends no packages.

keyboard-configuration suggests no packages.

Versions of packages console-setup depends on:
ii  console-setup-linux  1.133
ii  debconf              1.5.57
ii  xkb-data             2.14-1

Versions of packages console-setup suggests:
ii  locales   2.19-22
ii  lsb-base  9.20150917

Versions of packages console-setup-linux depends on:
ii  kbd  1.15.5-2

Versions of packages console-setup-linux suggests:
ii  console-setup  1.133

Versions of packages keyboard-configuration is related to:
ii  console-common  0.7.88
ii  console-data    2:1.12-5
pn  console-tools   <none>
ii  kbd             1.15.5-2

-- Configuration Files:
/etc/init.d/console-setup changed:
for param in $(cat /proc/cmdline); do
    case "$param" in
                       lang=*) should_run=true ;;
        kbd=*|kbopt=*|kbvar=*) should_run=true ;;
          noloadkeys|conkbd=*)   dont_run=true ;;
    esac
done
[ -f /etc/default/console-setup ] && should_run=true
[ -z "$should_run" -o -n "$dont_run" ] && exit 0
echo "Setting up live keymap"
/bin/setupcon -f
exit 0

/etc/init.d/keyboard-setup changed:
set -e
test -f /bin/setupcon || exit 0
for param in $(cat /proc/cmdline /live/config/cmdline 2>/dev/null); do
    case "$param" in
                       lang=*) should_run=true ;;
        kbd=*|kbopt=*|kbvar=*) should_run=true ;;
          noloadkeys|conkbd=*)   dont_run=true ;;
    esac
done
if [ -f /etc/default/locale ]; then
    # In order to permit auto-detection of the charmap when
    # console-setup-mini operates without configuration file.
    . /etc/default/locale
    export LANG
fi
if [ -f /lib/lsb/init-functions ]; then
    . /lib/lsb/init-functions
else
    log_action_begin_msg () {
	echo -n "$@... "
    }
    log_action_end_msg () {
	if [ "$1" -eq 0 ]; then 
	    echo done.
	else
	    echo failed.
	fi
    }
fi
if [ -z "$should_run" -o -n "$dont_run" ]; then
    #loadkeys us
    font=Uni2-VGA16
	log_action_begin_msg "Setting console font to $font"
    for n in 1 2 3 4 5 6; do
        tty=/dev/tty$n
        test -e $tty || continue
        # echo setfont -C $tty $font
        setfont -C $tty $font
    done
    log_action_end_msg $?
    exit 0
fi
case "$1" in
    stop|status)
        # keyboard-setup isn't a daemon
        ;;
    start|force-reload|restart|reload)
	log_action_begin_msg "Setting preliminary keymap"
	if setupcon -k 2>/dev/null; then
	    log_action_end_msg 0
	else
	    log_action_end_msg $?
	fi
	;;
    *)
        echo 'Usage: /etc/init.d/keyboard-setup {start|reload|restart|force-reload|stop|status}'
        exit 1
        ;;
esac
exit 0


-- debconf information:
  console-setup/framebuffer_only:
  keyboard-configuration/unsupported_config_layout: true
  debian-installer/console-setup-udeb/title:
* keyboard-configuration/variant: German (Switzerland) - French (Switzerland, eliminate dead keys)
* keyboard-configuration/toggle: No toggling
* keyboard-configuration/store_defaults_in_debconf_db: true
  keyboard-configuration/unsupported_layout: true
* keyboard-configuration/model: Generic 105-key (Intl) PC
* keyboard-configuration/layout: German (Switzerland)
* console-setup/fontsize-text47: 10x20 (framebuffer only)
* keyboard-configuration/compose: Right Control
  console-setup/guess_font:
* console-setup/fontface47: Terminus
* keyboard-configuration/modelcode: pc105
  keyboard-configuration/variantcode: fr_nodeadkeys
* console-setup/charmap47: UTF-8
  keyboard-configuration/unsupported_config_options: true
* console-setup/codeset47: # Latin1 and Latin5 - western Europe and Turkic languages
* console-setup/codesetcode: Lat15
* keyboard-configuration/layoutcode: ch
  keyboard-configuration/optionscode: lv3:ralt_switch,compose:rctrl,terminate:ctrl_alt_bksp
* keyboard-configuration/ctrl_alt_bksp: true
* keyboard-configuration/altgr: Right Alt (AltGr)
* keyboard-configuration/switch: No temporary switch
  keyboard-configuration/other:
* console-setup/fontsize: 10x20
  keyboard-configuration/unsupported_options: true
  console-setup/use_system_font:
* keyboard-configuration/xkb-keymap: ch(fr_nodeadkeys)
* console-setup/store_defaults_in_debconf_db: true
* console-setup/fontsize-fb47: 10x20 (framebuffer only)


Reply to: