Firefox: Difference between revisions
imported>Kvtb Firefox without pulseaudio |
imported>Infix m fix typos |
||
| Line 33: | Line 33: | ||
=== How to run Firefox without pulseaudio and still get audio output? === | === How to run Firefox without pulseaudio and still get audio output? === | ||
Replace libpulseaudio by libpressureaudio, which uses apulse to emulate | Replace libpulseaudio by libpressureaudio, which uses apulse to emulate PulseAudio but uses ALSA directly. So, you don't need to install/enable pulse audio. | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
| Line 59: | Line 59: | ||
Firefox stops support of Java plugin. To use Java plugin you have to use special Firefox ESR, Extended Support Release. | Firefox stops support of Java plugin. To use Java plugin you have to use special Firefox ESR, Extended Support Release. | ||
Also, Oracle doesn't provide a nice way to automate Oracle JDK installation without accepting license. See https://gist.github.com/danbst/30165b59996fb403068c74a95b108d6f for possible way to combine automated JDK and Firefox ESR download. | Also, Oracle doesn't provide a nice way to automate Oracle JDK installation without accepting the license. See https://gist.github.com/danbst/30165b59996fb403068c74a95b108d6f for possible way to combine automated JDK and Firefox ESR download. | ||
== Troubleshooting== | == Troubleshooting== | ||
| Line 75: | Line 75: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
An easy way to get away from this is to start firefox with the <syntaxhighlight>firefox -safe-mode </syntaxhighlight> command. Then you can troubleshoot your actual problem or you can call your luck by calling the refresh option (a special button will appear when firefox starts in this mode). This | An easy way to get away from this is to start firefox with the <syntaxhighlight>firefox -safe-mode </syntaxhighlight> command. Then you can troubleshoot your actual problem or you can call your luck by calling the refresh option (a special button will appear when firefox starts in this mode). This will reset your configuration to a sane state and you will be usually able to start the browser again, but you will lose most of your customization. | ||
=== Enabling [https://community.kde.org/Plasma/Browser_Integration#How_to_install Plasma Browser Integration] === | === Enabling [https://community.kde.org/Plasma/Browser_Integration#How_to_install Plasma Browser Integration] === | ||
| Line 81: | Line 81: | ||
<code>nixpkgs.config.firefox.enablePlasmaBrowserIntegration = true;</code> | <code>nixpkgs.config.firefox.enablePlasmaBrowserIntegration = true;</code> | ||
If you | If you're wondering where this part is coming from see [https://nixos.org/nixos/manual/#sec-customising-packages NixOS Manual:Customising Packages] | ||
2. Install KDE's Firefox extension: [https://addons.mozilla.org/en-US/firefox/addon/plasma-integration/ Link] | 2. Install KDE's Firefox extension: [https://addons.mozilla.org/en-US/firefox/addon/plasma-integration/ Link] | ||