相关文章推荐
Hi,

I wanted to switch most of my audio config to pipewire since my friend recommended it to me.
I have successfully replaced ALSA and JACK (and learned that I was using jack actually).

However i have a problem with pipewire-pulse. It does not run:
$ pactl info 
Connection failure: Connection refused
pa_context_connect() failed: Connection refused

and if I try to start it manually i get this:
 $ pipewire-pulse
[E][00140.203030] mod.fallback-sink | [module-fallback-:  426 pipewire__module_init()] can't connect: Host is down
[E][00140.203064] default      | [           cmd.c:   51 do_cmd()] can't run command load-module module-always-sink: Host is down
[E][00140.203267] mod.protocol-pulse | [  pulse-server.c: 1083 do_set_client_name()] 0x55db4928cee0: failed to connect client: Host is down
[W][00140.203271] mod.protocol-pulse | [         reply.c:   54 reply_error()] client 0x55db492918d0 [Plasma PA]: ERROR command:9 (SET_CLIENT_NAME) tag:1 error:6 (Host is down)
[E][00141.204496] mod.protocol-pulse | [  pulse-server.c: 1083 do_set_client_name()] 0x55db4928cee0: failed to connect client: Host is down
[W][00141.204507] mod.protocol-pulse | [         reply.c:   54 reply_error()] client 0x55db49298370 [Plasma PA]: ERROR command:9 (SET_CLIENT_NAME) tag:1 error:6 (Host is down)
[E][00142.206076] mod.protocol-pulse | [  pulse-server.c: 1083 do_set_client_name()] 0x55db4928cee0: failed to connect client: Host is down
[W][00142.206087] mod.protocol-pulse | [         reply.c:   54 reply_error()] client 0x55db49299b50 [Plasma PA]: ERROR command:9 (SET_CLIENT_NAME) tag:1 error:6 (Host is down)

Do any of you know why is this happening?
..., but is the desktop file also being placed in the /etc/xdg/autostart/?

No.

RTFM:

https://wiki.archlinux.org/title/Desktop_entries#Application_entry
https://wiki.archlinux.org/title/Desktop_entries#File_example
https://wiki.archlinux.org/title/Desktop_entries#Tips_and_tricks
pipewire-pulse needs pipewire to start and usually you start wireplumber too.

Now there is launcher that does that made by ours devs, as Gentoo devs made one to avoid some log out problems:
world/pipewire 1:0.3.76-2 [installed: 1:1.0.1-1.1]
    usr/bin/artix-pipewire-launcher

So you can add that to autostart applications, I think that KDE has something in settings to handle that.
Wiki needs to be updated.
Edit: that it used by the .dekstop file now fixed, nevermind.

And there is also dinit, user instance that all inits can use, I use that:
galaxy/pipewire-dinit 20230930-2 (turnstile-experimental) [installed]
    dinit user service script for pipewire
galaxy/pipewire-pulse-dinit 20230930-2 (turnstile-experimental) [installed]
    dinit user service script for pipewire-pulse
galaxy/wireplumber-dinit 20230929-2 (turnstile-experimental) [installed]
    dinit user service script for wireplumber

But you need to set up a few more things for dinit user services.
Hello,

Sorry for reopening a topic marked as solved, but it looks like the chosen solution is not valid anymore. What I don't understand is that even if https://gitea.artixlinux.org/packages/pipewire lists pipewire.desktop , I don't see it on my system after installing all the relevant Pipewire packages.

I went further and ran
for pkg in $(pacman -Ssq pipewire); do pacman -Fl $pkg | grep '.desktop'; done
All I see is a few unrelated desktop files. Was it removed since two months ago, or is the expected usage to copy and paste the desktop file from Gitea?

Edit: I just noticed this is the same problem as identified here: https://forum.artixlinux.org/index.php/topic,6601.msg40449.html#msg40449
 
推荐文章