power management settings mockup

Aaron J. Seigo aseigo at kde.org
Fri Sep 12 18:55:43 CEST 2008


On Friday 12 September 2008, Sebastian Kügler wrote:
> On Friday 12 September 2008 17:21:46 Aaron J. Seigo wrote:
> > On Friday 12 September 2008, Sebastian Kügler wrote:
> > > (*2) There's an 'inhibit suspend' action in the powermanagement FDO
> > > dbus spec which prevents the system from suspending after a certain
> > > idle time, that's useful when you're doing a presentation or watching a
> > > movie and you don't want to have your system switching off. Some apps
> > > will implement this themselves (imagine dragonplayer or kpresenter
> > > calling inhibit suspend through dbus when in fullscreen mode).
> >
> > this needs to be added to KPresentationControls then. do you have some
> > code i can look at?
>
> Hm, now you mention it ... dunno where it is.  It should probably be in the
> Solid powermanagement classes (not sure if it's in there already, or if we
> need to poke Kevin :). It's in the FDO powermanagement API, at least.

ok, i'll see if i can get Kevin to give me a hint on it and then i'll add it 
to KPC.

> > > You've made it until here, you've earned a screenshot :-) I've also
> > > attached the ui file I used for your futzing.
> >
> > comments on the UI:
> >
> > * "Inhibit suspend after idle time" is pretty complex. how about
> > reversing the logic with "Suspend automatically when idle"?
>
> As I said, the inhibit is temporary. The "Suspend automatically" sounds
> like a permanent setting to me. Maybe "Do not suspend automatically"

Do not suspend automatically is the same as Suspend automatically. i don't 
think it matters to the user which way it goes, right? this is an 
implementation detail that we probably don't need to harrass the user with.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20080912/ad16b05d/attachment.sig 


More information about the Plasma-devel mailing list