Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3260

General Questions • Change file picker in browsers

$
0
0
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

Code:

xdg-mime default thunar.desktop inode/directory
So.

Code:

$ xdg-mime query default inode/directorythunar.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

Code:

xdg-mime default thunar.desktop x-directory/normalxdg-mime default thunar.desktop inode/directory
to

Code:

/.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

Code:

GTK_USE_PORTAL=1 google-chrome-stable
No help.

I tried for Firefox

Code:

ui.allow_platform_file_picker=truewidget.use-xdg-desktop-portal=true
in about:config

(i did not know how to make it correctly so it looks like this)

Image 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.

Any ideas?


UPD. Found this solution but dont know how to implement it here

https://github.com/hyprwm/Hyprland/discussions/4988

Statistics: Posted by alienspy — 2024-09-26 18:50 — Replies 0 — Views 32



Viewing all articles
Browse latest Browse all 3260

Trending Articles