After upgrading to Byzantinum I found that gnome-calendar, gnome-calculator and gnome-todo ignored my regional settings in gnome-control-center.
The solution to my problem I found here: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/526
This issue pointed into the right direction: my environment variables had been wrong.
My variables looked like this:
$ set | grep 'LANG\|^LC_' GDM_LANG=de_DE.UTF-8 LANG=de_DE.UTF-8 LC_ADDRESS=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8 LC_TIME=en_US.UTF-8
Since gnome-[calendar|todo|calculator] seems to set the language according to these variables this explained why they showed me an interface with unexpected regional settings (in gnome-control-center I set my region to Germany).
I found two files in /etc containing settings for these variables:
/etc/default/locale (I deleted it, because it didn’t belong to any package)
/etc/locale.conf (contained the settings like shown above)
The latter belongs on my system to sytemd and has a man page
man locale.conf. I changed the settings, set them in a shell without rebooting and tried calling gnome-calendar and it showed me the german regional settings.
$ . /etc/locale.conf $ set | grep 'LANG\|^LC_' GDM_LANG=de_DE.UTF-8 LANG=de_DE.UTF-8 LC_ADDRESS=de_DE.UTF-8 LC_IDENTIFICATION=de_DE.UTF-8 LC_MEASUREMENT=de_DE.UTF-8 LC_MONETARY=de_DE.UTF-8 LC_NAME=de_DE.UTF-8 LC_NUMERIC=de_DE.UTF-8 LC_PAPER=de_DE.UTF-8 LC_TELEPHONE=de_DE.UTF-8 LC_TIME=de_DE.UTF-8 $ gnome-calendar
After my next reboot I’ll see whether this solved the issue system wide.
Still there are questions open I didn’t look into, yet:
- Which configuration dialog or configure script is supposed to setup /etc/locale.conf?
- Where das gnome-control-center store it’s settings and how do they relate to /etc/locale.conf?
- Is /etc/default/locale really not used (anymore)?
- Where is the correct place to open an issue about this?
Help in research is welcome !