You are not logged in.
Pages: 1
Hi,
I want to safely close all apps and exit plasma session and then run reboot command .
Something like this:
qdbus org.kde.ksmserver /KSMServer logout 0 0 0 && systemctl reboot --full --firmware-setup However the above command doesn't work as expected
Please consider that I want to reboot to "firmware-setup"
Offline
What doesn't work as expected and by which means/for what purpose do you believe to get "more safety" via an explicit logout? a reboot will lead to a normal session shutdown process and "kindly" send TERM requests to all applications. For the vast majority of tools there will be no difference between a KDE session logout and doing this.
Last edited by V1del (2022-04-13 10:26:15)
Offline
What doesn't work as expected and by which means/for what purpose do you believe to get "more safety" via an explicit logout?
The command never reach to
systemctl reboot --full --firmware-setup part and it only do logout from plasma
a reboot will lead to a normal session shutdown process and "kindly" send TERM requests to all applications. For the vast majority of tools there will be no difference between a KDE session logout and doing this.
I'm not sure about this, cause with plasma I can see closing animation of programs and when everything done it's goes to black screen, but with systemctl reboot it will go straight to black in a fraction of second.
I don't have good feeling about this behavior, correct me if I'm wrong
Last edited by artimesphoenix (2022-04-13 14:41:17)
Offline
If you're worried about that, you can enter firmware via KDE itself through System Settings -> Startup and Shutdown -> Desktop Session
Offline
Pages: 1