Repository navigation
How to set PCManFM as defualt file picker? #4834
|
Hello fellow users of the best WM, For the past day or so, I have been trying to figure out how to set PCManFM(specifically the QT version, but I can switch to the normal one if required), however I cannot, for the life of me, figure out how to get it working. Rather than bashing my head against my keyboard until it works, I figured I should just ask people who have done this before. Some infoI use the openrc version of gentoo, and have to run My When downloading a file with FireFox, it uses what appears to be Nautilus or Thunar, however I checked, and I don't have either installed on my system. Any help would be appreciated. -mariomastr |
Replies: 1 comment 1 reply
|
There are two separate parts here: selecting the portal backend, and making Firefox use the portal.
[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.
A GTK-looking chooser does not by itself mean Nautilus is installed; Firefox can use its own toolkit's chooser when it is not requesting the portal. |
There are two separate parts here: selecting the portal backend, and making Firefox use the portal.
xdg-desktop-portal-lxqtas well asxdg-desktop-portal. PCManFM-Qt by itself is not the portal backend.niri-portals.conf, keep niri's normal fallback choices and select LXQt specifically for file picking. The relevant lines are:Keep any other interface overrides from your existing configuration. The base fallback values above come from niri's supplied config.
about:config, setwidget.use-xdg-desktop-portal.file-pickerto 1 to force portal file picking. This is documented by the LXQt port…