Disabling vlc's habit of blocking power events only helps if the problem app is vlc -- and if your system isn't already in the bad state.
Any buggy app could tell gnome-power-manager to block power events, then die without cleaning itself up. So I break this down into several bugs: 1. (moderate): vlc should clean up its power event management no matter how it exits 2. (severe): g-p-m should have a way of noticing that clients which told it to do something have disappeared, and stop paying attention to their directives (apps should be able to issue permanent directives [intended to extend past their own death] but the default should be for the life of the caller) 3. (annoyance): g-p-m does not store these directives in the gconf database; `gconftool -R /apps/gnome-power-manager | grep vlc` returns nothing. Nor does `gconftool -R / | grep vlc` -- I'm not 100% sure g-p-m is the real thing here or just a UI. 4. (feature request): g-p-m should have a UI with which a user can override directives like this. I often suspend in the middle of playing media, who is vlc to say I can't do that? 5. (feature request): g-p-m should have a UI to browse stored directives set by various programs. I'd like to be able to see: name of program issuing the directive; its PID; time; rules ("block suspend, block hibernate, ..."); reason ("Playing some media"). 6. (feature request): /apps/gnome-power-manager/general/ignore_inhibit_requests = true should cause g-p-m to ignore already-submitted inhibit requests, not just new ones. The lack of this prevents a better workaround. 7. (information request): is there a better workaround with current shipping g-p-m than fixing the buggy apps? Restarting g-p-m would probably clear the condition; I haven't tried as this is my primary interface to the world and I don't want to crash it. I carry my laptop around from location to location, rebooting it as rarely as possible. This is much easier when suspend works. I don't want to reboot to "fix" it, this isn't Windows... 8. (doc bug): there doesn't seem to be any useful doc about the Gnome Power Management library ("org.freedesktop.PowerManagement.Inhibit" in the Python binding). There's a FAQ that has an old buggy example: http://library.gnome.org/users/gnome-power-manager/stable/faq.html.en #faq-inhibit and that's the best I can find. -- Multiple applications have stopped the suspend from taking place. vlc : Playing some media https://bugs.launchpad.net/bugs/290753 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs