运行 Firefox 作为一个孤立的 Linux 用户

Running Firefox As An Isolated Linux User

我刚刚将 运行 Firefox 指南作为一个孤立的用户 - https://www.burnison.ca/articles/running-firefox-as-an-isolated-linux-user 这是一个安全的好主意,而且我不喜欢家里的 .mozilla 目录。不幸的是,Mozilla Firefox 开发人员不会添加对 XDG 基本目录的支持。

一切正常,但扬声器和麦克风不工作。我有一些关于它的警告:

ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
mesa: for the --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the --global-isel-abort option: may only occur zero or one times!
mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
ATTENTION: default value of option mesa_glthread overridden by environment.
mesa: for the --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the --global-isel-abort option: may only occur zero or one times!
mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
[Child 101772, MediaDecoderStateMachine #1] WARNING: 7f463372f020 OpenCubeb() failed to init cubeb: file /build/firefox/src/firefox-94.0.1/dom/media/AudioStream.cpp:324
[Child 101772, MediaDecoderStateMachine #1] WARNING: Decoder=7f4643c11c00 [OnMediaSinkAudioError]: file /build/firefox/src/firefox-94.0.1/dom/media/MediaDecoderStateMachine.cpp:4001

有人知道如何解决吗?您的建议将不胜感激。

感谢您的全面回答。

我刚从 Pulseaudio 转到 ALSA。效果很好。