mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
659 B
Plaintext
30 lines
659 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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]}}`
|