Firefox: Difference between revisions

imported>Artturin
No edit summary
imported>Artturin
m add reference and organize
Line 78: Line 78:


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.
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.
== Repo extensions ==
=== Enabling [https://community.kde.org/Plasma/Browser_Integration#How_to_install Plasma Browser Integration]  ===
1. Add following line to your configuration.nix:
<code>nixpkgs.config.firefox.enablePlasmaBrowserIntegration = true;</code>
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]


== Troubleshooting==
== Troubleshooting==
Line 94: Line 104:


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.  
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]  ===
1. Add following line to your configuration.nix: (enabled by default in latest nix unstable)
<code>nixpkgs.config.firefox.enablePlasmaBrowserIntegration = true;</code>
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]


=== nativeMessagingHosts don't work ===
=== nativeMessagingHosts don't work ===
such as enablePlasmaBrowserIntegration, enableGnomeExtensions, and enableBrowserpass
such as enablePlasmaBrowserIntegration, enableGnomeExtensions, and enableBrowserpass


They do not work with the firefox-bin derivation or with firefox installed via nix-env
They do not work with the firefox-bin derivation<ref>https://github.com/NixOS/nixpkgs/issues/47340#issuecomment-476368401</ref> or with firefox installed via nix-env


<hr />
<hr />
<references />
<references />