Change first day of week in Ubuntu’s Gnome Calendar
| 06-Feb-2008 | Posted by Sonia Hamilton under Ubuntu |
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:
Share This
Nice tip. Thanks.
Thanks, works great.
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
Thanks a lot!
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.
[...] 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 [...]
Thanks a lot! It’s work for me. Great advise.
No worries. See also http://soniahamilton.wordpress.com/2009/10/26/script-to-correct-first-day-of-week-in-en_au-locale/ for how to automate this.
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 :-(
thanks man! my Ubuntu is getting more and more perfect every day!
It works, thanks!
[...] enteré de esto gracias a Sonia Hamilton, quien también provee un script para realizar este cambio automáticamente luego de cada [...]