i3 / i3/i3status

Volume config uses Pulseaudio port name instead of description

Open
#480 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
653
Forks
254
PR merge metrics
No merged PRs in 30d

Description

Commit https://github.com/i3/i3status/commit/09358d26982431702c3652e8f07ebff7166a1181 introduced an odd behavior for the volume setting: Using the port name instead of the device name.
The rationale was to have "much friendlier names" which seems certainly not the case for many other systems.
Moreover, the port name can _not_ be easily renamed by the user like the device decription.

If the user find themselves in the situation of unfriendly names, they can always rename their Pulse description for sane names in i3status with the old behavior.
With the new behavior from https://github.com/i3/i3status/commit/09358d26982431702c3652e8f07ebff7166a1181 this is not possible anymore.

Additionally the rationale of the setting in i3status is (from my understanding) to show the audio _device_ not the active _port_, as the port may change while the respective volume handler stays the same.

Attached below are screenshots of both behaviors on one of my systems.
I have two sound devices with the port "Digital Output (S/PDIF)" and cannot tell them apart with the new behavior.
![screenshot_20220130_155737](https://user-images.githubusercontent.com/891620/151705016-786cd5ba-76d2-4e69-a248-82714e861e16.png)
![screenshot_20220130_155815](https://user-images.githubusercontent.com/891620/151705017-452f8ed8-abbb-496b-b837-ee5f45aee2e5.png)
![screenshot_20220130_155900](https://user-images.githubusercontent.com/891620/151705018-e93bf3b7-db9c-4ec5-a60c-75a1807164a5.png)
![screenshot_20220130_155920](https://user-images.githubusercontent.com/891620/151705020-56b0d935-f3f0-485a-9526-ded9267dffb5.png)

When reverting the commit I can easily tell them apart after renaming the device description ("AVR" and "Headphones") in Pulseaudio or Pipewire. Pavucontrol even has a gui option for that (right-click on the device).
With the new behavior I am stuck with non-identifiable names.

So here goes my humble request to revert the commit https://github.com/i3/i3status/commit/09358d26982431702c3652e8f07ebff7166a1181 or at least make the bahavor optional.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.