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
  Suspend broken on the pp user641 0 149 04-08-2022, 04:18 PM
Last Post: user641
  Disable on screen keyboard permanently. grump_fiddle_reinstall 9 1,453 03-02-2022, 07:47 AM
Last Post: johns
  lost settings icon from screen kubussz 3 584 02-17-2022, 09:26 AM
Last Post: beretta
  Screen/display gets switched on by itself / Phone wakes up from suspend Anna 5 1,063 01-04-2022, 01:24 PM
Last Post: pothos
  Screen now turning off (and on) after a few seconds 3x5co 3 991 10-24-2021, 09:27 AM
Last Post: 3x5co
  Sizing apps to fit to screen county93 4 1,377 10-23-2021, 11:36 PM
Last Post: bcnaz
  GDM3 Receiving call on login screen d-.-b 4 1,330 10-07-2021, 06:59 PM
Last Post: d-.-b
  remove lock screen unrealb2 0 537 09-18-2021, 12:42 AM
Last Post: unrealb2
  No notifications on lock screen DrPlamsa 16 1,534 08-21-2021, 05:35 AM
Last Post: bcnaz
  Keyboard stopped working on disk encryption screen on Mobian after update cowsay 2 1,192 08-16-2021, 08:31 AM
Last Post: Zebulon Walton

Forum Jump:


Users browsing this thread: 1 Guest(s)