xpra icon
Bug tracker and wiki

Opened 5 years ago

Closed 5 years ago

#816 closed enhancement (fixed)

Timeout Notification Signal

Reported by: alas Owned by: Scott Bennett
Priority: major Milestone: 0.15
Component: server Version: trunk
Keywords: Cc:

Description

With idle-timeouts, would like to receive a signal x seconds before timeout occurs. Perhaps as a separate parameter (--idle-timeout-warning=x)?

Change History (4)

comment:1 Changed 5 years ago by Antoine Martin

Milestone: 0.15
Status: newassigned

Follow up from #803.

comment:2 Changed 5 years ago by Antoine Martin

Owner: changed from Antoine Martin to Scott Bennett
Status: assignednew
  • r8703 adds the grace timeout which can be overriden by hooking the idle_grace_timeout_cb function, by default the client will get a notification message at 90% of the time. The percentage can be changed using the env var XPRA_GRACE_PERCENT.
  • r8705 makes us slow down screen updates to just 2 per second when we reach the grace period (the code is reusable)

Ready for testing!

comment:3 Changed 5 years ago by Antoine Martin

@sbennett: bump!

comment:4 Changed 5 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

I've been told this works as expected.

Note: See TracTickets for help on using tickets.