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 > > 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. > > 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 > it. > > > > > 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 > > (Xfce, KDE, ...). I think KDE also have something similar for their > > session as well. > > trivial question raises here, why there is still no standard API for > > doing this > > basic task. > > > > So why not having a standard API on a name > > org.freedesktop.SessionManager with > > two methods InhibitSleep InhibitDPMS for example, this way any session > > manager > > can export these methods in parallel with its private name/methods > > (org.gnome.Session org.KDE.Session). > > > > I will be very happy to write such spec and implement it in our Xfce > > Session > > manager, this way even closed source media players can use these methods > > without having to care about the different desktop environments. > > > > I hope the idea will be supported as simple as it is, without going > > to endless > > discussions. > > > > Regards, > > > > _______________________________________________ > > xdg mailing list > > [email protected] > > http://lists.freedesktop.org/mailman/listinfo/xdg > > -- > ------------------- > > Dario Freddi > KDE Developer > GPG Key Signature: 511A9A3B > _______________________________________________ > xdg mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/xdg -- Les gens heureux ne sont pas pressés. _______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
