Make volume from HDMI monitor persistent

Hi All,

I recently noticed that every time I connect an external monitor, the volume gets set to 100%. This isn’t desirable; I’d like KDE to remember the old volume setting and restore it when the monitor connects again.

This used to be the behavior; but it seems to have changed after the recent upgrade. Any suggestions welcome, thanks in advance.

Operating System: Arch Linux 
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.51-1-lts (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: LENOVO
Product Name: 20XY0002US
System Version: ThinkPad X1 Yoga Gen 6
1 Like

I use Display port, got the exact same issue, but this is on OpenSuse+KDE. On Fedora I didn’t have this issue in KDE. It’s incredibly frustrating.

On previous versions I didn’t have this issue either… it looks like either a regression, or a design decision. If it was a conscious design decision, there’s not much we can do; but if it was accidental I’m hoping someone can point me to how it can be fixed.

Thanks!

I have the same problem on my kubuntu machine
In my case it is due to the greeter setting the volume to 100% by default. Thus everytime to you have to login, e.g. after connecting the laptop to the dock and logging in, the volume is at 100%.

Disabling pipewire and wireplumber for the user running the greeter (sddm in my case) solved the issue.

sudo systemctl --user --machine sddm@ stop pipewire.service pipewire.socket wireplumber.service 
sudo systemctl --user --machine sddm@ disable pipewire.service pipewire.socket wireplumber.service 
sudo systemctl --user --machine sddm@ mask pipewire.service pipewire.socket wireplumber.service 

Found the information here: Restore volumes with PipeWire/WirePlumber - Unix & Linux Stack Exchange