
On Wednesday 12 Aug 2015 19:44:06 Wolfgang Bauer wrote:
Am Mittwoch, 12. August 2015, 17:19:12 schrieb ianseeks:
I was thinking of, if possible, getting the scripts to run before Plasma/Kwin stopped running so it could allow the user to get back to the desktop if the running logout process was written to allow it.
No, that's not possible. At the moment your script is run, everything (except X itself) is shut down already.
yes, i understand that is how it is now, i was just putting forward an idea to change it. I thought it might be a useful idea for the office environment (rather than home) to allow the admin to enforce whatever logout policy they want to implement e.g. an app that stops the logout if they haven't done their timesheet :o).
You could maybe run "startkde" in your script though to start a new Plasma session, but be careful to not enter an endless loop... ;-) (this will call your script on logout again)
Thanks, thats great. The passivepopup works nicely to allow me to monitor progress and the error can halt the process if the script fails in any way. I just need to find a way to centre the error as it gets displayed in the top left corner but the passivepopups are in the centre of the display.
Hm? The passive popup contains the error, no? How can it be in the top left corner then? No, its the kdialog --error that puts the message in the corner - i can live with that as hopefully it should be a rare occurrence
Or do you mean it's in the top left corner of the popup?
Well, kdialog does support standard HTML tags too (including CSS), e.g.: kdialog --passivepopup "<p align=center>Hello</p>" I'm happy with the kdialog --passivepopup
Kind Regards, Wolfgang thanks. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org