Bug#656745: gnome-control-center: Region panel breaks LANG, breaks terminal charset, shows wrong languages
Rodney Lorrimar
dev at rodney.id.au
Sat Jan 21 13:04:32 UTC 2012
Package: gnome-control-center
Version: 1:3.2.2-2
Severity: important
Dear Maintainer,
I was playing around with the new Region panel in gnome-control-center
and it broke my language settings and the character encoding for
gnome-terminal.
Firstly, the panel shows the wrong options for language:
British English
Chinese (simplified)
English
Spanish
Unspecified [ANSI_X3.4-1968]
English
This is the output of locale -a:
---
C
C.UTF-8
POSIX
en_AU.utf8
fr_BE.utf8
nl_BE.utf8
---
So clearly Chinese, British English, or Spanish shouldn't be in the
list.
After setting English in the region panel, logging out, then logging
in, I have the following output from locale:
---
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.utf8
LANGUAGE=
LC_CTYPE="en_US.utf8"
LC_NUMERIC=en_AU
LC_TIME=en_AU
LC_COLLATE="en_US.utf8"
LC_MONETARY=en_AU
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT=en_AU
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=
---
I don't have the en_US.utf8 locale installed, so I'm not sure where
it's getting this setting from.
Also the gnome-terminal character encoding is being set to
"Current Locale (ANSI_X3.4-1968)" but actually I would prefer UTF-8.
What I would like is for the Region panel to allow me to select from
the available locales (i.e. C, en_AU.utf8, nl_BE.utf8, fr_BE.utf8),
not show Chinese as an option, and correctly set the locale
environment variables and terminal character encoding.
Cheers,
Rodney
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages gnome-control-center depends on:
ii accountsservice 0.6.15-2
ii apg 2.2.3.dfsg.1-2
ii desktop-file-utils 0.18-1
ii gnome-control-center-data 1:3.2.2-2
ii gnome-desktop3-data 3.2.1-3
ii gnome-icon-theme 3.2.1.2-1
ii gnome-icon-theme-symbolic 3.2.2-1
ii gnome-menus 3.2.0.1-2
ii gnome-settings-daemon 3.2.2-2
ii gsettings-desktop-schemas 3.2.0-2
ii libatk1.0-0 2.2.0-2
ii libc6 2.13-24
ii libcairo-gobject2 1.10.2-6.2
ii libcairo2 1.10.2-6.2
ii libcanberra-gtk3-0 0.28-3
ii libcanberra0 0.28-3
ii libcheese-gtk20 3.2.2-1+b1
ii libcheese1 3.2.2-1+b1
ii libclutter-1.0-0 1.8.2-2
ii libcogl-pango0 1.8.2-1
ii libcogl5 1.8.2-1
ii libcolord1 0.1.15-3
ii libcomerr2 1.42-1
ii libcups2 1.5.0-15
ii libdbus-1-3 1.4.16-1
ii libdbus-glib-1-2 0.98-1
ii libdrm2 2.4.30-1
ii libfontconfig1 2.8.0-3
ii libfreetype6 2.4.8-1
ii libgconf2-4 3.2.3-1
ii libgcrypt11 1.5.0-3
ii libgdk-pixbuf2.0-0 2.24.0-2
ii libgl1-mesa-glx [libgl1] 7.11.2-1
ii libglib2.0-0 2.30.2-5
ii libgnome-control-center1 1:3.2.2-2
ii libgnome-desktop-3-2 3.2.1-3
ii libgnome-menu-3-0 3.2.0.1-2
ii libgnomekbd7 3.2.0-1
ii libgnutls26 2.12.16-1
ii libgoa-1.0-0 3.2.1-3
ii libgssapi-krb5-2 1.10+dfsg~beta1-2
ii libgstreamer0.10-0 0.10.35-1
ii libgtk-3-0 3.2.3-1
ii libgtop2-7 2.28.4-2
ii libjson-glib-1.0-0 0.14.2-1
ii libk5crypto3 1.10+dfsg~beta1-2
ii libkrb5-3 1.10+dfsg~beta1-2
ii libnm-glib4 0.9.2.0-2
ii libnm-gtk0 0.9.2.0-1
ii libnm-util2 0.9.2.0-2
ii libnotify4 0.7.4-1
ii libpango1.0-0 1.29.4-2
ii libpolkit-gobject-1-0 0.104-1
ii libpulse-mainloop-glib0 1.1-2
ii libpulse0 1.1-2
ii libsocialweb-client2 0.25.20-1
ii libupower-glib1 0.9.15-1
ii libx11-6 2:1.4.4-4
ii libxcomposite1 1:0.4.3-2
ii libxdamage1 1:1.1.3-2
ii libxext6 2:1.3.0-3
ii libxfixes3 1:5.0-4
ii libxi6 2:1.4.5-1
ii libxklavier16 5.1-3
ii libxml2 2.7.8.dfsg-6
ii zlib1g 1:1.2.3.4.dfsg-3
Versions of packages gnome-control-center recommends:
ii cups-pk-helper 0.2.1.2-1
ii gnome-online-accounts 3.2.1-3
ii gnome-session 3.2.1-1
ii gnome-user-guide 3.2.2-1
ii iso-codes 3.32-1
ii mesa-utils 8.0.1-2+b1
ii mousetweaks 3.2.1-1
ii policykit-1-gnome 0.105-1
Versions of packages gnome-control-center suggests:
ii gnome-screensaver 3.2.0-2+b1
ii gstreamer0.10-pulseaudio 0.10.30-2.1
ii libcanberra-gtk-module 0.28-3
ii x11-xserver-utils 7.6+3
ii xscreensaver 5.15-2
-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "en_AU",
LC_MONETARY = "en_AU",
LC_MEASUREMENT = "en_AU",
LC_NUMERIC = "en_AU",
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
More information about the pkg-gnome-maintainers
mailing list