When my system goes into the lock screen, my clock and date settings are not the same as the computer. (24-hour vs 12-hour, different date format, etc.).
How does one change that? If it’s not possible, how does one prevent it from showing on the lock screen?
My system info if needed:
Operating System: Fedora Linux 37
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.12-200.fc37.x86_64 (64-bit)
Graphics Platform: X11
Welcome to the Fedoraproject @j-new
It depends on the login manager and the screensaver.
I found this here and hope it helps you to figure out where to set it up:
Thanks, but that’s a bit dated. A search of Fedora 37 had no results for InfoPane.qml.
I checked on my installation and just had to fix the “Region & Language” section in the settings.
If you want to use English_US, let the language as it is. Then just change the rest of the settings to your local settings. I have set it to Portuguese/Brasil and this solved my problem. Of course you have to apply and login to your system again.
Thanks, but that just works for the desktop. The lock screen is still showing the original date format.
Can you please show your
localectl and post it here as a pre-formated text?
This is the result:
System Locale: LANG=en_US.UTF-8
VC Keymap: us
X11 Layout: us
What you have to look for is:
LC_TIME=pt_BR.UTF-8 this has to be a locale who uses the 24Hour standard. How to set in Gui see above.
Be also aware, that this just works after you logged in with your user you changed it.
If you want to have it system wide, you need to change it so, that while booting the changes already
are active. This I do not have in mind how to achieve.
For locale I get:
If I knew were to look, couldn’t I just change US to BR?
You can try it. Settings > “Region & Language” change the rest of the settings, in your case the time settings below the language settings.
Log out and in again and you will see that the login-screen and the lock screen should be in 24Hrs.
That was the very first thing I did. It’s how I discovered the lock screen and the desktop clock are not the same.