Monday as first day of week - Ubuntu

Sep 13, 2010
Tested on: Ubuntu 10.04 (Lucid Lynx)

The calendar, which pops on mouse click over clock in Gnome panel, generally has Sunday as first day of week. This may not be a desired behavior if you use this calendar to manage all your appointments etc. Following are the steps to make Monday or any other day as first day of week.

The calendar and time etc are associated with the local settings. Use following command to know current locale-specific information.
locale In my case it produces the following output: LANG=en_US.utf8 LC_CTYPE="en_US.utf8" LC_NUMERIC="en_US.utf8" LC_TIME="en_US.utf8" LC_COLLATE="en_US.utf8" LC_MONETARY="en_US.utf8" LC_MESSAGES="en_US.utf8" LC_PAPER="en_US.utf8" LC_NAME="en_US.utf8" LC_ADDRESS="en_US.utf8" LC_TELEPHONE="en_US.utf8" LC_MEASUREMENT="en_US.utf8" LC_IDENTIFICATION="en_US.utf8" LC_ALL= Locale in my case is en_US. Then the specific locale file have to edited for the required change. Use following command (replace en_US by your locale):
sudo nano /usr/share/i18n/locales/en_US Search for "first_weekday" & "first_workday" and set both of them to 2 or any other value depending on your choice of first day of week. Sunday is represented by number 1.
first_weekday    2 first_workday    2 Then run following to compile the changes to locale definition files.
sudo locale-gen Logout and login. Or you can also run the following to avoid logout: killall gnome-panel It should do the trick.