Bug 480493 - Associate an audio output with a display configuration
Summary: Associate an audio output with a display configuration
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasma-pa
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.5
Platform: Debian stable Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-29 15:18 UTC by Martin Collins
Modified: 2024-02-13 15:58 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Collins 2024-01-29 15:18:18 UTC
I carry my laptop between home and work, and plug it into USB-C docks with all the peripherals attached, with different monitors in each place.
I have recently upgraded my home setup with an AV receiver so video and sound now both go out via HDMI. At work sound still goes out via the analog port.

Now when I plug in I have to manually change the audio output every time.

So I wonder if an audio output could be associated with a display configuration so the switch is automatic.
Comment 1 Harald Sitter 2024-02-12 00:15:18 UTC
I fear that is not going to happen. You may find this scriptable using pactl and kscreen-doctor or similar tools.
Comment 2 Martin Collins 2024-02-13 15:02:39 UTC
Looking into that I find that just getting the name of the connected monitor is rather involved. Is there a simple way? How does kscreen do it?