Jack - How to disable autoconnect (self-connect)?
Version, Distribution, Desktop Environment:
Arch Linux 5.11.8 / XFCE
$ yay -Qs pipewire
local/pipewire 1:0.3.24-1
Low-latency audio/video router and processor
local/pipewire-alsa 1:0.3.24-1
Low-latency audio/video router and processor - ALSA configuration
local/pipewire-jack 1:0.3.24-1
Low-latency audio/video router and processor - JACK support
local/pipewire-jack-dropin 3-1
Use pipewire as drop-in replacement for JACK
local/pipewire-media-session 1:0.3.24-1
Low-latency audio/video router and processor - Session manager
local/pipewire-pulse 1:0.3.24-1
Low-latency audio/video router and processor - PulseAudio replacement
local/wireplumber 0.3.0-1
Session / policy manager implementation for PipeWire
$ ldd /usr/bin/qjackctl | grep -i libjack
libjack.so.0 => /usr/lib/pipewire-0.3/jack/libjack.so.0 (0x00007fd5df3f8000)
.asoundrc:
pcm.!default {
type pipewire
playback_node "-1"
capture_node "-1"
hint {
show on
description "Default ALSA Output (currently PipeWire Media Server)"
}
}
ctl.!default {
type pipewire
}
$ systemctl --user |grep pipewire
pipewire-media-session.service loaded active running Multimedia Service Session Manager
pipewire-pulse.service loaded active running PipeWire PulseAudio
pipewire.service loaded active running Multimedia Service
pipewire-pulse.socket loaded active running PipeWire PulseAudio
pipewire.socket loaded active running Multimedia System
Description of Problem:
With PipeWire whenever an input source appears it will be auto-connected to the soundcard node. The original Jack2 server has an option to ignore/fail self-connects and you have to deal with it yourself (usually with external tools like e.g. QJackCtl or Jack-Matchmaker).
If you have set up a nice graph in Carla you obviously want it to get passed right from the beginning and not from the end so there is need to get that handled. The screenshot above shows how it gets set up every time by PipeWire (direct to soundcard). If you would have placed some other nodes the source node should be connected there instead (either manually or by 3rd party tools). The important part for PipeWire would be to not create a connection at all.
Is there an option in PipeWire to disable autoconnect for Jack?