Prevent suspend & keep the screen
#1
Some applications do not keep the screen on and the screensaver (or suspend) kicks in. (Video players such as mpv come to mind). In this case the little wrapper app “coffeine” comes in handy (source). Download the latest .deb file and install it with
Code:
sudo dpkg -i ./coffeine*.deb
Use it just by prepending it to the application you want to execute, e.g.
Code:
coffeine apt dist-upgrade
and the screen will stay on while you upgrade your system and won't suspend in between.

UPDATE: Disclaiimer, it was written my me, so this is a shameless self-plug.
#2
It is now available to install with
Code:
sudo apt install coffeine


Possibly Related Threads…
Thread Author Replies Views Last Post
  Mobian, Suspend, and Audio Playback biketool 0 129 12-11-2024, 12:56 AM
Last Post: biketool
  Suspend functionality broken? grump_fiddle_reinstall 4 218 12-05-2024, 08:03 PM
Last Post: Kevin Kofler
  Proximity sensor is oversensitive (was "Screen blanks when making call") treebeard 6 4,479 08-05-2024, 06:12 AM
Last Post: baptx
  Unable to wake up from suspend xavi92 6 2,850 07-28-2024, 02:48 PM
Last Post: dchang0
  Screen auto-rotation sensitivity mdk 0 918 12-26-2023, 06:08 AM
Last Post: mdk
  Suspend on ram user641 2 1,312 09-25-2023, 01:44 PM
Last Post: user641
  System won't suspend due to suspention notification user641 6 2,749 09-24-2023, 05:47 AM
Last Post: user641
  Power Consumption on Suspend JudgeFudge 8 3,147 07-29-2023, 06:24 AM
Last Post: JudgeFudge
  Chatty does not work after suspend mode user641 4 2,852 07-18-2023, 10:43 AM
Last Post: alaraajavamma
  Screen stay black unless power key pressed short freelectro 0 942 06-24-2023, 01:55 PM
Last Post: freelectro

Forum Jump:


Users browsing this thread: 1 Guest(s)