Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to make firefox save the volume levels set by pulseaudio (pavucontrol)?

  • No replies
  • 1 has this problem
  • 16 views
more options

I'm using Firefox 76 on Arch Linux. Typically, I set the volume levels for applications using pavucontrol, the pulseaudio utility.

When I'm watching any sort of media stream in Firefox, Youtube for example, I'll adjust the volume of the stream using the "Firefox: Audio Stream" slider that shows up in pavucontrol's playback section. This works fine. My problem however, is that when I scroll back and forth in the video, refresh the page, or move to another video in the playlist, the slider in pavucontrol immediately jumps back up to 100%, ignoring the value I had just previously set. I want to know how to make the change I made in pavucontrol persist.

This can be mitigated by using the in browser volume controls (the youtube volume slider), but these are usually quite small and don't offer as much control as the pavucontrol sliders do. Something else to note is that if I go into Firefox's about:config and set media.volume_scale to a value greater than 1, the pavucontrol sliders begin to act how I would like them to (not resetting to 100%). However, upon doing this audio streams now start at 0% volume, and the in-browser "mute" button is broken (sets the volume to 0, but won't change it back).

Is there any way to achieve this behavior in Firefox? Literally every other browser I've tried just doesn't mess with my audio settings, so it's quite frustrating. This problem has persisted for years.

I'm using Firefox 76 on Arch Linux. Typically, I set the volume levels for applications using pavucontrol, the pulseaudio utility. When I'm watching any sort of media stream in Firefox, Youtube for example, I'll adjust the volume of the stream using the "Firefox: Audio Stream" slider that shows up in pavucontrol's playback section. This works fine. My problem however, is that when I scroll back and forth in the video, refresh the page, or move to another video in the playlist, the slider in pavucontrol immediately jumps back up to 100%, ignoring the value I had just previously set. I want to know how to make the change I made in pavucontrol ''persist''. This can be mitigated by using the in browser volume controls (the youtube volume slider), but these are usually quite small and don't offer as much control as the pavucontrol sliders do. Something else to note is that if I go into Firefox's about:config and set media.volume_scale to a value greater than 1, the pavucontrol sliders begin to act how I would like them to (not resetting to 100%). However, upon doing this audio streams now start at 0% volume, and the in-browser "mute" button is broken (sets the volume to 0, but won't change it back). Is there any way to achieve this behavior in Firefox? Literally every other browser I've tried just doesn't mess with my audio settings, so it's quite frustrating. This problem has persisted for years.