- This topic has 4 replies, 3 voices, and was last updated Mar 6-4:54 am by sleekmason.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Forum for users of antiX Linux. Mean and Lean and Proudly anti-fascist.
Forum › Forums › General › Tips and Tricks › Howto play sound w/Firefox Quantum & ALSA W/O Pulseaudio:
After several months and much googling, I finally found a way to get modern Firefox to play sound using just ALSA WITHOUT Pulseaudio (I hate Pulseaudio and refuse to install it)!:
Steps to enable modern Firefox (Quantum) to play sound WITHOUT PulseAudio
and WITHOUT recompiling from source (Known to work w/latest v58.0.2 on Antix):
1) apt-get install apulse
2) apt-get install patchelf
3) In Firefox: about:config
change: security.sandbox.content.level from “3” to “2”
change: security.sandbox.content.syscall_whitelist from “” to “16” (if 64bit)
or to “54” (if x86/32bit)!
change: security.sandbox.content.write_path_whitelist from “” to “/dev/snd/,/etc/asound.conf”
If using a local .asoundrc file: to “/dev/snd/,/etc/asound.conf”,
If not using an asoundrc file: to “/dev/snd/”.
4) (MUST ALSO BE REPEATED AFTER EACH FIREFOX UPDATE!!!):
patchelf –set-rpath /usr/lib/apulse libxul.so
5) RUN FIREFOX FROM A SCRIPT THAT ADDS “/usr/bin/apulse “:
/usr/bin/apulse /usr/bin/firefox.real &
LINKS:
https://steemit.com/linux/@crokkon/firefox-and-alsa-sound-without-pulseaudio
https://github.com/i-rinat/apulse
https://github.com/i-rinat/apulse/issues/64
Oops – that was left from my own notes, forgot to change it for the post, fixed now!
Jim
no pulseaudio on this box at the moment to test, but you have my vote for tip-of-the-month !
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |