Hello!
So, is there a way to change the file picker in browsers?
Recently i have switched from Gnome Files (Nautilus) to Thunar.
Yes, i use Gnome.
I have used the command
xdg-mime default thunar.desktop inode/directory
So.
$ xdg-mime query default inode/directory
thunar.desktop
But then i noticed that file opener in browsers (Firefox-stable and Chrome) both are "Gnomish". I thought that it is Nautilus.
I went full speed and added
xdg-mime default thunar.desktop x-directory/normal
xdg-mime default thunar.desktop inode/directory
to
/.config/mimeapps.list
.local/share/applications/mimeinfo.cache
.local/share/applications/mimeapps.list
/usr/share/applications/mimeapps.list
Then i understood that it is not Nautilus, but Gtk File chooser.
Now i wonder if there is a way to use "native" Thunar and not this GTK file chooser?
I tried
GTK_USE_PORTAL=1 google-chrome-stable
No help.
I tried for Firefox
ui.allow_platform_file_picker=true
widget.use-xdg-desktop-portal=true
in
about:config
(i did not know how to make it correctly so it looks like this)
https://i.ibb.co/6NfVH3X/Screenshot-from-2024-09-26-21-48-19.pnghttps://i.ibb.co/WsHwzCJ/Screenshot-from-2024-09-26-21-47-21.png
![Image]()
Also no help.
I read there is some bug with it in FF, but what about Chrome then?
I use Firefox-stable as a main browser.
Found this solution but dont know how to implement it here
https://github.com/hyprwm/Hyprland/discussions/4988
Any ideas?