Registered Member
|
Hi,
As the title says currently Sunday is set to be the first day of calendar widget. I would like it to be Monday. How do I do it?
FWIW Korganizer automatically chooses Monday as the first day of the week while the widget doesn't? Regards, Sudhir. |
Manager
|
|
Registered Member
|
KOrganizer has correctly chosen Monday as the first day of the week. The problem is with the plasma widget which still chooses Sunday as the first day of the week. I don't suppose they are related. I have observed as long as I set my locale LANG=en_IN.UTF-8 the calendar will automatically set to use Monday as the first day. Should I file another bug report so that the widget also chooses same settings as KOrganizer.
|
Manager
|
I would file
|
Registered Member
|
I filed the bug which got closed pretty quickly. Calendar follows locale settings. KOrganizer follows some other unknown settings. So I am back to square one. https://bugs.kde.org/show_bug.cgi?id=360965 |
Manager
|
it is available in systemsettings for KDE 4 https://userbase.kde.org/File:Settings-locale.png if you're using 5 then I think it is a QT issue and would be this bug https://userbase.kde.org/File:Settings-locale.png
|
Registered Member
|
Plasma 5 calendar widget and clock's calendar is reading the first day of the week from the Qt locales - The MonthView.qml has line:
With the Arch Linux & Plasma 5.6 the MonthView.qml is a the /usr/lib/qt/qml/org/kde/plasma/calendar/ By the http://doc.qt.io/qt-5/qml-qtqml-locale. ... fWeek-prop :
At here, changing the
to
this will set the Monday as the first day at the week. Full image: http://i.imgur.com/S9eOlJb.png |
Manager
|
Rog131 great work
in openSUSE that file is /usr/lib64/qt5/qml/org/kde/plasma/calendar/MonthView.qml Sudhir Khanger remember that file will be written over during a future upgrade that "Qt.locale().firstDayOfWeek" isn't setable in systemsettings is imho a bug |
Registered Member
|
Thanks google01103, I don't like to modify system files. That's in purview of the package manager especially not when it get over written easily. But thanks for taking time to write it. I will save it for future and hopefully it will be fixed in Qt. |
Registered Member
|
Thanks Rog131. That does work.
|
Registered Member
|
Thanks @Rog131, worked.
However the path was "/usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/calendar/MonthView.qml" for me. |
Registered Member
|
thanks for sharing the useful information :)
|
Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar