xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Initial Version and Version 2 of Ticket #492


Ignore:
Timestamp:
02/04/14 15:02:21 (7 years ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #492

    • Property Owner changed from Antoine Martin to Antoine Martin
    • Property Status changed from new to assigned
  • Ticket #492 – Description

    initial v2  
    11This is only relevant to local servers: resuming a client connected to a remote server should break the connection (eventually - we may want to break it quicker then) which is fine.
    22
    3 On Linux, we should be able to get the event from the [http://upower.freedesktop.org/docs/UPower.html#UPower::Resuming UPower Resuming] dbus signal.
     3On Linux, we should be able to get the event from the [http://upower.freedesktop.org/docs/UPower.html#UPower::Resuming UPower Resuming] dbus signal. Found some example code:
     4* [http://askubuntu.com/questions/183516/how-do-i-detect-when-my-system-wakes-up-from-suspend-via-dbus-or-similar-in-a-py How do I detect when my system wakes up from suspend via DBus or similar in a python app?]
     5* [http://stackoverflow.com/questions/13527451/how-can-i-catch-a-system-suspend-event-in-python How can I catch a system suspend event in Python?]
     6We could use this same code to force a server encoder refresh too, as hardware encoders (nvenc / opencl / cuda) tend to get messed up during suspend-resume, but we only notice next time we try to use them.
     7
    48
    59On win32, we could detect {{{WM_POWERBROADCAST}}} events.