You are not logged in.

#1 2022-07-09 15:44:08

B7H7D7
Member
Registered: 2018-01-19
Posts: 34

[SOLVED]Hostname on login and lock screens

Hi,
How to add the host name (as text) to the login and lock screens ?
My systems run with :  Arch Linux x86_64, 5.18.9-arch1-1, Plasma 5.25.2, sddm 0.19.0, KWin, Breeze.

Thanks for your attention,
P.

Last edited by B7H7D7 (2022-07-10 10:57:01)

Offline

#2 2022-07-10 10:56:27

B7H7D7
Member
Registered: 2018-01-19
Posts: 34

Re: [SOLVED]Hostname on login and lock screens

I found myself a solution:
Add the following in Clock.qml to display the host name and change its color :
    QQC2.Label {
        text: sddm.hostName
        color: "#ffff00"
        font.pointSize: 64
        Layout.alignment: Qt.AlignHCenter
    }

This solve only for the login screen. For the lock screen I have no solution right now !

Last edited by B7H7D7 (2022-07-10 11:17:47)

Offline

Board footer

Powered by FluxBB