We have a patch for QScreenSaver. The way it will work is that apps can
use this from QML:
import QtSystemInfo 5.0
ScreenSaver { screenSaverEnabled: false }
or its pendant from C++. Unity-System-Compositor will watch the
application. As soon as the application is closed, the request will be
dropped and the screensaver will be enabled again, even if the app
didn't explicitly release the resource before quitting.
We need apparmor to allow apps to call the methods:
* keepDisplayOn
* removeDisplayOnRequest
on interface:
com.canonical.Unity.Screen
and path:
/com/canonical/Unity/Screen
on the *system* bus.
** Changed in: apparmor-easyprof-ubuntu (Ubuntu)
Importance: Undecided => High
** Changed in: apparmor-easyprof-ubuntu (Ubuntu)
Assignee: (unassigned) => Jamie Strandboge (jdstrand)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1462489
Title:
Allow apps to keep the screen on
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1462489/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs