Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firefox needs .conf file manually created to work #23

Closed
Bluey26 opened this issue Nov 3, 2023 · 1 comment · May be fixed by lxqt/lxqt-session#496
Closed

firefox needs .conf file manually created to work #23

Bluey26 opened this issue Nov 3, 2023 · 1 comment · May be fixed by lxqt/lxqt-session#496

Comments

@Bluey26
Copy link

Bluey26 commented Nov 3, 2023

Hello.

I was trying to test this feature, to see how different was from the normal (gtk) file dialog firefox uses.
After some steps the program works, but besides the instructions provided in the readme.md file, this was needed:

create portals.conf inside ~/.config/xdg-desktop-portal (xdg-desktop-portal folder was created too).

Inside portals.conf:

[preferred]
default=gtk
org.freedesktop.impl.portal.FileChooser=lxqt

After following the steps found in the README.md and doing this, rebooting and launching firefox makes the function to work properly.


Summarized steps:
Install xdg-desktop-portal-lxqt

In about:config inside firefox, set:

widget.use-xdg-desktop-portal.file-picker = 1
widget.use-xdg-desktop-portal.mime-handler = 1

Create the file and folder detailed previously.
Reboot the system and firefox should use the lxqt file manager (pcmanfm-qt)

Info:

OS: Arch Linux
Firefox version: 119.0
LXQt Version: 1.3.0

Maybe the file is generated in other distributions, i have not tested that. Just wanted to mention this for those in the same situation.

Bluey.

@liu2g
Copy link

liu2g commented Nov 5, 2023

Can confirm this method works for me. This problem must be new, I did not need to make the conf file previously and it has been working fine for me for long time until recently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants