Change first day of week in Ubuntu’s Gnome Calendar

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 and first_workday 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:

Tags:


Share This


 


13 Responses to Change first day of week in Ubuntu’s Gnome Calendar

  1. Nice tip. Thanks.

  2. Thanks, works great.

  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

  4. Thanks a lot!

  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.

  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 [...]

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

  8. Peter Schneider

    Works fine for me – Thanks!
    I am a newbee using Ubuntu. Although I am german I prefer to use the English Menues. But having to cope with Sunday as the first day of the week is quite unfamiliar for me. Also I learned a bit more about Ubuntu.
    So thank you very much!
    Peter

    • You’re welcome Peter!

      One of the attractions of Linux for me is that stuff like this is doable. I had a another problem a while ago that was easy to solve in Linux, that you should be able to relate to as a non-English speaker. I wanted an US-English keyboard layout with a few extra characters for Spanish – eg á, é, ü, ñ. I could have used US-International, but wanted something easier to use, so I wrote my own keyboard layout. On Windows you would have to write and compile something, or buy a shareware program :-(

  9. thanks man! my Ubuntu is getting more and more perfect every day!

  10. It works, thanks!

  11. [...] enteré de esto gracias a Sonia Hamilton, quien también provee un script para realizar este cambio automáticamente luego de cada [...]

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>