Skip to content
Discussion options

You must be logged in to vote

There are two separate parts here: selecting the portal backend, and making Firefox use the portal.

  1. Install xdg-desktop-portal-lxqt as well as xdg-desktop-portal. PCManFM-Qt by itself is not the portal backend.
  2. In niri-portals.conf, keep niri's normal fallback choices and select LXQt specifically for file picking. The relevant lines are:
[preferred]
default=gnome;gtk;
org.freedesktop.impl.portal.FileChooser=lxqt;

Keep any other interface overrides from your existing configuration. The base fallback values above come from niri's supplied config.

  1. In Firefox's about:config, set widget.use-xdg-desktop-portal.file-picker to 1 to force portal file picking. This is documented by the LXQt port…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mariomastr2011
Comment options

Answer selected by mariomastr2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants