Problems setting Monday as first day of week
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Calendar |
New
|
Unknown
|
|||
gnome-calendar (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I came across an interesting issue on my Ubuntu 21.10 machine. Originally I wanted to make the calendar applet in the shell menu to start the week on monday so I set up my language section according to the attached picture.
Then I logged out from Gnome and nothing had changed when I logged back in.
Pursuing this issue a bit further I thought of using gnome-calendar to isolate the problem but when I started the program from the application launcher, I noticed that gnome-calendar also had sunday as first day of the week. Digging a little deeper among the tips found through Google, I came across a post suggesting to set up my locale to deal with this situation:
> locale
LANG=sv_SE.UTF-8
LANGUAGE=en
LC_CTYPE=
LC_NUMERIC=
LC_TIME=sv_SE.UTF-8
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=sv_SE.UTF-8
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
> grep first_weekday /usr/share/
first_weekday 2
So, I tried starting gnome-calendar from my gnome-terminal, where I knew the regional settings were correct, and I still got the issue with sunday being the first day of the week. For no real reason I restarted the application just to make sure I hadn't committed a user error but the problem still persisted. Being a bit frustrated at the point I rage-quit the program and just as I did that I realised I had to check an appointment so I quickly started gnome-calendar from the same terminal again and got an error message
GDBus.Error:
When I re-tried starting gnome-calendar from the same terminal again, the application launched and this time with monday as first day of the week.
Steps to reproduce
1. Start gnome-terminal
2. In terminal, issue command gnome-calendar
3. Quit Calendar and issue command gnome-calendar again in the same terminal two more times until error message appears as described above
4. Issue command gnome-calendar
5. Observe start of week is monday (as expected)
This problem only seems to occur when I start the X11 session. I logged into the Wayland session to look at another problem and noticed that the calendar applet in the shell had monday as first day of the week. Starting gnome-calendar (from the shell menu) also presented me with a calendar where monday was the first day of the week.
Logging out and into the X11 session again made the problem, as originally described above, re-appear.
ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: gnome-calendar 41.0-1
ProcVersionSign
Uname: Linux 5.13.0-28-generic x86_64
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: GNOME
Date: Tue Feb 8 17:01:43 2022
InstallationDate: Installed on 2021-10-20 (111 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
SourcePackage: gnome-calendar
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in gnome-calendar: | |
status: | Unknown → New |