You are not logged in.
Hi,
I'd like to run a script when the system wakes up from suspend. I'd know how to do that using systemd, but I'm managing power with KDE and Power Devil, so systemd power management is inhibited. Have you any suggestion about that?
Thanks,
Francesco
Last edited by aladar (2024-12-21 20:15:29)
Offline
https://wiki.archlinux.org/title/Power_ … stem-sleep will still apply.
Online
The "inhibition" in this context simply means that powerdevil is managing when to tell systemd to go to sleep and the like, systemd is still the process that executes the actual operation and all hooks and integrations in relevance to that will still function as is
Online
Hi,
you are totally right... I was convinced that it works like you say, and so I put the scripts in /usr/lib/systemd/system-sleep , but I forgot to set chmod +x , so the test failed. Now that I've realized my stupid mistake, the problem is solved, thanks!
Offline
\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online
Great, please mark as [SOLVED] by editing the title in your first post.
FFF5CK ![]()
Last edited by V1del (2024-12-20 15:48:14)
Online