Access D-BUS through QML/JS

Shaun Reich shaun.reich at kdemail.net
Tue Jan 17 04:10:26 UTC 2012


On Mon, Jan 16, 2012 at 7:34 AM, Dario Freddi <drf54321 at gmail.com> wrote:
> Sorry, what's your rationale for having inhibition through another
> applet? We've been striving to unify inhibition handling in 4.8 and it
> would be a shame if we had other things to the board. The preferred
> way to inhibit remains Solid::PowerManagement, anything else is asking
> for trouble

for the record for everyone else, we talked on irc and apparently
Solid does it better and the fdo thing is quite broken.

(this applies only to DPMS off, not screensaver on yet--since solid
doesn't yet have an api for that).

so i'll fix that shortly to not use the dbus fdo call, rather Solid
for the DPMS off. for the time being, i'll have to leave the
screensaver dbus call in, until the solid gets some api for it.

(and the applet i've made for it is just a simple "click and keep
screen on" toggling button, since I use that quite a bit with my pc
hooked to my tv, as well as simply reading extensively.

-- 
Shaun Reich,
KDE Software Developer (kde.org)


More information about the Plasma-devel mailing list