sonia hamilton – life on the digital bikepath – sonia@snowfrog.net

6 February 2008

Change first day of week in Ubuntu’s Gnome Calendar

Filed under: Ubuntu — Sonia @ 13:50

Under the Australian locale, the first day of the week appears as Sunday rather than Monday, which is incorrect. To change it:

  • check which locale is running, using the locale command (ie en_AU)
  • sudo vi /usr/share/i18n/locales/en_AU and change first_weekday to 2
  • regenerate the locale using sudo locale-gen
  • get the calendar to reload using killall gnome-panel

In another post, I also show how to automate this, so it doesn’t get reset by Ubuntu’s automatic updates.

See also:

8 Comments »

  1. Nice tip. Thanks.

    Comment by Jeremy — 14 February 2008 @ 18:34

  2. Thanks, works great.

    Comment by andrek — 1 April 2008 @ 04:09

  3. You need to change week description instead:

    % Week description, consists of three fields:
    % 1. Number of days in a week.
    % 2. Gregorian date that is a first weekday (19971130 for Sunday, 19971201 for Monday).
    % 3. The weekday number to be contained in the first week of the year.
    %
    % ISO 8601 conforming applications should use the values 7, 19971201 (a
    % Monday), and 4 (Thursday), respectively.
    week 7;19971201;4

    Comment by Volodymyr Lisivka — 15 May 2008 @ 23:10

  4. Thanks a lot!

    Comment by Denis — 17 October 2008 @ 17:19

  5. Volodymyr – I notice that “week description” is only used in a one locale (uk_UA Ukrainian) on Ubuntu. I’ll have a play with adding it to the Australian locale, and update this page.

    Comment by Sonia — 13 November 2008 @ 17:31

  6. [...] day of the week appears as Sunday rather than Monday – yikes, Christianity! The solution is to change the first day of the week in Gnome, and JPilot then picks it [...]

    Pingback by JPilot - Change First Day of Week on Ubuntu « sonia hamilton - life on the digital bikepath - sonia@snowfrog.net — 10 January 2009 @ 18:44

  7. Thanks a lot! It’s work for me. Great advise.

    Comment by Vaclav — 16 November 2009 @ 23:04


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.