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
  New Install, apps start but don't show up on screen?! RT3 2 222 07-18-2025, 07:56 PM
Last Post: Kevin Kofler
  On-Screen Keyboard Arrow Keys biketool 10 2,354 03-27-2025, 03:03 PM
Last Post: biketool
  mobian phosh on screen keyboard not popping up for Chromium/Electron apps grump_fiddle_reinstall 1 908 01-15-2025, 08:08 PM
Last Post: Kevin Kofler
  Mobian, Suspend, and Audio Playback biketool 0 922 12-11-2024, 12:56 AM
Last Post: biketool
  Suspend functionality broken? grump_fiddle_reinstall 4 1,353 12-05-2024, 08:03 PM
Last Post: Kevin Kofler
  Proximity sensor is oversensitive (was "Screen blanks when making call") treebeard 6 6,148 08-05-2024, 06:12 AM
Last Post: baptx
  Unable to wake up from suspend xavi92 6 4,332 07-28-2024, 02:48 PM
Last Post: dchang0
  Screen auto-rotation sensitivity mdk 0 1,315 12-26-2023, 06:08 AM
Last Post: mdk
  Suspend on ram user641 2 1,907 09-25-2023, 01:44 PM
Last Post: user641
  System won't suspend due to suspention notification user641 6 4,229 09-24-2023, 05:47 AM
Last Post: user641

Forum Jump:


Users browsing this thread: 1 Guest(s)