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
  Proximity sensor is oversensitive (was "Screen blanks when making call") treebeard 6 4,013 08-05-2024, 06:12 AM
Last Post: baptx
  Unable to wake up from suspend xavi92 6 2,478 07-28-2024, 02:48 PM
Last Post: dchang0
  Screen auto-rotation sensitivity mdk 0 851 12-26-2023, 06:08 AM
Last Post: mdk
  Suspend on ram user641 2 1,184 09-25-2023, 01:44 PM
Last Post: user641
  System won't suspend due to suspention notification user641 6 2,470 09-24-2023, 05:47 AM
Last Post: user641
  Power Consumption on Suspend JudgeFudge 8 2,823 07-29-2023, 06:24 AM
Last Post: JudgeFudge
  Chatty does not work after suspend mode user641 4 2,640 07-18-2023, 10:43 AM
Last Post: alaraajavamma
  Screen stay black unless power key pressed short freelectro 0 883 06-24-2023, 01:55 PM
Last Post: freelectro
  Unsuspend → Black screen mdk 15 7,420 06-22-2023, 11:20 AM
Last Post: Melechtna
  Lock screen question: always squeekboard tuxcall 1 1,547 02-02-2023, 08:51 PM
Last Post: Haibara23

Forum Jump:


Users browsing this thread: 1 Guest(s)