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
  PinePhone AND/OR PinePhone Pro Arch Complete Install and Setup mikehenson 3 5,359 01-09-2025, 05:02 AM
Last Post: biketool
  LibreOffice usable with Arch Linux on the Pinephone? Peter Gamma 2 1,412 07-28-2024, 05:12 AM
Last Post: Peter Gamma
  stuck between phosh and plasma aular 0 1,037 02-27-2024, 05:55 PM
Last Post: aular
  Updating Arch Linux _radv_ 8 4,284 02-20-2024, 09:35 AM
Last Post: _radv_
  How to install arch with FDE user641 3 2,633 01-11-2024, 10:18 PM
Last Post: Kevin Kofler
  How to find software app, on Arch Phosh? general_lee 5 4,391 10-15-2023, 10:12 PM
Last Post: Kevin Kofler
  Arch auto mount usb example Lazy_one 2 4,575 10-06-2023, 09:36 AM
Last Post: luppivega
  Arch with FDE user641 1 1,909 07-29-2023, 08:27 AM
Last Post: alpineduck
  No audio on calls after using wired headset Zebulon Walton 2 2,848 12-07-2022, 07:35 PM
Last Post: Zebulon Walton
  No keyboard on Arch Plasma when entering password on document Chief 0 1,946 12-03-2022, 08:35 PM
Last Post: Chief

Forum Jump:


Users browsing this thread: 1 Guest(s)