https://bugs.kde.org/show_bug.cgi?id=465880
Bug ID: 465880 Summary: Feature request to add additional text to lock screen and login screen - e.g., via the respective Clock.qml files Classification: Plasma Product: kscreenlocker Version: 5.27.0 Platform: Neon OS: Linux Status: REPORTED Severity: wishlist Priority: NOR Component: general Assignee: plasma-b...@kde.org Reporter: terry.forsy...@iplawpro.com Target Milestone: --- Created attachment 156333 --> https://bugs.kde.org/attachment.cgi?id=156333&action=edit Image of lock screen with requested feature. SUMMARY *** Feature request to add additional text to lock screen and login screen - e.g., via the respective Clock.qml files *** IMPLEMENTATION: 1. For the file /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/Clock.qml, add the following additional section: QQC3.Label { text: "{User Specified Text}" style: softwareRendering ? Text.Outline : Text.Normal styleColor: softwareRendering ? PlasmaCore.ColorScope.backgroundColor : "transparent" //no outline, doesn't matter font.pointSize: {User Specified Font Size} Layout.alignment: Qt.AlignHCenter } 2. For the file /usr/share/sddm/themes/breeze/components/Clock.qml, add the following additional section: PlasmaComponents3.Label { text: "{User Specified Text}" style: softwareRendering ? Text.Outline : Text.Normal styleColor: softwareRendering ? PlasmaCore.ColorScope.backgroundColor : "transparent" //no outline, doesn't matter font.pointSize: {User Specified Font Size} Layout.alignment: Qt.AlignHCenter } 3. Provide GUI menu items in settings (e.q., in Workspace --> Startup and Shutdown --> Login Screen (SDDM) and in Workspace --> Workspace Behavior --> Screen Locking) for the user to enter the {User Specified Text} and {User Specified Font Size} into the respective Clock.qml files. BACKGROUND - REASON FOR THE FEATURE REQUEST I have Neon and Arch, both using KDE Plasma, on my computer. Sometimes after being away from the computer for a while I forget which distribution I am in. So, I modify the Clock.qml files to add text indicating the distribution. However, sometimes Plasma updates overwrite the changes I made - this has happened multiple times. I then have to go back and manually edit the Clock.qml files in both distributions to get the text back onto the lock screens and login screens. I can make the Clock.qml files immutable, and I believe this will prevent them from being overwritten with updates (I have not confirmed this will work, but just today did make the files immutable). My concern is, however, that if a future update requires the Clock.qml files to be updated, leaving the files immutable may cause them to become inoperable. E.g., QQC3.Label used to be QQC2.Label, and PlasmaComponents3.Label used to be PlasmaComponents2.Label. I'm not sure what will happen if in Plasma 6.0 these need to be changed to QQC4.Label and PlasmaComponents4.Label, or something else, or whether the qml syntax will change with Plasma 6 and require changes in the Clock.qml files. Thus, I'm not confident making the Clock.qml files immutable is the correct approach. Hence the reason for the feature request. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Neon and Arch/KDE (available in About System) KDE Plasma Version: 5.27.0 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 -- You are receiving this mail because: You are watching all bug changes.