Jump to content
  • How to Enable the KDE Plasma (Portal) File Chooser in Firefox on Linux



    Are you tired of the standard file chooser in Firefox on your Linux system? Do you want to be able to see thumbnail previews of images when uploading files on websites? Well, look no further because in this article, i will show you how to make Firefox use the KDE Plasma/Portal File Chooser.

    First and foremost, it is important to note that in order to use the KDE Plasma/Portal File Chooser, you need to have the KDE desktop environment installed on your Linux system. If you are not sure if you have it, you can check by opening your system settings and looking for the option to switch to KDE Plasma.

    firefox file chooser.png

    Now, let's get into the steps to enable the portal file chooser:

    Step 1: Install required packages

    Open a terminal and execute the following commands:

    sudo apt-get install xdg-desktop-portal
    sudo apt-get install xdg-desktop-portal-kde

    These packages are necessary for the KDE Plasma/Portal File Chooser to work properly.

    Step 2: Configure Firefox

    Open Firefox and type 'about:config' in the URL bar and press Enter. This will take you to the advanced configuration page for Firefox.

    Step 3: Change values

    In the search bar, type 'widget.use-xdg-desktop-portal.mime-handler' and change its value to '1'. Then search for 'widget.use-xdg-desktop-portal.file-picker' and also change its value to '1'. This will enable the KDE Plasma/Portal File Chooser in Firefox.

    Step 4: Fix any bugs

    There is a known bug that may occur after enabling the file chooser, where Firefox will think it is not the default browser and will notify you on every startup. To fix this, open Firefox and click on the settings icon. Then go to 'Settings' and uncheck the option 'Always check if Firefox is the default browser'. This will prevent the notification from appearing.

    And that's it! You have successfully enabled the KDE Plasma/Portal File Chooser in Firefox. Now, when you upload files on websites, you will be able to see thumbnail previews, making it easier to select the correct file.

    firefox file chooser 2.png

    Conclusion

    In conclusion, the KDE Plasma/Portal File Chooser is a great feature for Firefox on Linux systems. It not only allows for thumbnail previews, but it also integrates well with the KDE desktop environment. So, if you are a Linux user and want to enhance your Firefox browsing experience, follow these steps and enjoy the benefits of the KDE Plasma/Portal File Chooser.


    MidnightMaster95
    • 98 views

     Share

     Share


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.