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/display gets switched on by itself / Phone wakes up from suspend Anna 5 339 01-04-2022, 01:24 PM
Last Post: pothos
  Screen now turning off (and on) after a few seconds 3x5co 3 571 10-24-2021, 09:27 AM
Last Post: 3x5co
  Sizing apps to fit to screen county93 4 848 10-23-2021, 11:36 PM
Last Post: bcnaz
  GDM3 Receiving call on login screen d-.-b 4 728 10-07-2021, 06:59 PM
Last Post: d-.-b
  remove lock screen unrealb2 0 350 09-18-2021, 12:42 AM
Last Post: unrealb2
  No notifications on lock screen DrPlamsa 16 392 08-21-2021, 05:35 AM
Last Post: bcnaz
  Keyboard stopped working on disk encryption screen on Mobian after update cowsay 2 831 08-16-2021, 08:31 AM
Last Post: Zebulon Walton
  Eliminate swiping/logging in when waking up from suspend? Zebulon Walton 5 1,148 08-13-2021, 06:15 PM
Last Post: Zebulon Walton
  Proximity sensor dims screen doidolinux 8 471 08-09-2021, 11:14 PM
Last Post: tllim
  receive a blank screen after expanding SD on first boot ~Daniel~ 1 668 07-02-2021, 08:24 PM
Last Post: ~Daniel~

Forum Jump:


Users browsing this thread: 1 Guest(s)