26

I've been dealing with different regional settings (US, Canada and other locations in English, as well as other countries and languages), but I cannot get GNOME Shell Calendar to begin with Monday, instead of Sunday. I have even modified the en_US file in /usr/share/i18n/locales/ (line: first workday: 1). All without success. My question is: is it hard-coded in GNOME Shell or it can be changed?

Answers to this previous question doesn't apply to GNOME Shell.

Screenshot

1

1 Answer 1

31

To adjust this, change or add the following lines in the LC_TIME section in /usr/share/i18n/locales/<your_locale>:

week            7;19971130;5
first_weekday   2
first_workday   2

(first_weekday 2 sets Monday as the first day of the week, and first_workday 2 sets Monday as the first work day of the week.)

And then update the system:

sudo locale-gen

Then log out and log in again.

1
  • I made this change on my system, but it seems to have gotten wiped after an upgrade. To avoid that, I ended up making my own locale file, putting it in /usr/local/share/i18n/locales/, then running sudo dpkg-reconfigure locales. It was quite a process and there's a bunch more setup I haven't mentioned here. If anyone knows an easier way, I'm all ears.
    – wjandrea
    Feb 20 at 0:57

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.