Firefox: Difference between revisions
imported>Vater No edit summary |
imported>Artturin |
||
| Line 3: | Line 3: | ||
==Installation== | ==Installation== | ||
Nix offers multiple ways to install | Nix offers multiple ways to install Firefox. | ||
===Using Nix=== | ===Using Nix=== | ||
Firefox may be normally installed by using the <code>firefox</code> package. | |||
===Using Home Manager=== | ===Using Home Manager=== | ||
Nix's [[Home Manager]] provides a configuration option for managing Firefox profiles. To allow Home Manager to manage Firefox, you should set the following option in your <code>home.nix</code>: | |||
< | |||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
programs.firefox.enable = true; | |||
</syntaxhighlight> | </syntaxhighlight> | ||
[ | For more information on managing Firefox with Home Manager, please refer to [https://rycee.gitlab.io/home-manager/options.html#opt-programs.firefox.enable Home Manager's manual's Firefox section ]. | ||
==Other Editions== | ==Other Editions== | ||
| Line 125: | Line 94: | ||
For example: | For example: | ||
<syntaxhighlight | |||
<syntaxhighlight> | |||
firefox | |||
1554035168269 Marionette FATAL Error de análisis XML: entidad indefinida | 1554035168269 Marionette FATAL Error de análisis XML: entidad indefinida | ||
Ubicación: chrome://browser/content/browser.xul | Ubicación: chrome://browser/content/browser.xul | ||
Línea 2526, columna 13: <toolbarbutton id="tracking-protection-preferences-button" | Línea 2526, columna 13: <toolbarbutton id="tracking-protection-preferences-button" | ||
JavaScript error: resource:///modules/aboutpages/AboutPrivateBrowsingHandler.jsm, line 28: TypeError: this.pageListener is undefined | JavaScript error: resource:///modules/aboutpages/AboutPrivateBrowsingHandler.jsm, line 28: TypeError: this.pageListener is undefined | ||
</syntaxhighlight> | </syntaxhighlight> | ||
An easy way to get away from this is to start firefox with the | 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. | ||
=== nativeMessagingHosts don't work === | === nativeMessagingHosts don't work === | ||