On 2017-03-15 20:49, Per Jessen wrote:
jdd wrote:
Le 15/03/2017 à 19:47, Per Jessen a écrit :
I asked the original question - I'm using KDE, sddm and no screensaver. If there's a man page that'll help me put the hostname on the login and lock screen, do tell!
in the kde tools, start and stop, one can choose a theme for sddm. There, for "breeze", at least, one can change the image - or seems to be able to do. anyway it should be possible to add a theme - there is the mail of the image author...
So to get the hostname displayed, I need to create a separate theme? Amazing stuff. I guess it might not be too difficult to clone an image and do the mods, dunno. Just another learning curve, of little subsequent use.
I had a look at "/usr/share/sddm/themes/breeze-openSUSE". There is a "theme.conf" file, which contains: background=components/artwork/1920x1080.jpg which is a relative path. In that location there is a symlink to the actual picture. So you just need to take the picture and add a text to it. No need to create a new theme, just alter one. As to the lock screen . what displays it? I think it is the screensaver. So just choose one that displays a photo. Can be a full black with a text. Perhaps you could create a script that hacks this in any machine reading the current hostname. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith))