Prevent suspend & keep the screen
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
sudo dpkg -i ./coffeine*.deb
Use it just by prepending it to the application you want to execute, e.g.
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.
It is now available to install with
sudo apt install coffeine

Possibly Related Threads…
Thread Author Replies Views Last Post
  Unsuspend → Black screen mdk 7 1,445 05-09-2023, 07:50 AM
Last Post: mdk
  Lock screen question: always squeekboard tuxcall 1 662 02-02-2023, 08:51 PM
Last Post: Haibara23
  Chatty does not work after suspend mode user641 0 535 01-30-2023, 11:36 AM
Last Post: user641
  [solved] Black screen at boot time mdk 0 605 01-13-2023, 03:33 AM
Last Post: mdk
  suspend inhibit no longer working jsch 3 1,083 10-23-2022, 09:20 AM
Last Post: LibrePhoneUser
  how to split screen? andrew907 2 766 08-08-2022, 09:38 AM
Last Post: andrew907
  Proximity sensor is oversensitive (was "Screen blanks when making call") treebeard 5 1,470 08-02-2022, 03:16 PM
Last Post: treebeard
  on screen keyboard woes vusra 1 722 07-18-2022, 03:29 AM
Last Post: vusra
  Giving certain audio apps priority on the lock screen and pulldown 3x5co 0 471 07-17-2022, 10:34 AM
Last Post: 3x5co
  Won't boot, black screen mdk 4 1,564 07-03-2022, 06:38 PM
Last Post: Chief

Forum Jump:

Users browsing this thread: 1 Guest(s)