Some apps cancel shutdown and reboot

Apps like Goldendict , Qbittorent can cancel the power options (reboot, shutdown) in the applications menu.
If I use the terminal to “reboot” it works as expected- all apps are closed and computer restarts, no app can cancel it.
This is what I wish to be the default in my system. how can I implement it?

I’m afraid this lack of feature is a feature itself in KDE Plasma. No idea if people have ever requested controlling this, but for sure, currently there’s no GUI solution to this as the power options in the menu is connected to the safe logout/reboot/shutdown behavior to prevent data loss.


I’ve marked this answer as the solution to your question as it is by far the best answer you’ll get as the command-line overrides the GUI.

However, if you disagree with my choice, please feel free to take any other answer as the solution to your question or even remove the solution altogether: You are in control! (If you disagree with my choice, just send me a personal message and explain why I shouldn’t have done this or :heart: or :+1: if you agree)

P.S. In the future, please don’t forget to come back and click the 3 dots below the answer to mark a solution like this below the answer that helped you most:
so that the next person that has the exact same problem you just had will benefit from your post as well as your question will now be in the “solved” status.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.