Firefox: Difference between revisions

imported>Hypnosis2839
m remove mentions of nix-env, java, and simplify explanations; remove repetitive text
imported>Writer
Add how to use KDE file picker
Line 109: Line 109:


2. Install [https://addons.mozilla.org/en-US/firefox/addon/plasma-integration/ KDE's Firefox extension].
2. Install [https://addons.mozilla.org/en-US/firefox/addon/plasma-integration/ KDE's Firefox extension].
=== Use KDE file picker ===
You must instruct Firefox to use the file picker offered by the XDG Desktop Portal framework. This setting can be found in Firefox's ''about:config'' as ''widget.use-xdg-desktop-portal.file-picker''. The value 1 means "always". To set it using NixOS, add to ''configuration.nix''
<syntaxhighlight lang="nix">
  # Make Firefox use the KDE file picker.
  # Preferences source: https://wiki.archlinux.org/title/firefox#KDE_integration
  programs.firefox = {
    enable = true;
    preferences = {
    "widget.use-xdg-desktop-portal.file-picker" = 1;
    };
  };
</syntaxhighlight>


=== Use xinput2 ===
=== Use xinput2 ===