Orage Calender Month Display Starts on Tuesday?

Scott Morgan blumf at blueyonder.co.uk
Fri Jan 28 14:54:41 CET 2011


On 28/01/11 13:19, Scott Morgan wrote:
> On 28/01/11 12:54, Andrew wrote:
>> On 01/28/2011 01:39 PM, Scott Morgan wrote:
>>> For some reason the month display has started showing the first day of
>>> the week as Tuesday.
>>>
>> I've suffered from this for some time and the only way I can get round
>> it is by setting LANG=en_US instead of en_GB.
> Humm.. something stupid with the GB locale definitions?

Indeed:

$ LANG=en_GB locale first_weekday
2
$ LANG=en_US locale first_weekday
1

So (under Slackware 13.0)...

As root:

1: Edit /usr/share/i18n/locales/en_GB (and/or en_GB.utf8 if you're using
that)
1.1: Find the line "first_weekday 2" and change that '2' to a '1'
2: mkdir /tmp/en_GB
3: localedef -f ISO-8859-1 -i en_GB /tmp/en_GB
(change 'ISO-8859-1' to 'UTF8' as needed)
4: cd /usr/lib/locale
5: mv en_GB en_GB.bak
6: mv /tmp/en_GB ./

Done, restart what needs restarting (i.e. log out and back into XFCE to
bump Orage) and...

$ LANG=en_GB locale first_weekday
1

Scott





More information about the Xfce mailing list