[opensuse] leap42.1 - how do I get the hostname displayed on the GUI login/lock screen?
$SUBJ says it all - I'm missing the hostname. When several PC are connected via a kvm switch it's handy being able to tell where you are logging in. -- Per Jessen, Zürich (4.6°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/8/2015 6:19 AM, Per Jessen wrote:
$SUBJ says it all - I'm missing the hostname. When several PC are connected via a kvm switch it's handy being able to tell where you are logging in.
KDE? Desktop Config panel Bottom Section, Login Screen General: Uncheck Use Theamed Greeter Pretty much done, unless you want to fiddle with some other tabs. It then says Welcome to [machine] at [network] on the login screen. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/8/2015 1:26 PM, John Andersen wrote:
On 12/8/2015 6:19 AM, Per Jessen wrote:
$SUBJ says it all - I'm missing the hostname. When several PC are connected via a kvm switch it's handy being able to tell where you are logging in.
KDE?
Desktop Config panel Bottom Section, Login Screen General: Uncheck Use Theamed Greeter Pretty much done, unless you want to fiddle with some other tabs. It then says Welcome to [machine] at [network] on the login screen.
Oops. These directions apply to 3.12, so you will have to look for the same settings in Leap. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen composed on 2015-12-08 15:19 (UTC+0100):
$SUBJ says it all - I'm missing the hostname. When several PC are connected via a kvm switch it's handy being able to tell where you are logging in.
One way is to install and use KDM, and set UseTheme=false in kdmrc. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
John Andersen wrote:
On 12/8/2015 1:26 PM, John Andersen wrote:
On 12/8/2015 6:19 AM, Per Jessen wrote:
$SUBJ says it all - I'm missing the hostname. When several PC are connected via a kvm switch it's handy being able to tell where you are logging in.
KDE?
Desktop Config panel Bottom Section, Login Screen General: Uncheck Use Theamed Greeter Pretty much done, unless you want to fiddle with some other tabs. It then says Welcome to [machine] at [network] on the login screen.
Oops. These directions apply to 3.12, so you will have to look for the same settings in Leap.
Thanks John - I did find something like that, although I don't see an option for using no themed greeter. The default themes are pretty boring too. And slow - even just accessing the overview screen with the themes took more than a minute. @Felix, for testing I think I want to stick to sddm, the preferred DM for Plasma. If I'm to migrate to Leap at some point, I'd prefer to have a minimum of local customizations. -- Per Jessen, Zürich (6.9°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen composed on 2015-12-09 10:31 (UTC+0100):
@Felix, for testing I think I want to stick to sddm, the preferred DM for Plasma. If I'm to migrate to Leap at some point, I'd prefer to have a minimum of local customizations.
All dms other than kdm have radically fewer configuration options than kdm, omitting one I always set to a non-default value, so it's the only one I use regardless of distro or release version. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Dec 8, 2015 at 3:19 PM, Per Jessen
$SUBJ says it all - I'm missing the hostname. When several PC are connected via a kvm switch it's handy being able to tell where you are logging in.
Revisting this thread: I have not yet found an easy way to simply display the local hostname of the machine my leap 42.2 is running on. Fresh 42.2 install for example, the internet is not even straight about if its supposedly an sddm thing to look for or a kde plasma 5.8? thing or whatever. Is there a way to simply add the hostname, like that clock for example is showing the current time? I don't want to draw pixels or stuff, so I wondered if it was possible to simply display some user configurable text on screen? TIA. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, 14 Mar 2017 18:03:13 +0100
cagsm
On Tue, Dec 8, 2015 at 3:19 PM, Per Jessen
wrote: $SUBJ says it all - I'm missing the hostname. When several PC are connected via a kvm switch it's handy being able to tell where you are logging in.
Revisting this thread:
I have not yet found an easy way to simply display the local hostname of the machine my leap 42.2 is running on. Fresh 42.2 install for example, the internet is not even straight about if its supposedly an sddm thing to look for or a kde plasma 5.8? thing or whatever. Is there a way to simply add the hostname, like that clock for example is showing the current time? I don't want to draw pixels or stuff, so I wondered if it was possible to simply display some user configurable text on screen?
You mean something like xmessage `uname -n` -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Mar 14, 2017 at 7:29 PM, Dave Howorth
You mean something like xmessage `uname -n`
logon / lock screen? how would you run that permanently for the lock and logon screens? the problem here i describe is not a changing hostname of some sort. but to merely print some say courier fontfaced text with a constant string. pretty simple. but how to put it without editing the jpeg or whatever graphics files of some designs of kde and so on? how to only add some simple text ontop? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, 14 Mar 2017 19:35:13 +0100
cagsm
On Tue, Mar 14, 2017 at 7:29 PM, Dave Howorth
wrote: You mean something like xmessage `uname -n`
logon / lock screen? how would you run that permanently for the lock and logon screens?
Ah, sorry, I didn't read properly.
the problem here i describe is not a changing hostname of some sort. but to merely print some say courier fontfaced text with a constant string. pretty simple. but how to put it without editing the jpeg or whatever graphics files of some designs of kde and so on? how to only add some simple text ontop?
You'd need to tell us which display manager and which screensaver you use, but then you can read their manpages as well as us, I suppose. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Mar 14, 2017 at 7:49 PM, Dave Howorth
logon / lock screen? how would you run that permanently for the lock and logon screens? Ah, sorry, I didn't read properly. the problem here i describe is not a changing hostname of some sort. but to merely print some say courier fontfaced text with a constant string. pretty simple. but how to put it without editing the jpeg or whatever graphics files of some designs of kde and so on? how to only add some simple text ontop? You'd need to tell us which display manager and which screensaver you use, but then you can read their manpages as well as us, I suppose.
The problem here is that is why I came to the list actually, I have not really an idea about all these layers especially the graphics stack of todays Linux. I have a machine that is a fresh 42.2 install, with kde selected during the installer. Thats all I can tell for example for that machine. I read about sddm and all sorts of things. So what is the default 42.2 graphics way to do things? Thats what I have. That is where I try to show a simple text for the user to be able to tell what machine she is accessing for example at the lock screen. Or better say logon screen. Its not even about screensavers I guess. Basic login. After bootup. That screen. TIA -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2017-03-15 17:44, cagsm wrote:
The problem here is that is why I came to the list actually, I have not really an idea about all these layers especially the graphics stack of todays Linux. I have a machine that is a fresh 42.2 install, with kde selected during the installer. Thats all I can tell for example for that machine. I read about sddm and all sorts of things. So what is the default 42.2 graphics way to do things? Thats what I have. That is where I try to show a simple text for the user to be able to tell what machine she is accessing for example at the lock screen. Or better say logon screen. Its not even about screensavers I guess. Basic login. After bootup. That screen.
How about replacing the default background picture? I think we can find a CLI command to add text to a graphic. Needs finding where the picture is saved or if it is configurable. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith))
Dave Howorth wrote:
On Tue, 14 Mar 2017 19:35:13 +0100 cagsm
wrote: On Tue, Mar 14, 2017 at 7:29 PM, Dave Howorth
wrote: You mean something like xmessage `uname -n`
logon / lock screen? how would you run that permanently for the lock and logon screens?
Ah, sorry, I didn't read properly.
the problem here i describe is not a changing hostname of some sort. but to merely print some say courier fontfaced text with a constant string. pretty simple. but how to put it without editing the jpeg or whatever graphics files of some designs of kde and so on? how to only add some simple text ontop?
You'd need to tell us which display manager and which screensaver you use, but then you can read their manpages as well as us, I suppose.
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! -- Per Jessen, Zürich (11.9°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, 15 Mar 2017 19:47, Per Jessen
Dave Howorth wrote:
On Tue, 14 Mar 2017 19:35:13 +0100 cagsm
wrote: On Tue, Mar 14, 2017 at 7:29 PM, Dave Howorth
wrote: You mean something like xmessage `uname -n`
logon / lock screen? how would you run that permanently for the lock and logon screens?
Ah, sorry, I didn't read properly.
the problem here i describe is not a changing hostname of some sort. but to merely print some say courier fontfaced text with a constant string. pretty simple. but how to put it without editing the jpeg or whatever graphics files of some designs of kde and so on? how to only add some simple text ontop?
You'd need to tell us which display manager and which screensaver you use, but then you can read their manpages as well as us, I suppose.
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!
Well , looking at the "sparse" docu / man-pages, (joke! I tell you.) even looking at the code upstream (https://github.com/sddm/sddm), it looks like either your theme provides a special space for the hostname, or you are out of luck. AFAICT, there is no theme that provides a placeholder for a "hostname". So, no-go with the hyped sddm for this case. (If there is a way, -- please PROVE me wrong, just saying so is not worth the bytes. This search took near 1/2 hour and gave NOTHING.) - Yamaban. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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... jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 15/03/2017 à 20:32, jdd a écrit :
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...
jdd
well, it works (just done) so if it's only to add the hostname it should be possible to add it to the image with imagemagick it's even scriptable jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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. -- Per Jessen, Zürich (11.3°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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))
Le 15/03/2017 à 20:49, Per Jessen a écrit :
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.
probably only add the name on the original image an other way could be to track the user name in the source and add the hostname next to it (or in it), loke "per (os422-linux-oute)" :-) jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, 15 Mar 2017 19:47:42 +0100
Per Jessen
Dave Howorth wrote:
On Tue, 14 Mar 2017 19:35:13 +0100 cagsm
wrote: On Tue, Mar 14, 2017 at 7:29 PM, Dave Howorth
wrote: You mean something like xmessage `uname -n`
logon / lock screen? how would you run that permanently for the lock and logon screens?
Ah, sorry, I didn't read properly.
the problem here i describe is not a changing hostname of some sort. but to merely print some say courier fontfaced text with a constant string. pretty simple. but how to put it without editing the jpeg or whatever graphics files of some designs of kde and so on? how to only add some simple text ontop?
You'd need to tell us which display manager and which screensaver you use, but then you can read their manpages as well as us, I suppose.
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!
OK the screensaver normally provides the lock screen. What are you using instead? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, 15 Mar 2017 21:43:47 +0000
Dave Howorth
On Wed, 15 Mar 2017 19:47:42 +0100 Per Jessen
wrote: Dave Howorth wrote:
On Tue, 14 Mar 2017 19:35:13 +0100 cagsm
wrote: On Tue, Mar 14, 2017 at 7:29 PM, Dave Howorth
wrote: You mean something like xmessage `uname -n`
logon / lock screen? how would you run that permanently for the lock and logon screens?
Ah, sorry, I didn't read properly.
the problem here i describe is not a changing hostname of some sort. but to merely print some say courier fontfaced text with a constant string. pretty simple. but how to put it without editing the jpeg or whatever graphics files of some designs of kde and so on? how to only add some simple text ontop?
You'd need to tell us which display manager and which screensaver you use, but then you can read their manpages as well as us, I suppose.
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!
OK the screensaver normally provides the lock screen. What are you using instead?
PS BTW if you used xscreensaver then in the advanced tab of the preferences dialog you would se an option labelled Host Name and Time Don't be a fashion victim, just use standard stuff. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
cagsm composed on 2017-03-15 17:44 (UTC+0100): ... If you're not married to sddm, you can still switch back even in 42.2 to kdm, where including hostname in the greeter string is the traditional default. Look around line 344 et. seq. in kdmrc at %n. You may need to change useTheme to false much later in the file, which I always do, so don't know whether openSUSE's theme would override it. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Dave Howorth wrote:
On Wed, 15 Mar 2017 19:47:42 +0100 Per Jessen
wrote: Dave Howorth wrote:
On Tue, 14 Mar 2017 19:35:13 +0100 cagsm
wrote: On Tue, Mar 14, 2017 at 7:29 PM, Dave Howorth
wrote: You mean something like xmessage `uname -n`
logon / lock screen? how would you run that permanently for the lock and logon screens?
Ah, sorry, I didn't read properly.
the problem here i describe is not a changing hostname of some sort. but to merely print some say courier fontfaced text with a constant string. pretty simple. but how to put it without editing the jpeg or whatever graphics files of some designs of kde and so on? how to only add some simple text ontop?
You'd need to tell us which display manager and which screensaver you use, but then you can read their manpages as well as us, I suppose.
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!
OK the screensaver normally provides the lock screen. What are you using instead?
Uh, I thought all the screensavers were gone - I'm using a completely default Leap422+KDE setup. -- Per Jessen, Zürich (7.7°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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
Felix Miata wrote:
If you're not married to sddm, you can still switch back even in 42.2 to kdm, where including hostname in the greeter string is the traditional default.
I am not particular keen on sddm, I never chose it. What I am keen on is keeping the local customizations simple and low in number (based on the default), but it feels like I'm rapidly loosing that game. -- Per Jessen, Zürich (7.7°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen composed on 2017-03-15 23:36 (UTC+0100):
Felix Miata wrote:
If you're not married to sddm, you can still switch back even in 42.2 to kdm, where including hostname in the greeter string is the traditional default.
I am not particular keen on sddm, I never chose it. What I am keen on is keeping the local customizations simple and low in number (based on the default), but it feels like I'm rapidly loosing that game.
By definition, KDM provides more features: https://en.wikipedia.org/wiki/Simple_Desktop_Display_Manager IOW, the default replacement delivers feature loss. kdebase3-kdm is another alternative, possibly less demanding of disk space? TDM also. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2017-03-15 23:33, Per Jessen wrote:
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?
Hum. Good point. Then the script has to run on every boot, creating your copy of the background. On /etc/cron.d/something @boot, perhaps. Make the theme point to your file (probably with sed or something), and make sure the file contains the correct text.
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.
Ah. Maybe on KDE, but certainly not on XFCE (and I guess Gnome). It is xscreensaver which locks the display for sure. I can see it in "ps afxu" output. I don't run KDE, so I can't verify what app or thing displays the lock screen. What do you get when it locks, black? diplay powers off? What happens when you push a key, what do you get? A prompt text? No image?
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.
Yes. Such is progress. Software is replaced, not improved. Maintenance mode is gone. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith))
On 2017-03-15 23:30, Per Jessen wrote:
OK the screensaver normally provides the lock screen. What are you using instead?
Uh, I thought all the screensavers were gone - I'm using a completely default Leap422+KDE setup.
On XFCE I do not have a screensaver defined, just power down the display. But xscreensaver certainly runs. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith))
Carlos E. R. wrote:
On 2017-03-15 23:30, Per Jessen wrote:
OK the screensaver normally provides the lock screen. What are you using instead?
Uh, I thought all the screensavers were gone - I'm using a completely default Leap422+KDE setup.
On XFCE I do not have a screensaver defined, just power down the display. But xscreensaver certainly runs.
I guess I was reading "screensavers" to mean the various themes and interesting displays previously offered. As for what causes the screen to lock up after a timeout, I don't know - whatever the default is. -- Per Jessen, Zürich (4.6°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Carlos E. R. wrote:
On 2017-03-15 23:33, Per Jessen wrote:
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?
Hum. Good point. Then the script has to run on every boot, creating your copy of the background. On /etc/cron.d/something @boot, perhaps.
Make the theme point to your file (probably with sed or something), and make sure the file contains the correct text.
I'm sure I can solve the problem if I put my mind to it, but I want to keep things minimal and simple. It has to be repeated on every install and the list of customisations is only growing longer and longer. I was hoping to be able to add '$hostname' to some file somewhere :-)
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.
Ah. Maybe on KDE, but certainly not on XFCE (and I guess Gnome). It is xscreensaver which locks the display for sure. I can see it in "ps afxu" output.
The software that locks the screen is still installed by default, but there is no "screensaver" in the traditional sense of the word: https://en.wikipedia.org/wiki/Screensaver
I don't run KDE, so I can't verify what app or thing displays the lock screen. What do you get when it locks, black? diplay powers off? What happens when you push a key, what do you get? A prompt text? No image?
When it locks, the screen goes black, later the monitor goes into power saving mode. When I hit a key, the lock/login screen is shown with the time and date and a field for the password.
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.
Yes. Such is progress. Software is replaced, not improved. Maintenance mode is gone.
Actually, when something new is worse than what it replaces, it's called regression. -- Per Jessen, Zürich (4.6°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
jdd wrote:
Le 15/03/2017 à 20:32, jdd a écrit :
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...
jdd
well, it works (just done)
so if it's only to add the hostname it should be possible to add it to the image with imagemagick
it's even scriptable
Great, now I just need to write the script and have it run on every start-up (just in case the hostname changes), and on every new install. Somehow it reminds me of Alan Cox' words "... pigs can be made to fly given sufficient thrust." Maybe I'm old-fashioned, but adding the hostname to the login screen ought to be a matter for vi and a config file. -- Per Jessen, Zürich (5.1°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 16/03/2017 à 08:24, Per Jessen a écrit :
Great, now I just need to write the script and have it run on every start-up (just in case the hostname changes),
why should a hostname change? It's even no so simple to make a change that don't break the install (it's not sufficient to change with the hostname function)
Maybe I'm old-fashioned, but adding the hostname to the login screen ought to be a matter for vi and a config file.
copy paste a script is not more difficult what is the use of displaying this info, on the beginning (to help find a suitable solution)? jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, 16 Mar 2017 08:44, jdd wrote:
Le 16/03/2017 à 08:24, Per Jessen a écrit :
Great, now I just need to write the script and have it run on every start-up (just in case the hostname changes),
why should a hostname change? It's even no so simple to make a change that don't break the install (it's not sufficient to change with the hostname function)
Maybe I'm old-fashioned, but adding the hostname to the login screen ought to be a matter for vi and a config file.
copy paste a script is not more difficult
what is the use of displaying this info, on the beginning (to help find a suitable solution)?
jdd
Think of bigger environs, a office with more than say 4 desktops, or a classroom, esp. in conjunction with "hostname-via-dhcp", and service done mostly remote, or even via puppet or similar tools, or even full-blown pxe / nfs setups. I've done similar setups during my time in university / student-admin during the late 1990ies, most of the time we used xdm, which made that task easy. Yeah, easy config via fully documented config-file seems to go the way of the dodo, at least where desktops / GUI are concerned. - Yamaban.
On 15.03.2017 23:36, Per Jessen wrote:
Felix Miata wrote:
If you're not married to sddm, you can still switch back even in 42.2 to kdm, where including hostname in the greeter string is the traditional default.
I am not particular keen on sddm, I never chose it. What I am keen on is keeping the local customizations simple and low in number (based on the default), but it feels like I'm rapidly loosing that game.
You could also have a look at lightdm; that one displays the host name by default (at least on my Leap 42.2 test installation - where also XScreenSaver displays the host name on the (un)lock screen by default). -- Cahn's Axiom: When all else fails, read the instructions. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 16/03/2017 à 10:07, Yamaban a écrit :
I've done similar setups during my time in university / student-admin during the late 1990ies, most of the time we used xdm, which made that task easy.
me too, the reason why I asked to know the context, it's sometime faster to stick hostname/IP on the computer forefront :-) jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
jdd wrote:
Le 16/03/2017 à 08:24, Per Jessen a écrit :
Great, now I just need to write the script and have it run on every start-up (just in case the hostname changes),
why should a hostname change?
It happens - to keep up with naming conventions for instance. These are mostly plain office systems.
It's even no so simple to make a change that don't break the install (it's not sufficient to change with the hostname function)
Huh? I only need to change the DHCP setting, that's all - a machine that used to be office55 will now be called office32.
Maybe I'm old-fashioned, but adding the hostname to the login screen ought to be a matter for vi and a config file.
copy paste a script is not more difficult
More effort, hence more risk of failing. Add the systemd service unit to be run after the network is up etc, and soon we have a small package. On the login screen, I see time and date displayed, it surely cannot be a big deal to have other information displayed too?
what is the use of displaying this info, on the beginning (to help find a suitable solution)?
It's all about finding out if you are on the right machine - for instance, when at a KVM with 8-12 machines attached, or in an office environment with 20 desktops. A quick check on the login screen will tell you if you are on the right one. Or you can tell support which machine you're trying to log into. Etcetera. -- Per Jessen, Zürich (7.2°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
jdd wrote:
Le 16/03/2017 à 10:07, Yamaban a écrit :
I've done similar setups during my time in university / student-admin during the late 1990ies, most of the time we used xdm, which made that task easy.
me too, the reason why I asked to know the context, it's sometime faster to stick hostname/IP on the computer forefront :-)
Haha, good point, jdd! That is in fact what we do on the test systems (leap42x). /Per -- Per Jessen, Zürich (9.3°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 16/03/2017 à 10:58, Per Jessen a écrit :
On the login screen, I see time and date displayed, it surely cannot be a big deal to have other information displayed too?
this is a good notice, may be a grep on the sources? (for $date?)
what is the use of displaying this info, on the beginning (to help find a suitable solution)?
It's all about finding out if you are on the right machine - for instance, when at a KVM with 8-12 machines attached, or in an office environment with 20 desktops. A quick check on the login screen will tell you if you are on the right one. Or you can tell support which machine you're trying to log into. Etcetera.
usually when I work, I have neither login screen nor screensaver :-(, simply desktop on any terminal prompt gives the hostname and my dhcp server is my internet box, I can't manage dhcp :-( jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 16/03/17 05:07 AM, Yamaban wrote:
Think of bigger environs, a office with more than say 4 desktops, or a classroom, esp. in conjunction with "hostname-via-dhcp", and service done mostly remote, or even via puppet or similar tools, or even full-blown pxe / nfs setups.
I've done similar setups during my time in university / student-admin during the late 1990ies, most of the time we used xdm, which made that task easy.
Well, yes. I even remember SUN workstations back in the 3meg Ethernet days that were 'roaming login' or whatever the term that Microsoft has made popular. The workstation was minimal and /usr (as the $HOME was termed back then) was loaded via NFS. I forget what else was loaded, but IIR the RootFS had lots of symlinks that became live when the login completed. I've also worked at places that supplied me with a laptop that had enough for me to do basic work on local files but also had that 'roaming login' to any part of the (multi-site) network. [As a sidebar, I'll mention that they ran SAMBA on a pair of HP-500 HP/UX series machines.] What is significant about that is that when I logged in the remote host not only handed out local shares and my network workspace and shared spaces, but also rammed some executables down. [That was fine so long as I was running the "Corporate XP". It was when I tried logging in with my own Linux laptop running a slightly alter model version of SAMBA that the problems arose :-(] I'm aware that the DHCP protocol and deal with hostnames in a number of ways. Either my "personalized" workstation can tell the DHCP server my hostname and it perhaps it responds in a custom fashion. Alternatively the server gives me a hostname for the duration of the session. In either case the hostname should be available before the login screen appears. Which gets back to the OP question of why don't the other login screen mechanisms, themes allow for the text to be easily modified. Rather than being simply declarative (as was the case with kdmrc) is now seems to be procedural, using QtQucik2. Yes, this means that it can be compiled with language packages, so we get lines like errorMessage.text = textConstants.loginFailed What was that about adding a level of indirection? And so too in, for example, /usr/share/sddm/themes/maldives/ Main.qml we find text: textConstants.welcomeText.arg(sddm.hostName) There is similar in the code for "breeze", but it is a procedurally more complex and obscure instance. All this is, I suppose, logical, a logical progression. An emergent property of internationalization. But it is also written in QtQuick2, so it means another language to learn, with its specific quirks. Why not something like Ruby, which I enjoyed learning and which we already have as the basis for Yast? Its already an interpreter. The QtQuick script reminds me of Ruby in many ways. I suppose the answer is that Ruby isn't a particularly fast interpreter because its a OO language. I think that's a weak answer. Whenever you are dealing with user input then the user typing speed is the limiting factor. There does seem to have been a trend among developers recently to move away from systems and details that are for the convenience of end users and administrators. The absence of the arrow icons at the end of scroll bars is one example of that which has already come up in other threads. Sorry to be so rambling. I'll go put a pot of coffee on. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2017-03-16 08:17, Per Jessen wrote:
Carlos E. R. wrote:
Hum. Good point. Then the script has to run on every boot, creating your copy of the background. On /etc/cron.d/something @boot, perhaps.
Make the theme point to your file (probably with sed or something), and make sure the file contains the correct text.
I'm sure I can solve the problem if I put my mind to it, but I want to keep things minimal and simple. It has to be repeated on every install and the list of customisations is only growing longer and longer. I was hoping to be able to add '$hostname' to some file somewhere :-)
Well, if you can do it with a single script in one directory, or two files (cron job file + script) it becomes easier than actually doing the changes.
Ah. Maybe on KDE, but certainly not on XFCE (and I guess Gnome). It is xscreensaver which locks the display for sure. I can see it in "ps afxu" output.
The software that locks the screen is still installed by default, but there is no "screensaver" in the traditional sense of the word:
There is traditional screensaver in XFCE. I don't use it, but it is there. Sometimes I allow it to kick in for 2 minutes, then power off the display.
When it locks, the screen goes black, later the monitor goes into power saving mode. When I hit a key, the lock/login screen is shown with the time and date and a field for the password.
Yes, of course, but what process does that?
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.
Yes. Such is progress. Software is replaced, not improved. Maintenance mode is gone.
Actually, when something new is worse than what it replaces, it's called regression.
Yes. But don't say it >:-P -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith))
On Wed, Mar 15, 2017 at 11:09 PM, Felix Miata
cagsm composed on 2017-03-15 17:44 (UTC+0100): ... If you're not married to sddm, you can still switch back even in 42.2 to kdm, where including hostname in the greeter string is the traditional default. Look around line 344 et. seq. in kdmrc at %n. You may need to change useTheme to false much later in the file, which I always do, so don't know whether openSUSE's theme would override it.
yes indeed i found some other machine that had some previous open suse versions installed before and although it has itself arrived at 42.2 it was still using in etc/sysconfig/ displaymanager and windowsmanager some kdm and kde-plasma as settings/values, and it showed the hosts machien name on the logon screen which looks a bit different from vanilla 42.2 install state. what is the deal with kdm and sddm and this other setting my machines have had differing from each other: plasma5 and kde-plasma or so it was called. this is getting too complicated for me if i am not to read first the history of decades woth unix graphics stack land and linux land as well and understand all those components and bits and pieces of software. tia -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 15/03/17 06:36 PM, Per Jessen wrote:
What I am keen on is keeping the local customizations simple and low in number (based on the default), but it feels like I'm rapidly loosing that game.
*sigh* +1 Well, OK, greater than just 1, but not yet BIGNUM. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
jdd wrote:
Le 16/03/2017 à 10:58, Per Jessen a écrit :
On the login screen, I see time and date displayed, it surely cannot be a big deal to have other information displayed too?
this is a good notice, may be a grep on the sources? (for $date?)
Yes, maybe that's where I need to start. -- Per Jessen, Zürich (12.9°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (10)
-
Andreas Mahel
-
Anton Aylward
-
cagsm
-
Carlos E. R.
-
Dave Howorth
-
Felix Miata
-
jdd
-
John Andersen
-
Per Jessen
-
Yamaban