What is the recommended way to change the first day of the week to Monday (instead of Sunday, as in the screenshot below)?

alt text

I couldn't find anything related in Clock Preferences, nor in System -> Preferences, or System -> Administration.

This probably has something to do with tweaking locales, so here's (possibly relevant) output from locale:


NB: I want to keep English as the UI language both in GNOME and on command line. Dates are currently displayed like this (e.g. ls -l): 2010-10-06 15:32, and I also want to keep that as it is.

  • 1
    There is a very good explanation on how to do this at ubuntu forums! Check out this link and you'll get it done in 2 minutes. http://ubuntuforums.org/showthread.php?t=813945
    – Antonis
    Oct 11, 2010 at 16:02
  • +1, that works (after logging out & back in; killall gnome-panel wasn't enough). However, someone in the thread pointed out that: "While this is useful and will do the trick temporarily, it will only work until the "locales" package is updated or reinstalled, because then this file will be overwritten/replaced with a new one from the locales package". I also found another solution, which I'll post shortly...
    – Jonik
    Oct 12, 2010 at 14:50
  • 2
    prometheus's answer to a similar question suggest adding first_weekday 2 and first_workday 2 in the LC_TIME section in /usr/share/i18n/locales/<your_locale>. Sep 19, 2017 at 10:07
  • They should align to the iso by default.
    – Benjam
    May 24, 2020 at 12:37

12 Answers 12


Here's another solution, also from Ubuntu Forums. I think this is somewhat cleaner and more robust: it doesn't involve customizing Ubuntu's locale files (only settings that you're supposed to edit).

Gnome calendar applet adheres to your locale settings. In Ubuntu, you can assign locale components by editing the file /etc/default/locale. Here is what I've got there:


Which means: I want software messages in American, but time, paper size and units in British i.e.weeks starting with Mondays, A4, metric.

Props to artm who posted that!

Of course, LC_TIME="en_GB.UTF-8" is the relevant setting to get weeks to start on Mondays.

You need to log out and back in for the change to take effect.

  • 4
    Of course, the above is a system-wide solution. To configure this on a per-user basis, see Victor's answer.
    – Jonik
    Nov 1, 2011 at 10:22
  • 12
    Any way to reload it without rebooting?
    – wdev
    Nov 15, 2012 at 9:49
  • 3
    For me, using Xubuntu 14.04, the system-wide solution did not work: after rebooting, the week in the panel's clock (the xfce clock) still began with Sunday even after rebooting. Victor's per-user solution did work, though. Dec 17, 2015 at 9:57
  • 1
    This doesn't seem to work with fr_CA.UTF-8 on 14.04 or 16.04.
    – wjandrea
    May 18, 2017 at 5:29
  • 3
    en_GB.UTF-8 locale should be pre-generated before setting LC_TIME it like this (sudo dpkg-reconfigure locales). Feb 18, 2018 at 11:39

The best solution for me is to do this on a per-user basis in my own home directory. That way I don't have to edit a system-wide file. (Of course if you want this setting for all of the users on your system you are obviously forced to edit system files.)

What I do is edit the file ~/.xsessionrc to contain the line "export LC_TIME=en_GB.utf8". That's it.

  • 2
    Seems like putting that line in my .bashrc also has done the trick, which is nice, although I didn't expect that. I guess gnome sources that file or possibly .profile when it boots up? (My .profile sources .bashrc.) My .xsessionrc is gone, so it must work.
    – Victor
    Feb 2, 2012 at 18:17
  • 2
    This doesn't appear to work for me anymore with GNOME 3.6. What I've done instead is place the line export LC_TIME=en_GB.UTF-8 in a file called .gnomerc in my home directory. That seems to have done the trick.
    – Victor
    Nov 28, 2012 at 22:45

On Ubuntu 12.04 (and later versions I suppose), the easiest way seems to be: System Settings > Language Support, then click on Regional Formats tab and choose from the drop-down list.
In my case I chose "English (Ireland)" which gave me Monday as first day in the calendar, "correct" number formats and currency, and other goodies :)
If you don't find the right option there, you might need to install a language (the other tab of the same window).

  • 1
    Top two solutions did not work for me, but this one did! Thanks a lot! (Ubuntu MATE 18.04, for the record)
    – egor83
    Aug 7, 2020 at 15:50

The time and date formats in Ubuntu (tried 12.x) are controlled by the locale settings. First you need to find out the current locale being used to control your time and date settings. Open a terminal and enter the following command.

locale | grep LC_TIME

You should see a result that looks something like


Change to the locale directory and copy the current locale file to create a new custom file. Adjust the for your locale.

cd /usr/share/i18n/locales
sudo cp en_US en_US_custom

Now edit the new custom file.

sudo gedit en_US_custom

And change

first_weekday 1


first_weekday 2

Then make the change in /etc/environment to point to your new custom file.

sudo gedit /etc/environment

Add a line like this to the bottom of the file making sure to adjust it for the custom locale file you want to use.


Source: http://tuxtweaks.com/2008/12/change-the-week-start-day-in-ubuntu/

  • 2
    Why should one prefer this approach to editing /etc/default/locale (which is simpler)?
    – Jonik
    Nov 8, 2012 at 12:30
  • 1
    Because in my case, editing /etc/default/locale didn't work. This did. Nov 10, 2012 at 11:18
  • 1
    killall unity-panel-service after the changes to apply this without reboot. Mar 26, 2014 at 13:13
  • 2
    prometheus's answer on a similar question is related, but mentions you need to run sudo locale-gen after modifying the locale files; that did it for me.
    – wjandrea
    May 18, 2017 at 6:04
  • In Ubuntu 16.04 LTS this approach doesn't work
    – Viktor
    Aug 18, 2017 at 5:54

Based on this page, the settings should go in .pam_environment or .profile https://help.ubuntu.com/community/EnvironmentVariables#A.2BAH4ALw.pam_environment

My default .profile is sourcing .bashrc so I added these lines to my .bashrc since I already have it under source control.

#Change first day of week to Monday
export LC_TIME=en_GB.UTF-8
#Change to metric system

I'm running 14.04.1

enter image description here

UPDATE: 01/15/16 Ubuntu 14.04.03

Having these lines in my .bashrc stopped working earlier this year. Moving the same lines to either .pam_environment or .profile does work. This is a user setting, not system-wide.

  • 14.04.1 updates installed yesterday broke this functionality Feb 17, 2015 at 15:38
  • Putting export LC_TIME=en_GB.UTF-8 into .personal is a third option that also works. Aug 12, 2018 at 16:46
  • This should be the correct answer. It allows a custom combination of locale settings. The environment variables should go into ~/.profile as long as ~/.bashrc does not exist. Eport command is not required.
    – LUser
    May 16, 2020 at 11:31

For me the advice at https://wired-mind.info/post/528 worked.

Edit the file /usr/share/i18n/locales/en_US

sudo nano /usr/share/i18n/locales/en_US

Find this section:

week 7;19971130;7 

first_weekday   1 

first_workday   2

Set first_weekday to equal 2.

Save and exit the file, then perform:

sudo locale-gen

In my case locale-gen regeneration was important to start to see the change.


For me the easiest way was to update formats in Region & Language Go to Settings->Region & Language and choose your format.

The system will force you to logoff and login to reflect the changes.



This is already a very old topic, I added this answers as reference to future readers looking for the same problem but want a way with less hacking

Use en_DK as locale.

This locale was developed as an official way of writing English in Denmark but it is used outside Denmark, as some sort of generic continental European English locale. It solves the most annoying problems with en_US and does not require any modification of system files. If a more fine tuned solution in desired - the other answers are excellent.

  • Thanks for the +1 today it reminded me I knew how to fix this problem I have had on this new computer I had for a few weeks.
    – Simson
    Sep 1, 2021 at 1:38

Setting first_weekday in locale

First, determine which time locale is in use. The system wide setting in /etc/default/locale may or may not be overwritten in ~\.pam_environment.

$ cat ~\.pam_environment

Here, the locale en_IE.UTF-8 appears to be in use. Now, edit the locale source file with administrator privileges. The editor vim is used here, but this can be replaced by, say nano.

$ sudo vim /usr/share/i18n/locales/en_IE

Add the following lines and save the modified locale source file.

first_weekday  2
first_workday  2

Finally, regenerate the locale files with the following command:

$ sudo locale-gen

Log out and in again for this change to take effect.


None of the answers worked for me perfectly. Changing "/etc/default/locale" did not work at all. In settings I did not have my needed format. And after changing ".pam_environment", my "LC_TIME" changed to default "C" locale. I tried "sudo locale-gen", but it did not generate my necessary locale. So I had to force it with command "sudo locale-gen lv_LV.UTF-8". And after restart everything started to work correctly.


I just want to note, that the default user folder for setting the locale is: ~/.config/locale.conf. It may be different if $XDG_CONFIG_HOME is set to something else. As pointed out earlier, the system config /etc/default/locale is used as a fallback value.

Setting LC_TIME="en_GB.UTF-8" is sufficient. You do not need to set the other variables in order to get the week starting day correct.


Just open the terminal in the folder: /etc/default

and use: sudo update-locale LC_TIME="en_GB.UTF-8"

and restart

source: -first answer and -https://www.thomas-krenn.com/en/wiki/Configure_Locales_in_Ubuntu

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.