HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pw-link — Manage links between ports in PipeWire. More information: <https://gitlab.freedesktop.org/pipewire/p

Submitted by: @import:tldr-pages··
0
Viewed 0 times
pipewirecommandbetweenpw-linkclimanagelinksports
linux

Problem

How to use the pw-link command: Manage links between ports in PipeWire. More information: <https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Virtual-Devices>.

Solution

pw-link — Manage links between ports in PipeWire. More information: <https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Virtual-Devices>.

List all audio output and input ports with their IDs:
pw-link {{[-oiI|--output --input --id]}}


Create a link between an output and an input port:
pw-link {{output_port_name}} {{input_port_name}}


Disconnect two ports:
pw-link {{[-d|--disconnect]}} {{output_port_name}} {{input_port_name}}


List all links with their IDs:
pw-link {{[-lI|--links --id]}}


Display help:
pw-link {{[-h|--help]}}

Code Snippets

List all audio output and input ports with their IDs

pw-link {{[-oiI|--output --input --id]}}

Create a link between an output and an input port

pw-link {{output_port_name}} {{input_port_name}}

Disconnect two ports

pw-link {{[-d|--disconnect]}} {{output_port_name}} {{input_port_name}}

List all links with their IDs

pw-link {{[-lI|--links --id]}}

Display help

pw-link {{[-h|--help]}}

Context

tldr-pages: linux/pw-link

Revisions (0)

No revisions yet.