09-03-2021, 10:13 AM
(08-26-2021, 01:49 AM)kqlnut Wrote:(08-25-2021, 12:53 PM)kelbot Wrote: So how do you actually use any audio playing app when it cuts off the audio after 5 minutes when the screen is off? On the "default" Manjaro Plasma Mobile image it's basically useless for listening to music or podcasts.
The best way to go would be for the apps to implement suspend inhibition by themselves. It has been implemented in Gnome Podcasts recently and released in a beta version a couple of days ago, so hopefully it will soon be available in the common repositories.
For now I inhibit suspend manually (on Phosh though, maybe something similar is possible on Plasma) with
(it's a little faster than turning off suspend in the settings and I don't run as much risk of forgetting to turn it back on later)Code:gnome-session-inhibit --inhibit suspend --inhibit-only
It's a nice trick but actually Lollypop, Gnome Podcasts and Kasts already have a implementation to block suspend on Phosh and I think apps like Elisa or Kasts should do the job on Plasma to. A big issue right now is that there is a proposal for this to the Freedomedesktop standards that is years old and just never got accepted which Plasma uses anyway but Phosh doesn't which means app developers have to implement it twice :/