I wish to change the default Nautilus file dialog that Firefox uses, to Dolphin (my main file manager) but I cannot find any solution. Every single time I download an image, Nautilus is opened instead of Dolphin.

I tried adding GTK_USE_PORTAL=1 to my env variables, and It didn’t work, then I tried changing mimetype and also did not work, I also tried modifying the xdg-portal (sorry if I’m wrong) to use xdg-desktop-portal-kde instead, but I cannot accomplish this since I didn’t understand at all the Arch wiki and IIRC some files aren’t exactly where the Arch wiki was pointing them.

As a last attempt, I open about:config in Firefox and search for widget.use-xdg-desktop-portal and set it to True, and still I keep having that old Nautilus as my file picker in Firefox, and this last thing usually worked well for me in Plasma.

Edit: I just restarted my pc and now randomly seems that Dolphin it’s the file dialog for Firefox, I don’t have a single clue how this happen.

  • Xirup@lemmy.dbzer0.comOP
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    4 months ago

    I have little experience with xdg so I might be sound as an ignorant but I tried following what the Arch wiki says about forcing a DE and since I’m using i3 and it’s a window manager I force my xdg-portal to think I’m in Plasma, but I still have the same problem.

    • rrconkle@lemmy.zip
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      Hmm, I don’t use a window manager so i’ve never used that but how are you setting GTK_USE_PORTAL=1, I have mine in /etc/environment

      • Xirup@lemmy.dbzer0.comOP
        link
        fedilink
        arrow-up
        1
        ·
        4 months ago

        I also have mine in /etc/enviroment, along with these other default variables:

        along with these other default variables:

        QT_QPA_PLATFORMTHEME=qt5ct
        QT_STYLE_OVERRIDE=kvantum
        EDITOR=nano
        BROWSER=firefox
        GTK_USE_PORTAL=1