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.
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: Request Unity.Screen Unity/Screen
* keepDisplayOn
* removeDisplayOn
on interface:
com.canonical.
and path:
/com/canonical/
on the *system* bus.