Registered Member
|
I am using OpenSUSE-Tumbleweed with KDE/Plasma5
Linux 4.3.3-5-default [openSUSE Tumbleweed (20151124) (x86_64)] HP EliteBook 8560p/1618 Core(TM) i7-2620M CPU @ 2.70GHz/1906(4) x86_64 7932 Mb kscreenlocker-5.5.2-1.1.x86_64 kscreenlocker-lang-5.5.2-1.1.noarch kwin-4.11.22-4.1.x86_64 plasma5-desktop-5.5.2-2.1.x86_64 plasma5-session-5.5.2-1.1.noarch plasma5-workspace-5.5.2-1.1.x86_64 I have globally "fixed" the date, time, address, measurements, monetary, and paper formats to sensible display (for my region). I altered them as I want the other stuff to be English/UTF-8. This works great in most if not close to all other applications, but not in the plasma5 lock screen where the time is still shown in the H:MM AP/PM notation, which is not what I want (I want %R instead of %r). 1. %m/%d/%y → %d-%m-%y 2. %a %b %e %H:%M:%S %Z %Y → %a %e %b %Y %H:%M:%S 3. %I:%M:%S %p → %H:%M:%S 4. %r → %R 5. Letter → A4
I dug and dug, but found no option or location where I could change the (imho stupid) %r (AM/PM) notation to %R (24-hour) notation Another minor annoyance is that when I change Workspace Theme > Desktop Theme in systemsettings5 from openSUSE to Breeze, it is somehow not saved and the next desktop starts in openSUSE again. |
Registered Member
|
If there is no other solution then you could edit the qml scripts.
The lock screen is part of the look-and-feel: /usr/share/plasma/look-and-feel/. The Breeze date and time format can be edited from the /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/InfoPane.qml An example Changing the Time/date from: To The InfoPane.qml at here:
Qt Qml time format: http://doc.qt.io/qt-5/qml-qtqml-qt.html ... formatters Not editing the Breeze look and feel theme but copying the theme under another name and editing it: https://www.kubuntuforums.net/showthrea ... post382461 |
Registered Member
|
This applies to lock screen, but not to the login screen when you start the computer.
How can you make it so that it applies to the login screen when you start the computer? Thanks: |
Registered Member
|
It depends The time format of the login screen depends your: - login/display manager. KDE default is the SDDM: https://en.wikipedia.org/wiki/Simple_De ... ay_Manager - login manager theme. KDE default is the Breeze. - system locales: https://en.wikipedia.org/wiki/Locale_(computer_software) Your distribution could have a doc page: How to set/change the system locales. With the Arch Linux (used at here) : https://wiki.archlinux.org/index.php/locale Changing KDE Breeze SDDM theme time format Plasma 5.8 Plasma 5.8 Breeze SDDM theme time format is set at /usr/share/sddm/themes/breeze/components/Clock.qml Changing time format from to with .../breeze/components/Clock.qml:
Note #1 Upgrades will overwrite the changes to the Breeze SDDM theme. A better way is copy the Breeze theme under another name - an example: viewtopic.php?f=289&t=131783#p364567 Note #2 The Breeze theme is depending the plasma version - with the Plasma 5.7.5 the clock time is at .../breeze/components/InfoPane.qml More - SDDM: https://github.com/sddm/sddm -> Docs: https://github.com/sddm/sddm/tree/develop/docs - Date QML Type: http://doc.qt.io/qt-5/qml-qtqml-date.html |
Registered Member
|
Thank you so much for the information.
It is strange that the desktop clock shows 2:01:03 but the login screen and the lock screen shows 02:01:03 as I want. Now, I have to figure out how to show it as 02:01:03 on the desktop. Do you think you can help with that one? Thanks again. |
Registered Member
|
You could edit the digital clock time format - an example - 'My Digital Clock': viewtopic.php?f=17&t=134970&p=361132#p361132 |
Registered Member
|
Thanks again.
I don't have a plasma folder under /.local/share. Can I paste the folder anywhere? I will have to work on this in a few days. I am dealing with cannot load kdesudo error at the moment. Thank you very much for your help. |
Registered Member
|
The KDE is looking things along paths. System: /usr/share/plasma/... User: $HOME/.local/share/plasma/... User home data paths: https://specifications.freedesktop.org/ ... atest.html
Plasma is looking user bits and pieces from $HOME/.local/share/plasma/... User can create and remove things to/from the $HOME as user wish. |
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]