Comment 2 for bug 1662987

Revision history for this message
Olivier Tilloy (osomon) wrote :

Confirmed. And as a matter of fact, it fails to inhibit screen blanking on unity7 too:

apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/freedesktop/ScreenSaver" interface="org.freedesktop.ScreenSaver" member="Inhibit" mask="send" name="org.freedesktop.ScreenSaver" pid=20481 label="webbrowser-app" peer_pid=19841 peer_label="unconfined"

It appears that on unity8 oxide also tries to call the org.freedesktop.ScreenSaver interface, instead of com.canonical.Unity.Screen. The logic to choose which interface to poke (https://git.launchpad.net/oxide/tree/shared/browser/device/power_save_blocker_linux.cc#n42) seems correct. I verified that XDG_SESSION_TYPE=="mir" in a unity8 session.