-
Notifications
You must be signed in to change notification settings - Fork 70
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
XDG is not used by default #99
Comments
Well there are two ways to always use XDG Desktop Portal, either use XDG portal backend of rfd (behind feature flag as not every system has proper desktop portal setup), or just set So the only solution would be to set GTK_USE_PORTAL env variable inside of rfd. |
The behavior is stated with this, defaulting to gtk3. Line 14 in f565c62
I may be misunderstanding something here, but can it not just check for XDG existing or not? |
Yes, but switching to XDG Portal means no file dialog at all for anyone not running one of the available desktop portals. |
So there is no way to just load the gtk3 backend when portals are not available? And who is not using XDG portals? |
Setting
Sadly, WM users usually don't, same goes for people who don't like this so-called "dbus bloat". My hope is that over time apps like browsers will drop their fallbacks and then people will simply be forced to have portals on their systems, and then we can happily drop the GTK backend all together in favor of a lot cleaner and better XDG portal backend. |
Thank you for explaining the situation better! I understand, and I'll close this for now. May the future be better for us all! |
Done, XDG Portal is now the default |
During my work on ruffle-rs/ruffle#9220 , I noticed that XDG is not used by default. Can this behavior be modified for proper desktop integration?
The text was updated successfully, but these errors were encountered: