![]() Registered Member ![]()
|
Hey All
I'm trying to develop a plasmoid that can disable power saving, so when i watch flash it wont turn off the screen. For doing that I think i can use the org.freedesktop.PowerManagement.Inhibit function, but i'm at a lost on how. I'm trying to call it with:
And i know it takes 2 Qstring arguments so i give it: "Application name", and "Reason" but how do i give them to it? I have tried to write:
but
returnes false. |
![]() Administrator ![]()
|
Try this:
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Yes that works!
I found out that i can also use:
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot]