XfceSMClient is done-ish

Brian J. Tarricone brian at tarricone.org
Tue Oct 6 19:46:21 CEST 2009

Hash: SHA1

On 10/06/2009 02:21 AM, Ali Abdallah wrote:
> Brian J. Tarricone wrote:
>> If an app cares about network state, then it likely cares about network
>> state changes that happen regardless of suspend/hibernate, so it should
>> watch signals on the org.freedesktop.NetworkManager dbus interface.  I'm
>> sure I could make a similar parallel for other services.
> Network Manager exposes two methods, sleep and wake, those are to be
> used by power manager or session manager (or any application that does
> suspend/hibernate) before performing suspend/hibernate operations, then
> as said, network manager takes the rest of the work to emit the
> necessary signals for indication state_change, connection_change, etc... .

Yup.  Thing is, though, a regular app probably won't even care about the
sleep/wake signals.  Watching state_change or connection_change should
be enough, because the app probably just wants to know when the network
is connected or disconnected, which can happen whether or not the
machine goes to sleep.


Version: GnuPG v2.0.11 (GNU/Linux)


More information about the Xfce4-dev mailing list