Locale bug: Language to english and other locale from pt causes gnome shell not to load

Bug #1158639 reported by i30817
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Changing the /etc/default/locale allowed it to boot. However this looks very bad since i installed from the Daily live Ubuntu GNOME cd from root and hadn't even logged in yet, much less changed the locale settings.

The file was like this:
LANG="en_US.UTF-8"
LANGUAGE="en_US:en"
LC_NUMERIC="pt_PT"
LC_TIME="pt_PT"
LC_MONETARY="pt_PT"
LC_PAPER="pt_PT"
LC_NAME="pt_PT"
LC_ADDRESS="pt_PT"
LC_TELEPHONE="pt_PT"
LC_MEASUREMENT="pt_PT"
LC_IDENTIFICATION="pt_PT"

I changed it to this:
LANG="en_US.UTF-8"
LANGUAGE="en_US:en"
LC_NUMERIC="pt_PT.UTF-8"
LC_TIME="pt_PT.UTF-8"
LC_MONETARY="pt_PT.UTF-8"
LC_PAPER="pt_PT.UTF-8"
LC_NAME="pt_PT.UTF-8"
LC_ADDRESS="pt_PT.UTF-8"
LC_TELEPHONE="pt_PT.UTF-8"
LC_MEASUREMENT="pt_PT.UTF-8"
LC_IDENTIFICATION="pt_PT.UTF-8"

And it no longer crashed, but i'm not sure it's correct like that. (edit: it isn't, causes errors in other apps; changing all of them -except LANGUAGE- to en_US.UTF-8 is better)

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: gnome-shell 3.6.3.1-0ubuntu4
ProcVersionSignature: Ubuntu 3.8.0-13.23-generic 3.8.3
Uname: Linux 3.8.0-13-generic x86_64
ApportVersion: 2.9.2-0ubuntu2
Architecture: amd64
Date: Fri Mar 22 04:49:50 2013
DisplayManager: gdm
GsettingsChanges:

InstallationDate: Installed on 2013-03-22 (0 days ago)
InstallationMedia: Ubuntu-GNOME 13.04 "Raring Ringtail" - Alpha amd64 (20130321)
MarkForUpload: True
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
i30817 (i30817) wrote :
Revision history for this message
i30817 (i30817) wrote :

Oh yeah, changing the file that way changed my data on the clock to english style, so it's probably not correct (LC_TIME="pt_PT.UTF-8") and defaults to english, unless the LANG overrides it. Thing is, that's what i want, a english install with a portuguese keyboard.

Revision history for this message
i30817 (i30817) wrote :

Yeah, checking it out now, setting it like i did causes problems on other programs.... but at least it allows me to login.

Revision history for this message
i30817 (i30817) wrote :

Changed all the pt_PT to en_US.UTF-8 also works (keyboard is still pt) and doesn't seem to have additional problems.

i30817 (i30817)
summary: - Language to english and other locale from pt causes gnome shell not to
- load
+ Locale bug: Language to english and other locale from pt causes gnome
+ shell not to load
i30817 (i30817)
description: updated
Revision history for this message
Tim Lunn (darkxst) wrote :

This was caused by a bug in ubqiuity, that was fixed shortly after the beta 2 release.

For anyone that installed from beta 2 or an earlier daily, then the best thing to do it just edit /etc/default/locale to correct entries by adding UTF-8.

Changed in gnome-shell (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.