monitor sleeps during playback

Bug #903849 reported by mushroom3
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Audience
Fix Released
Medium
Cameron Norman

Bug Description

Power management isn't disabled while media is being played.

Related branches

Cody Garver (codygarver)
Changed in audience:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

Oh yeah, I know this has been a pain for quite some time in various players. Things like Xine just send out keyboard events every several seconds to imitate user activity. The best implementation I'm aware of is in Totem; it doesn't work when Totem is launched with root privileges, but it's not a good thing to do with a video player. Aside of that it seems to be fine.

Revision history for this message
mushroom3 (mushroom3) wrote :

I tested my fix a few times, and I'm fairly certain it works, but I'm setting it to "in progress" for now until it's tested more thoroughly

Changed in audience:
status: Confirmed → In Progress
Revision history for this message
Cody Garver (codygarver) wrote :

Not working for me.

Revision history for this message
mushroom3 (mushroom3) wrote :

back to the drawing board

Changed in audience:
status: In Progress → Confirmed
Revision history for this message
Cody Garver (codygarver) wrote :

xdg-utils is the solution to this. Specifically, xdg-screensaver.

Revision history for this message
Tom Beckmann (tombeckmann) wrote :

Screensaver should now be suspended when playing something and reenabled when stopping playback or closing the window.

Changed in audience:
assignee: nobody → Tom Beckmann (tombeckmann)
status: Confirmed → Fix Committed
Cody Garver (codygarver)
Changed in audience:
milestone: none → 0.1
Changed in audience:
status: Fix Committed → Fix Released
Changed in audience:
assignee: Tom Beckmann (tombeckmann) → Cameron Norman (cameronnemo)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.