Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: [Burn] on 31 July 2022, 21:17:13

Title: How do I setup mpd and ncmpcpp for runit?
Post by: [Burn] on 31 July 2022, 21:17:13
I've managed to figure this out somehow the first time I've tried, but now I forgot how I did it. I think it was because I've managed to make mpd not run as root.

I've tried Runit for user-services (https://wiki.artixlinux.org/Main/Runit#Runit_for_user-services) and when I entered
Code: [Select]
sv status /home/user/.service/mpd/
, I got this
Code: [Select]
fail: /home/user/.service/mpd/: runsv not running
. I don't know what to do. and I don't want to waste anymore time searching all over the internet.
Title: Re: How do I setup mpd and ncmpcpp for runit?
Post by: lennartpooppering on 01 August 2022, 02:49:21
Wait, did you just install the mpd package instead of the mpd-runit package? If so, try installing the mpd-runit package and try setting up the service again.

And regarding ncmpcpp, it is only available in the Arch Linux repositories.

I hope I have helped you!

Sincerely,

Lennart Trannel
Title: Re: How do I setup mpd and ncmpcpp for runit?
Post by: [Burn] on 01 August 2022, 03:18:48
I figured out how to get mpd working. The only problem I have now is ncmpcpp not playing audio. When I try to play a track. it just stays paused while only playing 1 frame of the song's scrolling text animation.

I installed mpd and mpd-runit.
Title: Re: How do I setup mpd and ncmpcpp for runit?
Post by: [Burn] on 01 August 2022, 07:20:02
The audio wasn't working for me, because mpd was already running as a user-service from .service in my /home/ directory. So I moved the user-service folder somewhere else so that it wouldn't run on start-up anymore, and just ran mpd in the terminal manually instead. I can finally play audio in ncmpcpp now.

[SOLVED]