Red Hat Bugzilla – Bug 1289436
Can't set week start to Monday
Last modified: 2016-09-15 08:04:43 EDT
I can't set week start to Monday in Fedora MATE. There is no such selector in the GUI. But previously in earlier Fedoras there were some ways, now I can't anymore.
Generally, I cannot set system language to Russian. There is system-config-language in menu. I suggest when I set language to Russian, the system changes also week start day. System-config-language is set to Russian, but system language doesn't change. I heard at linuxforum.ru this is a common problem. People there said I should execute "localectl set-locale LANG=ru_RU.utf8". This worked for 1 time in Fedora 22, but then I got to 23 and this doesn't work any more.
Generally I don't care much about system language, but I care about Monday weekstart in calendar in mate-panel. In other DE's it is usually set with "country standards" or there's special selector dedicated to that (in Cinnamon e. g.). In Fedora MATE I can't find this. System-config-date doesn't have that. There are also "Clock Preferences" — can't find. But these "Clock Preferences" have the parameter "Show week numbers in calendar" — I don't see any week numbers in calendar in mate-panel. "Time settings" also shows calendar, but still no week numbers, and no week start.
So, how do I set week start to Monday in Fedora MATE?
There was never a setting for changing week start in clock applet.
System-config-language sets the general language for the system and system needs a restart for applying the setting.
You can also change the language in lightdm greeter, note for some reassons you need 2 logouts/login for appying the setting with using lightdm.
I recall that there was a guy on irc channel who had the same problem with the weekstart with swiss-french locale.
In the end it was a problem with the locale file itself.
I quess the week starts on sunday, right?
I need to call the guy to ask him how it gets fixed.
Thank you for the info! Yes, week currently starts on Sunday.
It looks like that those 2 lines are missing in your locale file.
Under /usr/share/i18n/locales i found 8 locale files for rusia and 3 of them dont have this lines.
ce_RU + tt_RU + tt_RU@igtelif
Do you use them?
Try to add this 2 parameter just before the line: END LC_TIME
localedef -v -c -i fr_CH -f UTF-8 fr_CH.UTF-8 (adjust for your locale)
and restart mate-session.
Thank you again very much! My solution was:
Change "first_weekday 1" to "first_weekday 2" (was already present)
sudo localedef -v -c -i en_US -f UTF-8 en_US.UTF-8
Ahh, i missread you post, you wanted to change the english locale.
I am trying to correct this now in Fedora 24 and found /usr/share/i18n/locales/ directory is empty! Where did the locale files go? I again want to set weekstart to Moday instead of Sunday in en_US