Re: DPMS and automatic sleep inhibit API

2010-03-05 Thread Vincent Untz
cc'ing Richard, to have him comment quickly on this. Vincent Le jeudi 18 février 2010, à 20:55 +0100, Dario Freddi a écrit : > On Thursday 18 February 2010 16:40:07 Ali Abdallah wrote: > > Greetings, > > > > So now that org.freedesktop.PowerManagement spec that was written by > > Richard > >

Re: DPMS and automatic sleep inhibit API

2010-02-26 Thread Lubos Lunak
On Friday 26 of February 2010, Rémi Denis-Courmont wrote: > On Wed, 24 Feb 2010 00:06:18 +0100, Lubos Lunak wrote: > > On Thursday 18 of February 2010, Ali Abdallah wrote: > >> InhibitDPMS > > > > XResetScreenSaver() . There's no need to reinvent that wheel. > > There are several problems with th

Re: DPMS and automatic sleep inhibit API

2010-02-26 Thread Rémi Denis-Courmont
Hello, On Wed, 24 Feb 2010 00:06:18 +0100, Lubos Lunak wrote: > On Thursday 18 of February 2010, Ali Abdallah wrote: >> So why not having a standard API on a name >> org.freedesktop.SessionManager with >> two methods InhibitSleep > >> InhibitDPMS > > XResetScreenSaver() . There's no ne

Re: DPMS and automatic sleep inhibit API

2010-02-26 Thread Ali Abdallah
On 02/24/2010 12:06 AM, Lubos Lunak wrote: On Thursday 18 of February 2010, Ali Abdallah wrote: So why not having a standard API on a name org.freedesktop.SessionManager with two methods InhibitSleep InhibitDPMS XResetScreenSaver() . There's no need to reinvent that

Re: DPMS and automatic sleep inhibit API

2010-02-23 Thread Lubos Lunak
On Thursday 18 of February 2010, Ali Abdallah wrote: > So why not having a standard API on a name > org.freedesktop.SessionManager with > two methods InhibitSleep > InhibitDPMS XResetScreenSaver() . There's no need to reinvent that wheel. > for example, this way any session > manager > ca

Re: DPMS and automatic sleep inhibit API

2010-02-20 Thread PCMan
On Thu, Feb 18, 2010 at 11:40 PM, Ali Abdallah wrote: > Greetings, > >    So now that org.freedesktop.PowerManagement spec that was written by > Richard > Hugsie is dropped for whatever reasons, this drops its inhibit interface > as well, > so applications whishing to prevent automatic sleep canno

Re: DPMS and automatic sleep inhibit API

2010-02-20 Thread Rémi Denis-Courmont
Le samedi 20 février 2010 03:27:19 Aaron J. Seigo, vous avez écrit : > On February 19, 2010, Rémi Denis-Courmont wrote: > > This is in contrast with xdg-utils/xdg-screensaver, which does take a XID > > parameter for suspend and resume. In theory. In practice, xdg-screensaver > > seems broken on KDE

Re: DPMS and automatic sleep inhibit API

2010-02-19 Thread Aaron J. Seigo
On February 19, 2010, Rémi Denis-Courmont wrote: > This is in contrast with xdg-utils/xdg-screensaver, which does take a XID > parameter for suspend and resume. In theory. In practice, xdg-screensaver > seems broken on KDE4 and I guess on GNOME too. I guess it fails to keep its > DBus connection op

Re: DPMS and automatic sleep inhibit API

2010-02-19 Thread Rex Dieter
Rex Dieter wrote: > Ali Abdallah wrote: > >> Greetings, >> >> So now that org.freedesktop.PowerManagement spec that was written by >> Richard >> Hugsie is dropped for whatever reasons > > So, should xdg-utils drop support for it too? > > (not that it ever actually worked very well, so I'd

Re: DPMS and automatic sleep inhibit API

2010-02-19 Thread Rémi Denis-Courmont
On Thu, 18 Feb 2010 20:55:13 +0100, Dario Freddi wrote: > As Aaron pointed out already, in KDE the spec is implemented, but a > possible work on improving it and resurrecting it eventually (didn't > know it was dead, btw.) is more than appreciated, but I would like to > have a voice in reviewing

Re: DPMS and automatic sleep inhibit API

2010-02-18 Thread Dario Freddi
On Thursday 18 February 2010 16:40:07 Ali Abdallah wrote: > Greetings, > > So now that org.freedesktop.PowerManagement spec that was written by > Richard > Hugsie is dropped for whatever reasons, this drops its inhibit interface > as well, > so applications whishing to prevent automatic sleep

Re: DPMS and automatic sleep inhibit API

2010-02-18 Thread Rex Dieter
Ali Abdallah wrote: > Greetings, > > So now that org.freedesktop.PowerManagement spec that was written by > Richard > Hugsie is dropped for whatever reasons So, should xdg-utils drop support for it too? (not that it ever actually worked very well, so I'd be happy removing the half-baked su

Re: DPMS and automatic sleep inhibit API

2010-02-18 Thread Aaron J. Seigo
On February 18, 2010, Ali Abdallah wrote: > AFAIK inhibit interface in gnome is moved from gpm to the > gnome-session, most > gnome applications uses the org.gnome.Session.Inhibit to inhibit > automatic sleep, > while this will not work if running these apps under other desktop > environment >

DPMS and automatic sleep inhibit API

2010-02-18 Thread Ali Abdallah
Greetings, So now that org.freedesktop.PowerManagement spec that was written by Richard Hugsie is dropped for whatever reasons, this drops its inhibit interface as well, so applications whishing to prevent automatic sleep cannot anymore do that in a desktop neutral way. AFAIK inhibit in