On Thursday 06 Aug 2015 13:33:36 Wolfgang Bauer wrote:
Am Donnerstag, 6. August 2015, 11:25:09 schrieb ianseeks:
I have a backup script that runs on "logout" that tends to run while the splash screen is displayed
Which splash screen do you mean here? plymouth? I.e. is the script running _after_ the plasma session is closed? Once the desktop disappears, there is an image displayed before it reaches the login screen.
is there anyway in Plasma that i can post some progress messages onto the splash screen image as my script runs? If not, are there any plans to allow this?
And how should this work? Plasma has nothing to do with the splash screen, and doesn't even know that it exists.
no idea, thats what i was hoping to find out. I don't know when Plasma ends and KDM starts and if there is anything inbetween.
You could try to use kdialog in your script or open an xterm/konsole window, but that only works if your script runs before the session is closed of course.
I'm not sure at what point it runs exactly but its a script configured at "Shutdown" (i'm sure that should be "Logout", shutdown is techie speak) in systemsetting5/Startup and shutdown. I wouldn't want it to open another window, I thought it would be better to be part of a logout process.
It might be possible to display messages on the plymouth splash screen (I'm not sure, but the "display-message" option sounds promising), have a look at "man plymouth".
i'll give that a try
But if your script is to be run during system shutdown, why don't you just start it in /etc/init.d/halt.local or similar then? "echo"s would go to the system log then, or the text console. No, its something i run each time a user logs out thats why i find the "Shutdown" definition in the configuration in systemsettings5 wrong. I would hope (i've not checked) that if i selected "Shutdown" from the menu before logging out, it would run my logout script to completion first.
Otherwise you probably have a race condition anyway. The script would probably just get killed if it doesn't finish in time before the system is shutdown.
Or am I misunderstanding something here? I don't thinks so but confusion does get created by systemsettings5 defining user logout as "Shutdown"
Kind Regards, Wolfgang
Thanks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org