← 返回命令列表

Linux command

pw-link 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

pw-link -oiI

Create

pw-link [output_port] [input_port]

Disconnect

pw-link -d [output_port] [input_port]

Example

pw-link -lI

Example

pw-link -h

说明

pw-link manages connections between PipeWire ports. It can list available ports, create new links between audio sources and sinks, and remove existing connections. The tool enables routing audio between applications and devices, useful for creating complex audio setups like virtual cables or recording application output.

参数

-o, --output
List output ports
-i, --input
List input ports
-l, --links
List existing links
-I, --id
Show object IDs
-d, --disconnect
Disconnect ports instead of connecting
-h, --help
Display help information

FAQ

What is the pw-link command used for?

pw-link manages connections between PipeWire ports. It can list available ports, create new links between audio sources and sinks, and remove existing connections. The tool enables routing audio between applications and devices, useful for creating complex audio setups like virtual cables or recording application output.

How do I run a basic pw-link example?

Run `pw-link -oiI` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -o, --output do in pw-link?

List output ports