Thanks!

Is VLC playing when this happens?

If yes it's intended behaviour, VLC prevents the computer from going to
sleep.

If you run
dbus-send --session --dest=org.gnome.SessionManager --type=method_call 
--print-reply /org/gnome/SessionManager org.gnome.SessionManager.IsInhibited 
uint32:12

You'll see if the session is inhibited.

12 is actually 8 | 4
8 = prevents suspending the session or the computer
4 = prevents marking the session as idle


Perhaps we should just use flag 4, to not prevent manual suspending but prevent 
automatic suspending (after idle time)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/888002

Title:
  VLC prevents Ubuntu from turning off screen in idle state

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/888002/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to