You are not logged in.

#1 2010-12-16 21:16:03

tomeil
Member
Registered: 2006-10-13
Posts: 13

[solved] wrong locale after updating of filesystem package

After last update of filesystem package (filesystem-2010.12-1) most X apps start with en_US locale (the system-wide locale), instead of with it_IT (the locale I've set in ~/.bashrc).
Downgrading to filesystem-2010.07-1 reverts to correct behaviour.
Has someone else similar problems?

Last edited by tomeil (2010-12-17 21:18:55)

Offline

#2 2010-12-16 21:37:02

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: [solved] wrong locale after updating of filesystem package

That's strange. The filesystem package does not contain anything, related to locale...

~> for i in $(pacman -Qql filesystem); do [ -f $i ] && echo $i; done
/etc/arch-release
/etc/crypttab
/etc/fstab
/etc/group
/etc/gshadow
/etc/host.conf
/etc/hosts
/etc/issue
/etc/ld.so.conf
/etc/modprobe.d/usb-load-ehci-first.conf
/etc/motd
/etc/nsswitch.conf
/etc/passwd
/etc/profile
/etc/resolv.conf
/etc/securetty
/etc/shadow
/etc/shells
/var/empty/.keep

Did it work with filesystem 2010.10?


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#3 2010-12-16 21:50:25

tomeil
Member
Registered: 2006-10-13
Posts: 13

Re: [solved] wrong locale after updating of filesystem package

Really, I've also upgraded the bash package, which could be related to my problem.

Offline

#4 2010-12-16 23:39:50

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [solved] wrong locale after updating of filesystem package

There were fairly major changes to /etc/profile in the new filesystem package, but it doesn't deal directly with locale -- only glibc does. How are you logging in and/or starting X?

edit: and where are you setting your locale?

Last edited by falconindy (2010-12-16 23:40:21)

Offline

#5 2010-12-16 23:57:04

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: [solved] wrong locale after updating of filesystem package

tomeil wrote:

After last update of filesystem package (filesystem-2010.12-1) most X apps start with en_US locale (the system-wide locale), instead of with it_IT (the locale I've set in ~/.bashrc).
Downgrading to filesystem-2010.07-1 reverts to correct behaviour.
Has someone else similar problems?

OK, please show you /etc/locale.gen. I also assume that you have export LANG=it_IT.UTF-8, right? Have you tried to regenerate locales with locale-gen?


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#6 2010-12-17 07:20:36

tomeil
Member
Registered: 2006-10-13
Posts: 13

Re: [solved] wrong locale after updating of filesystem package

falconindy wrote:

There were fairly major changes to /etc/profile in the new filesystem package, but it doesn't deal directly with locale -- only glibc does. How are you logging in and/or starting X?

edit: and where are you setting your locale?

I log to X through kdm, started as daemon in rc.conf.

The system-wide locale is set in rc.conf with:

LOCALE="en_US.utf8"

the user account locale is set in ~/.bashrc with:

export LANG=it_IT.utf8

Both locales are enabled in /etc/locale.gen and generated with locale-gen

Most X apps (i.e firefox, gimp, ...) start in english if I click on desktop icons, while they start in italian if I launch them from a console window.
Also KDE apps start in english, but this can be changed easily setting language in KDE system settings (even if this was not necessary before).

Offline

#7 2010-12-17 16:55:49

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: [solved] wrong locale after updating of filesystem package

Ahh now I remember why I stopped using KDE 2 years ago...

Anyway, it seems like your kdm resets your X session locale. This may have some relevance: https://bbs.archlinux.org/viewtopic.php?id=63377
What does your /usr/share/config/kdm/Xsession show? Also, do you have ~/.xsession?

Last edited by Leonid.I (2010-12-17 16:56:14)


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#8 2010-12-17 17:56:32

tomeil
Member
Registered: 2006-10-13
Posts: 13

Re: [solved] wrong locale after updating of filesystem package

Solved placing language setting in ~/.xprofile

Edit: how can I mark a forum topic as "solved" ?

Last edited by tomeil (2010-12-17 18:07:13)

Offline

#9 2010-12-17 18:21:35

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [solved] wrong locale after updating of filesystem package

tomeil wrote:

Solved placing language setting in ~/.xprofile

Edit: how can I mark a forum topic as "solved" ?

Edit the first post and change the title.

Offline

#10 2010-12-17 20:13:33

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: [solved] wrong locale after updating of filesystem package

... and someone should definitely put this in the wiki smile


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#11 2010-12-18 01:14:41

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [solved] wrong locale after updating of filesystem package

Leonid.I wrote:

... and someone should definitely put this in the wiki smile

Is that you volunteering? big_smile

Offline

#12 2010-12-18 19:27:10

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: [solved] wrong locale after updating of filesystem package

anonymous_user wrote:
Leonid.I wrote:

... and someone should definitely put this in the wiki smile

Is that you volunteering? big_smile

I meant KDE users, I have xfce. But thanks for reminding about my debt to the community big_smile


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

Board footer

Powered by FluxBB