I try to get a workaround for the “Some apps cancel shutdown and reboot”
As its always the same programs that prevent my shutdown (qtorrent, ts3 & mozilla vpn) i thought i could just make a script to kill these apps first and initiate the normal save shutdown (the one that stops if something is not saved) afterwards.
I tried to kill them with a script i add to “~/.bash_logout” and/or “/etc/bash.bash_logout”. But it looks like this is executed too late as i still get the error. I think it should be executed before Logout?
I tried to do that via systemd but as I don’t really understand what I’m doing I have no idea how i should do that or if there even is a target for logout? And the few Tutorials i found online and understood did not really help.
Right now i just execute a script that kills all these programs and shut down afterwards by hand, which is just a dirty “fix” imo.
I’m not sure if I’m right here but maybe someone can help me.
Thanks in advance already.
Operating System: Manjaro Linux
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Kernel Version: 5.10.49-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 31,4 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1070/PCIe/SSE2