dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

[FEATURE] Set xdg-desktop portal conf for file chooser

Open rambip opened this issue 2 months ago • 1 comments

Is your feature request related to a problem? Please describe.

On a fresh ML4W install, thunderbird was not able to open a file chooser when I clicked on "add attachments". I researched the problem, and it was related to a xdg-desktop-portal configuration. I added this file:

# ~/.config/xdg-desktop-portal/portals.conf
[preferred]
default=hyprland
org.freedesktop.impl.portal.FileChooser=gtk

And now thunderbird can open a file chooser.

I have heard that "xdg" instead of "hyprland" could work, but I did not test it.

Describe the solution you'd like

see above

Describe alternatives you've considered

N/A

I don't really now if my problem is more a bug or a feature request.

Additional context

No response

Support or Contribution

rambip avatar Oct 29 '25 17:10 rambip

Not sure if I should add this as a default to the Dotfiles. I haven't this xdg config on my system. Maybe a note in the documentation would be enough?

mylinuxforwork avatar Nov 06 '25 09:11 mylinuxforwork