Setting default application volumes in pipewire/wireplumber
by lxs602 from LinuxQuestions.org on (#6MJ70)
Hi,
I have a problem with individual applications keep resetting volume to 46% when they are closed and reopened. I tried attaching a .gif animation, but it doesn't play, so here is a link.
It only happens on Budgie session (Ubuntu 24.04 new install), and only with USB speakers. I have posted the problem elsewhere. (Interestingly, firefox instead defaults to 100%).
As a workaround, I am trying to reset the default individual application volume to 100%.
Setting ~/.config/wireplumber/wireplumber.conf.d/default-vol.conf to the below changes this value, but makes no difference:
Code:wireplumber.settings = {
device.routes.default-sink-volume = 1.0
}Is this the correct setting? I also tried Code:wpctl settings device.routes.default-sink-volume = 1.0 (using wireplumber upgraded to 0.5.2, as this subcommand is not yet implemented in the Ubuntu 24.04 version).
I asked on pipewire IRC, and also here, but with no response, so I am posting here if hopefully someone can help.
Thanks.
I have a problem with individual applications keep resetting volume to 46% when they are closed and reopened. I tried attaching a .gif animation, but it doesn't play, so here is a link.
It only happens on Budgie session (Ubuntu 24.04 new install), and only with USB speakers. I have posted the problem elsewhere. (Interestingly, firefox instead defaults to 100%).
As a workaround, I am trying to reset the default individual application volume to 100%.
Setting ~/.config/wireplumber/wireplumber.conf.d/default-vol.conf to the below changes this value, but makes no difference:
Code:wireplumber.settings = {
device.routes.default-sink-volume = 1.0
}Is this the correct setting? I also tried Code:wpctl settings device.routes.default-sink-volume = 1.0 (using wireplumber upgraded to 0.5.2, as this subcommand is not yet implemented in the Ubuntu 24.04 version).
I asked on pipewire IRC, and also here, but with no response, so I am posting here if hopefully someone can help.
Thanks.