Replies: 1 comment 4 replies
-
|
Hi, It's really funny on the timing of your post. I almost made a video earlier today (for Tuesday) on my entire Thunar set up but I wasn't happy that I didn't have an answer to your question because it's also something I haven't figured out yet. I do have [preferred]
default=gnome;gtk;
org.freedesktop.impl.portal.Access=gtk;
org.freedesktop.impl.portal.FileChooser=gtk;
org.freedesktop.impl.portal.Notification=gtk;
org.freedesktop.impl.portal.Secret=gnome-keyring;I didn't commit it back up to my dotfiles yet because I noticed the same thing as you. Despite having a I went as far as renaming the $ /usr/lib/xdg-desktop-portal -v 2>&1 | grep -i "FileChooser"
XDP: Preferred portals for interface 'org.freedesktop.impl.portal.FileChooser': gtk
XDP: portal implementation supports org.freedesktop.impl.portal.FileChooser
XDP: portal implementation supports org.freedesktop.impl.portal.FileChooser
XDP: Found 'gtk' in configuration for org.freedesktop.impl.portal.FileChooser
XDP: Using gtk.portal for org.freedesktop.impl.portal.FileChooser (config)
XDP: providing portal org.freedesktop.portal.FileChooserPreliminary Googling is showing that Thunar might not have a file picker and when you set In which case, this custom I wonder what else we could explore. On the bright side, at least it shares the same theme and bookmarks as Thunar since they are both GTK apps. I don't like that it has its own generated thumbnails though. Also if you're using my dotfiles I do have |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I saw many YT videos of yours about Niri, and I was interested in your dotfiles config, hence I landed here. I noticed that you used Thunar instead of Nautilus as your GUI file manager.
While the default file manager for Niri is Nautilus, I do think that Thunar is far better. However, I've struggled to make Thunar work properly on Niri, specifically the file dialogs.
Here is the only Niri documentation related to this problem that I could find:
https://niri-wm.github.io/niri/Important-Software.html#portals
The Niri docs is quite confusing, it said
If you do not want to install nautilus ...as if it was a choice.xdg-desktop-portal-gnomeis required for screencasting, andnautilusis a dependency of it. So I'd have to keep Nautilus on my system, I can just choose not to use it.Moving on, the only
niri-portals.conffile I could find on my system is/usr/share/xdg-desktop-portal/niri-portals.conf. By default, its content is:Based on the Niri docs, I added the line
org.freedesktop.impl.portal.FileChooser=gtk;at the end of this file.However, even after reboot, all file dialogs (Select a file, Save as file, ...) are still Nautilus dialogs.
I even tried to remove
xdg-desktop-portal-gnome, then installednemoto exactly follow the docs but also no luck.I saw Thunar working just fine for you, so I thought you might have the solution to this problem. How did you get Thunar file dialogs to work on Niri? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions