Setup Session inhibition to prevent automatic shutdown
Bug #1445780 reported by
jurosh
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Audience |
Fix Released
|
Low
|
Felipe Escoto |
Bug Description
To prevent the system to go to sleep or shut down during playback of a video we want to tell systemd to not act on the idle state by adding a inhibition as described here: https:/
Original Report:
main issue:
I was playing videos and computer hibernated despite video was playing.
mini issue:
Also keyboard backlid did not turned off after I run video in fullscreen - in windows it usually did after few seconds.
Related branches
lp:~philip.scott/audience/inhibit-screen
- Corentin Noël: Needs Fixing
- Danielle Foré: Approve (testing)
-
Diff: 213 lines (+114/-38)3 files modifiedsrc/CMakeLists.txt (+1/-0)
src/Services/Inhibitor.vala (+102/-0)
src/Widgets/PlayerPage.vala (+11/-38)
Changed in audience: | |
status: | New → Confirmed |
summary: |
- Computer hibernated while playing + Setup Session inhibition to prevent automatic shutdown |
description: | updated |
Changed in audience: | |
importance: | Undecided → Low |
Changed in audience: | |
status: | Confirmed → In Progress |
assignee: | nobody → Felipe Escoto (philip.scott) |
Changed in audience: | |
status: | In Progress → Fix Committed |
milestone: | none → loki-rc1 |
Changed in audience: | |
milestone: | loki-rc1 → 0.2 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I have a same kind of problem. I set my monitor to turn off after 5 minutes of inactivity, and suspend after 10 minutes. After about 5 minutes of watching movie, the screen actually turned off. The sound from the movie can still be heard. Then i needed to move the cursor.
Just like the 5 minutes of inactivity of non-media player app.