1 min read

Use kdialog for file selection on firefox

Requirements

Steps

First set plasma's dolphin as default file manager.

Then just passing GTK_USE_PORTAL=1 environment variable when opening firefox. So in terminal, just type

$ GTK_USE_PORTAL=1 firefox

or by editing the firefox.desktop file, e.g in plasma:

  1. open application launching and find firefox
  2. right click and click edit application
    edit_firefox
  3. in application tab add GTK_USE_PORTAL=1 at first on Command selection
    edit_firefox_desktop
  4. save change and reopen firefox.

Reference