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
  Screen auto-rotation sensitivity mdk 0 267 12-26-2023, 06:08 AM
Last Post: mdk
  Unable to wake up from suspend xavi92 5 1,105 10-26-2023, 03:02 PM
Last Post: xavi92
  Suspend on ram user641 2 705 09-25-2023, 01:44 PM
Last Post: user641
  System won't suspend due to suspention notification user641 6 1,397 09-24-2023, 05:47 AM
Last Post: user641
  Power Consumption on Suspend JudgeFudge 8 1,833 07-29-2023, 06:24 AM
Last Post: JudgeFudge
  Chatty does not work after suspend mode user641 4 1,894 07-18-2023, 10:43 AM
Last Post: alaraajavamma
  Screen stay black unless power key pressed short freelectro 0 646 06-24-2023, 01:55 PM
Last Post: freelectro
  Unsuspend → Black screen mdk 15 5,111 06-22-2023, 11:20 AM
Last Post: Melechtna
  Lock screen question: always squeekboard tuxcall 1 1,217 02-02-2023, 08:51 PM
Last Post: Haibara23
  [solved] Black screen at boot time mdk 0 1,007 01-13-2023, 03:33 AM
Last Post: mdk

Forum Jump:


Users browsing this thread: 1 Guest(s)