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
  phone call using built it app will not go to bluetooth motox6 0 33 Yesterday, 12:46 AM
Last Post: motox6
  audio quality on phone Rainer 0 147 05-28-2021, 09:25 AM
Last Post: Rainer
  Mobian: 2 week as main phone steves 10 1,458 05-18-2021, 11:55 AM
Last Post: vortex
  Bluetooth audio stalling (maybe the whole phone) motox6 1 226 05-18-2021, 10:15 AM
Last Post: wibble
  Run Mobian Unstable without risking being stuck without a working phone C0ffeeFreak 3 898 04-23-2021, 01:10 PM
Last Post: RTP
  Phone Shell and Dismissing Notifications on Mobian publiclewdness 0 336 04-10-2021, 01:41 PM
Last Post: publiclewdness
  Mobian phone too hot daniel 10 2,642 04-10-2021, 01:17 AM
Last Post: RTP
  Making nextcloud sync work on the phone 3x5co 4 1,539 03-27-2021, 03:49 PM
Last Post: MarkF
  Block Phone Numbers? MarkF 3 887 03-17-2021, 09:46 AM
Last Post: tophneal
  Deep sleep shutdown the phone bitsandnumbers 7 1,048 03-09-2021, 07:01 AM
Last Post: yanikd

Forum Jump:

Users browsing this thread: 1 Guest(s)