Skip to main content

Manage Pipewire connections via a TUI

Project description

pwconn -- manage Pipewire connections via TUI

pwconn serves the same basic function as qpwgraph: it allows you to view, create, and remove connections between Pipewire apps. It is a UI wrapper on the command-line utils pw-cli, pw-link, and aconnect.

It is under development and not that pretty yet, but if you want to play around with it most of the functionality is there.

pwconn-screenshot

Requirements:

  • 'uv' for build/install (I wanted to give it a try, seems ok but jury is still out)
  • alsa-tools from your Linux distribution, for the aconnect tool
  • pw-utils from your Linux distribution, for the pw-cli and pw-link tools.

Build/install

The options are:

  • Install latest release from PyPI: pip install pwconn
  • Launch the project from the source tree with uv run pwconn
  • Install from source locally
    • Build wheel with uv build
    • Optional: create and activate a virtualenv for the install
      • python3 -m venv <destination>
      • . <destination>/bin/activate
    • Install the wheel with pip install dist/pwconn-0.1.0-py3-none-any.whl
    • Launch as pwconn

Usage

  • The main UI is a list of Pipewire devices of a single kind (audio, JACK MIDI, ALSA MIDI, or video).

  • Select a line in the list by up and down arrow keys or mouse click

  • Keyboard commands are listed at the bottom of the screen

  • The keys [, ], {, and } expand and collapse. Devices expand to show ports, and ports expand to show connections

  • The keys "a", "j", "m", and "v" switch which kind of device is displayed

  • When a port is selected, the space key will "mark" it.

  • To make one or more connections, mark all of the connection endpoints and press "c". If there are multiple ins and outs selected it will make a reasonable choice of connections which is generally OK. If not, make the connections one at a time.

  • To disconnect, select a link (from either "end") and type "d"

  • If a "connect" or "disconnect" action does not appear to do anything, this is probably an error in the underlying operation that isn't reflected in the UI. In particular, ALSA MIDI connections may not be deleteable by a process that did not create them.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pwconn-0.6.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pwconn-0.6.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file pwconn-0.6.0.tar.gz.

File metadata

  • Download URL: pwconn-0.6.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for pwconn-0.6.0.tar.gz
Algorithm Hash digest
SHA256 a57e5e6e69b3a33f418f1d6f9793a0f30f35175457ed504dd5159ce51b8b186e
MD5 511328f178d495a81e87da17e40fceaf
BLAKE2b-256 44cbf2221657bfe01fc3136e7747a86279b5bd623bc66303a546d081e6f1fa6c

See more details on using hashes here.

File details

Details for the file pwconn-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: pwconn-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for pwconn-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6463d00a59becb5ab808eff04fd02f53ea51f81c94f37bb8491b066a927d0a6
MD5 bc74817ec1dc92c60a7cdd8bee5dbe58
BLAKE2b-256 f94068197b31ec1b1996f34e3830d07318d5ae4df889d33a548898a71a4053dd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page