Changing the lock screen clock theme

How do i change the type of login screen clock ? by installing theme ? idk how. btw i this is my first time using linux

you can change /usr/share/sddm/themes/(theme_name)/components/Clock.qml or /usr/share/sddm/themes/(theme_name)/Clock.qml depending on where it is.

for example, /Clock.qml >>> Qt.formatTime:

text: Qt.formatTime(timeSource.data["Local"]["DateTime"])

change it to:

text: Qt.formatTime(timeSource.data["Local"]["DateTime"], "H:mm:ss")

save and reboot

then you will have a 24-hour clock which also display seconds

Open System Settings → Search “Formats” → Click “Time” → Select time format what you want.

After changing time format, you need reboot, I think.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.