You are not logged in.
Pages: 1
$ locale
LANG=en_GB.UTF-8
LC_CTYPE=en_GB.UTF-8
LC_NUMERIC=en_GB.UTF-8
LC_TIME=pl_PL.UTF-8
LC_COLLATE=C
LC_MONETARY=en_GB.UTF-8
LC_MESSAGES=en_GB.UTF-8
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT=pl_PL.UTF-8
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=And I still get month number before day number in dates in Thunderbird, pcmanfm and everywhere else.
Why?
Last edited by Lockheed (2011-10-14 09:28:06)
Offline
Lockheed,
did you uncomment en_GB.UTF-8 in /etc/locale.gen and execute locale-gen ?
My locale looks like:
LANG=en_IE.utf-8
LC_CTYPE=en_IE.UTF-8
LC_NUMERIC=pt_PT.UTF-8
LC_TIME=pt_PT.UTF-8
LC_COLLATE=C
LC_MONETARY=pt_PT.UTF-8
LC_MESSAGES=en_IE.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="en_IE.utf-8"
LC_ALL=and date looks as it should.
Mektub
Follow me on twitter: https://twitter.com/johnbina
Offline
Yes, I did.
Offline
Somehow your settings are not being aknowledge. I had that problem with Conky so i explicitly initialize the locale before executing it.
Try executing:
LC_ALL=en_GB.UTF-8 thunderbirdMektub
Follow me on twitter: https://twitter.com/johnbina
Offline
This actually works, but why, oh why, doesn't it stick?
Offline
Lockheed,
lets see: you should have
LOCALE="en_GB.UTF-8"in /etc/rc.conf
And you should export the initializations:
export LC_CTYPE=en_GB.UTF-8
export LC_NUMERIC=en_GB.UTF-8
...Mektub
Follow me on twitter: https://twitter.com/johnbina
Offline
1, Yes, I do have it.
2. What do you mean? Export to where? What for?
Offline
Lockheed,
you must initialize the "LC_*" variables somewhere, most probably in your ~/.bashrc and ~/.xprofile.
In there, where you have
LC_whatever=en_GB.UTF-8substitute with
export LC_whatever=en_GB.UTF-8Mektub
Follow me on twitter: https://twitter.com/johnbina
Offline
Yes, I added those LC_whatever=en_GB.UTF-8 earlier today as it was one of proposed solutions, but it did not help.
They are located in /etc/profile.d/_locales.sh
# Locale
export LANG="en_GB.UTF-8"
export LC_NUMERIC="en_GB.UTF-8"
export LC_COLLATE="C"
export LC_TIME="pl_PL.UTF-8"
export LC_MONETARY="en_GB.UTF-8"
export LC_MEASUREMENT="pl_PL.UTF-8"
export LC_CTYPE="en_GB.UTF-8"
export LC_MESSAGES="en_GB.UTF-8"As you can see, I already had this in place.
Offline
/etc/profile.d/_locales.sh
Normally this file is called "locale.sh", but that shouldn't matter.
This should work if:
the files in /etc/profile.d are executed from /etc/profile, which they usually are if you didn't mess with it.
the file /etc/profile.d/_locales.sh is executable.
In case of doubt, put the initializations in ~/.xprofile
Mektub
Follow me on twitter: https://twitter.com/johnbina
Offline
I've done this all before posting here.
The /etc/profile is a separate file and I run this through a script in .bashrc
# Check for an interactive session
[ -z "$PS1" ] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
if [ -n "$DISPLAY" ]; then
BROWSER=opera -notrayicon -nomail
fi
if [ -f /etc/profile ]; then
. /etc/profile
fi
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin" Offline
Try the ~/.xprofile suggestion.
Mektub
Follow me on twitter: https://twitter.com/johnbina
Offline
is it going to run itself or do I need to arrange it?
Offline
It runs by itself when the X server starts.
Mektub
Follow me on twitter: https://twitter.com/johnbina
Offline
Thanks, but it did not help...
Offline
Pages: 1