Carlos E. R. wrote:
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.
On every machine I install? What if the hostname changes?
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.
I asked about screensavers a while ago, I'm sure I was told they're all gone. No need or no interest.
Perhaps you could create a script that hacks this in any machine reading the current hostname.
Just a thought - an awful lot of work for something that used to be standard. -- Per Jessen, Zürich (7.7°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org