LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   No DBus signal available for Wake event in linux (https://www.linuxquestions.org/questions/linux-kernel-70/no-dbus-signal-available-for-wake-event-in-linux-4175731258/)

vipul.gupta 11-27-2023 01:01 AM

No DBus signal available for Wake event in linux
 
I wanted to perform some task in my application, as soon as the application wakes from sleep mode. To do that I wanted to detect the wake event in my application.
In the 'org.freeDesktop.login1' interface, there is a signal 'PrepareForSleep' available to detect the sleep event, however, there is no counterpart DBus signal available to detect the wake event. Either it is not available or I m not able to find the signal.
Can someone help me?

zeebra 12-11-2023 03:14 AM

Probably it's better to ask this in the desktop section of the forum where it might get more attention and is appropriately categorized.


All times are GMT -5. The time now is 02:50 AM.