How to set Monday as first day of week in Unity Calendar on Ubuntu

Last Updated on April 18, 2021 by admin

Until recently, I didn't notice that the Unity Calendar on my Ubuntu machine shows Sunday as the first day of week. Now, when it did come to my notice, I wanted to change this setting so that Monday becomes the first day. And I am glad that I found a quick solution to my problem.

If you're also looking for a way to make such a change, you'll be glad to know I'll be sharing the solution here. But before I do that, it's worth mentioning that all commands/instructions mentioned in this tutorial have been tested on Ubuntu version 16.04LTS.

Change first week day in Unity calendar

If you also want to make Monday the first day of week in your Unity calendar, just execute the following three commands:

sudo sed 's/first_weekday .*/first_weekday 2/' -i /usr/share/i18n/locales/${LANG%.UTF-8}
sudo locale-gen
killall unity-panel-service

That's it, the above set of commands should do what you want. In case the change doesn't reflect, try logging out and then logging in, or simply restart your machine.

NOTE: To revert the change back, just replace '2' with '1' in the first command, while the next two commands remain same.

Following are the before and after screenshots of the Unity calendar in my case:




Leave a Comment