[xubuntu-users] Niel Winchurst

antoinethewiz wizard at antoinelepenseur.tk
Sat Oct 29 20:21:39 UTC 2011


This is actually your distro that's doing this. Orage is strictly a
GTK+ widget, so it doesn't change these settings. Open up terminal and
type "local day". This should show a list of days. Then type "locale
first_weekday". The number here indicates the first day of the week
from the list that we just saw with "locale day". So there are two
things you can you can do to change this:

(1) Change the LANG environment variable:
         $ echo $LANG                              # displays LANG env var
         en_US.UTF-8                               # example output
         $ export LANG=en_US.UTF-8        # set LANG env var
(2) Change the locale definition file:
         Your definition file should be located in
"/usr/share/i18n/locales/<def file>", but you can use "locate <def
file>" where "<def file>" is the name of your definition file. For me,
it would be en_US since my LANG env var is en_US.UTF-8.
         Use a text editor to modify the def file. I use vim, so I
would do the following command "vi /usr/share/i18n/locales/en_US".
Proceed to find "first_weekday" and change the number accordingly.
         Once you've modified the def file, check to seek that you did
so properly by running "grep first_weekday
/usr/share/i18n/locales/en_US". This should output the appropriate
number that you modified first_weekday to be. Then, recompile your
locale database for the effects to take place.

> Message: 1
> Date: Fri, 28 Oct 2011 17:06:22 +0100
> From: Neil Winchurst <neilwin at drofle.co.uk>
> To: xubuntu-users at lists.ubuntu.com
> Subject: [xubuntu-users] Just joined
> Message-ID: <4EAAD2FE.1020204 at drofle.co.uk>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi there,
>
> have just joined the Xubuntu list. I have been using Linux for about 12
> years now. Started with Suse then moved on to Mandriva. After that I
> spent some years with Kubuntu and recently Mint KDE and Mint Xfce.
>
> For me some of the recent versions are rather OTT and so I am looking at
> Xubuntu. I am working with it in VBox at the moment, which gives me the
> chance to play around without causing any trouble to my main distro,
> which is Mint v 10 KDE.
>
> So far so good except for one thing, When I use a calendar I like the
> weeks to start on a Sunday. At the moment in Xubuntu I cannot work out
> how to do that. When I click on the time button on the panel to bring up
> the calendar it shows the weeks starting on a Monday.
>
> To answer the obvious questions, my locale is set to en_GB and the
> country is set as United Kingdom. I know that Orage uses all that for
> its set up. Am I missing something somewhere please?
>
> Neil




More information about the xubuntu-users mailing list