Keep phone awake when audio is playing
I want my phone to auto suspend, but not if music is playing. My player, gmusicbrowser, has an option to prevent a screensaver when the player is playing and fullscreen. However, it doesn't work on the Mobian Pinephone.

There's a program called caffeine that is supposed to let you tweak your sleep settings, but I can't install it on Mobian. I get these errors:

md5sum: /usr/lib/crust/scp.bin: No such file or directory
E: Sub-process if grep -qE '(u-boot-sunxi|arm-trusted-firmware)'; then touch /tmp/upgrade-uboot; else md5sum /usr/lib/crust/scp.bin > /tmp/crust.md5; fi returned an error code (1)
E: Failure running script if grep -qE '(u-boot-sunxi|arm-trusted-firmware)'; then touch /tmp/upgrade-uboot; else md5sum /usr/lib/crust/scp.bin > /tmp/crust.md5; fi


Any ideas?
Something like this worked for me (from the console)

gnome-session-inhibit mpv --fs Airport\ Piano\ by\ Tim\ Minchin\ \(Official\ Video\)-ZAFMSplS4y8.webm

There's more info here, but you may have already seen it:
Thanks! After posting this, I read the Wiki again and realized it has solutions for this using gnome-session-inhibit.

Possibly Related Threads…
Thread Author Replies Views Last Post
  MATE on pine phone user641 6 783 05-05-2022, 09:44 AM
Last Post: biketool
  Bluetooth audio support? Zebulon Walton 5 895 02-28-2022, 08:59 AM
Last Post: Zebulon Walton
  Phone mic isn't working at all D347h 2 546 01-26-2022, 07:34 AM
Last Post: D347h
  Screen/display gets switched on by itself / Phone wakes up from suspend Anna 5 1,182 01-04-2022, 01:24 PM
Last Post: pothos
  Block Phone Numbers? MarkF 6 2,821 12-02-2021, 08:26 AM
Last Post: Smeegle
  Phone suddenly unusable TRS-80 6 823 11-19-2021, 09:46 AM
Last Post: TRS-80
  Help! Audio stopped working Barugon 4 1,235 11-03-2021, 10:58 AM
Last Post: Barugon
  Deep sleep shutdown the phone bitsandnumbers 19 4,922 10-22-2021, 07:04 AM
Last Post: kqlnut
  Can't connet to car audio using bluetooth Barugon 1 627 10-16-2021, 01:42 PM
Last Post: Zebulon Walton
  Is there a better audio / podcast player? motox6 15 7,870 08-24-2021, 04:08 PM
Last Post: ragreenburg

Forum Jump:

Users browsing this thread: 1 Guest(s)