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

Bug#658020: console-setup: Upon installation console-setup sets CODESET to "Lat15", but it should be "guess"

Package: console-setup
Version: 1.75
Severity: normal

Dear Maintainer,

   * What led up to the situation?

Background info:
I have had the following in /etc/X11/xorg.conf for months, if not years:

  option "XkbRules" "xorg"
  option "XkbModel" "pc105"
  option "XkbLayout"     "us,cz(qwerty)"
  option "XKbOptions" "grp:alt_shift_toggle,grp:switch,grp_led:scroll"

Now I just did this:

# apt-get purge keyboard-configuration
# apt-get install keyboard-configuration

Afterwards, the first thing I noticed was that the settings from
did not get transferred into /etc/default/keyboard. But that's not
directly relevant
to this bug. I filled in those settings by hand.

Then I did:

# invoke-rc.d console-setup restart

and found that some of the Czech characters did not display correctly. This was
due to CODESET being set to "Lat15" in /etc/default/console-setup. When I
changed this to "guess" and restarted console-setup again, the characters
displayed correctly.

So, the question is: why isn't CODESET set to "guess" by default? From my
vantage point, it's a bug, because "guess" guesses the desired encoding using
the system command "locale" (which works well in my case).

Thanks for your consideration,
Nathan Cutler

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

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
(ignored: LC_ALL set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages console-setup depends on:
ii  console-setup-linux     1.75
ii  debconf                 1.5.41
ii  keyboard-configuration  1.75
ii  xkb-data                2.3-2

console-setup recommends no packages.

Versions of packages console-setup suggests:
ii  locales   2.13-24
ii  lsb-base  3.2-28

Versions of packages keyboard-configuration depends on:
ii  debconf                 1.5.41
ii  initscripts             2.88dsf-13.13
ii  liblocale-gettext-perl  1.05-7+b1

Versions of packages console-setup-linux depends on:
ii  kbd                     1.15.3-7
ii  keyboard-configuration  1.75

console-setup-linux suggests no packages.

Versions of packages console-setup is related to:
ii  console-common  <none>
ii  console-data    <none>
ii  console-tools   <none>
ii  kbd             1.15.3-7

-- debconf information:
  console-setup/codeset47: # Latin1 and Latin5 - western Europe and
Turkic languages
  keyboard-configuration/xkb-keymap: us
  keyboard-configuration/variant: USA
  keyboard-configuration/unsupported_options: true
  keyboard-configuration/ctrl_alt_bksp: false
  console-setup/store_defaults_in_debconf_db: true
  console-setup/fontsize: 8x16
  keyboard-configuration/modelcode: pc105
  keyboard-configuration/unsupported_config_options: true
  console-setup/fontface47: Fixed
  keyboard-configuration/unsupported_config_layout: true
  keyboard-configuration/toggle: No toggling
  console-setup/fontsize-text47: 8x16
  keyboard-configuration/compose: No compose key
  keyboard-configuration/switch: No temporary switch
  console-setup/charmap47: UTF-8
  keyboard-configuration/altgr: The default for the keyboard layout
  console-setup/codesetcode: Lat15
  keyboard-configuration/unsupported_layout: true
  keyboard-configuration/model: Generic 105-key (Intl) PC
  keyboard-configuration/layoutcode: us
  console-setup/fontsize-fb47: 8x16
  keyboard-configuration/store_defaults_in_debconf_db: true

Reply to: