Translations:Archive:Browser Configuration/Firefox Dialog Integration/5/en

From KDE UserBase Wiki
Revision as of 08:50, 14 September 2023 by FuzzyBot (talk | contribs) (FuzzyBot moved page Translations:Browser Configuration/Firefox Dialog Integration/5/en to Translations:Archive:Browser Configuration/Firefox Dialog Integration/5/en without leaving a redirect: Part of translatable page "Browser Configuration/Firefox Dialog Integration")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • Using the kwriteconfig tool in a console window (or a text editor), modify the Exec directives to instruct Firefox to use the Portal functionality.
    kwriteconfig5 --file $HOME/.local/share/applications/firefox.desktop --group "Desktop Entry" --key "Exec" "GTK_USE_PORTAL=1 /usr/lib/firefox/firefox %u"
    kwriteconfig5 --file $HOME/.local/share/applications/firefox.desktop --group "Desktop Action new-window" --key "Exec" "GTK_USE_PORTAL=1 /usr/lib/firefox/firefox --new-window %u"
    kwriteconfig5 --file $HOME/.local/share/applications/firefox.desktop --group "Desktop Action new-private-window" --key "Exec" "GTK_USE_PORTAL=1 /usr/lib/firefox/firefox --private-window %u"
    

Warning

Changing all "Exec" directives is required as Firefox can be started in multiple modes.