[Bug 1647895] Re: Tablet suspends while playing video or audio in browser

Olivier Tilloy olivier.tilloy at canonical.com
Wed Dec 7 10:46:38 UTC 2016


I can’t install the terminal app on my frieza at the moment, but on my
arale I’m seeing the following values for those environment variables:

XDG_CURRENT_DESKTOP=Unity
DESKTOP_SESSION=ubuntu-touch
XDG_SESSION_TYPE=mir
GDMSESSION=ubuntu-touch
XDG_SESSION_DESKTOP=ubuntu-touch

Given those values, base::nix::DesktopEnvironment
GetDesktopEnvironment() will return DESKTOP_ENVIRONMENT_UNITY, which
explains why oxide instantiates the FDO implementation of
PowerSaveBlocker.

It appears lightdm is responsible for setting XDG_CURRENT_DESKTOP, and
it sets it to the value of the "X-LightDM-DesktopName" key in
/usr/share/lightdm/sessions/ubuntu-touch.desktop.

I assume changing that value to e.g. "Unity8" would have lots of
undesirable side effects, so we probably need to patch oxide to be
cleverer at guessing the desktop environment.

** Changed in: oxide
    Milestone: None => branch-1.20

** Also affects: oxide/1.19
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Phablet Team, which is subscribed to repowerd in Ubuntu.
https://bugs.launchpad.net/bugs/1647895

Title:
  Tablet suspends while playing video or audio in browser

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1647895/+subscriptions



More information about the Ubuntu-reviews mailing list