No sound in Firefox 59 on Linux in some configurations

此文章不再受維護,內容可能已經過時。

Firefox versions 58 and 59 may be unable to play or record sound on some Linux distributions and desktop environments.

This is fixed in Firefox version 60. Download the new version here.

About this issue

If the PulseAudio service, which manages audio hardware, is not already running then Firefox will fail to start it due to sandboxing. Most desktop environments start PulseAudio when you log in and ensure that it remains running, and some newer distributions use systemd to manage restarting it, but if neither of these applies then this problem can occur.

What you can do

If you are affected, try one of these workarounds:

  • Run pulseaudio --start --exit-idle-time=-1 from a terminal.
  • More advanced: Add that command to a script that's run at login (for example, .xinitrc if you use startx).
  • Update Firefox to the latest release.

這些好人幫助我們撰寫了這篇文章:

Illustration of hands

成為志工

在此回答問題並幫助我們改善知識庫內容,與其他人一起切磋琢磨專業能力。

了解更多