audio services shut down after short time on arch-phosh
#1
I was listening to music with audacious when after about five minutes my bluetooth headphones disconnected.
This also happened when the speaker was playing music, as the music simply turned off on the phone.
  Reply
#2
Audacious has a long-outstanding bug/feature request to inhibit suspend during playback.
https://redmine.audacious-media-player.org/issues/51

Until they add the feature you'll need a workaround like the ones in the mobian wiki. I'd suggest changing the .desktop file to use gnome-session-inhibit so that the phone won't suspend while audacious is running.
https://wiki.mobian-project.org/doku.php...pend-sleep
  Reply
#3
(12-17-2021, 11:04 AM)wibble Wrote: Audacious has a long-outstanding bug/feature request to inhibit suspend during  playback.
https://redmine.audacious-media-player.org/issues/51

Until they add the feature you'll need a workaround like the ones in the mobian wiki. I'd suggest changing the .desktop file to use gnome-session-inhibit so that the phone won't suspend while audacious is running.
https://wiki.mobian-project.org/doku.php...pend-sleep

Hello, coming back to this problem, I've observed a disconnect from bluetooth after about five minutes of using the program mpv on an mp3 file.
I've also observed the problem occur both when I connect to the headphones through gnome-settings as well as bluetoothctl in terminal.
  Reply
#4
If you are using mpv, set up an alias to run 'gnome-session-inhibit --inhibit idle --inhibit suspend mpv <file>'
Alternatively follow instructions here: https://wiki.mobian-project.org/doku.php...-is-active
You can enable the systemd user service 'sguard' to prevent suspend while audio is playing. It works reliably. However most clients like Lollypop and GNOME Podcasts now inhibit suspend during playback themselves as well. I've found I don't need sguard anymore.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  stuck between phosh and plasma aular 0 22 Yesterday, 05:55 PM
Last Post: aular
  Updating Arch Linux _radv_ 8 244 02-20-2024, 09:35 AM
Last Post: _radv_
  PinePhone AND/OR PinePhone Pro Arch Complete Install and Setup mikehenson 2 1,825 01-14-2024, 08:43 AM
Last Post: shifras
  How to install arch with FDE user641 3 532 01-11-2024, 10:18 PM
Last Post: Kevin Kofler
  How to find software app, on Arch Phosh? general_lee 5 1,652 10-15-2023, 10:12 PM
Last Post: Kevin Kofler
  Arch auto mount usb example Lazy_one 2 2,696 10-06-2023, 09:36 AM
Last Post: luppivega
  Arch with FDE user641 1 773 07-29-2023, 08:27 AM
Last Post: alpineduck
  No audio on calls after using wired headset Zebulon Walton 2 1,328 12-07-2022, 07:35 PM
Last Post: Zebulon Walton
  No keyboard on Arch Plasma when entering password on document Chief 0 774 12-03-2022, 08:35 PM
Last Post: Chief
  Curious About Arch Ferriah 2 1,994 11-07-2022, 04:38 PM
Last Post: Ferriah

Forum Jump:


Users browsing this thread: 1 Guest(s)