On Thursday 02 Jul 2015 19:32:35 Wolfgang Bauer wrote:
Am Donnerstag, 2. Juli 2015, 17:01:01 schrieb ianseeks:
I used to be able to have a script run on logout, i've had to configure to run on "Shutdown" as the only options are "Startup, Shutdown and pre KDE Startup" - are there any plans for there to be a "run script on logout" which i could use on KDE4?
What now? On KDE4? Or on Plasma5? Plasma 5
Anyway, "Shutdown" means to run it on logout, i.e. during shutdown of the KDE session. Perhaps the text needs to change from "Shutdown" to "Logout", its misleading as Shutdown is usually means to switch off the machine.
So, no, there are no plans to add a "run script on logout" option, as that exists already. ok
And especially KDE4 is feature frozen since nearly 2 years and is reaching its end of life soon anyway.
But, running scripts on shutdown/logout is broken in Plasma 5.3.1. It has been fixed for 5.3.2 (released on Tuesday, see https://dot.kde.org/2015/06/30/plasma-532-fixes-your-shutdown-scripts ), which should be in Tumbleweed soon. Yep, thats why i tried it again, i didn't know if it was in this snapshot or not. Thats when I got confused over the meaning of "Shutdown"
You could "fix" it yourself by opening /usr/bin/startkde in a text editor (as root), and change the line: test -x "$prefix$file" && "$prefix$file" to: test -x "$prefix/shutdown/$file" && "$prefix/shutdown/$file" I just run it manually at the moment, its my backup script for the user.
Kind Regards, Wolfgang
Thanks. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org