You are not logged in.
Hello i installed arch + hyprland using the arch installer script. this has downloaded dolphin as a file manager, but i want to use thunar.
i have tried multiple things already:
setting the xdg-mime/ gio-mime type of inode/directory as well as x-scheme-handler/file
in about:config
widget.use-xdg-desktop-portal.file-picker
widget.use-xdg-desktop-portal.open-uri
are both set to 1
both
xdg-open ~
gio open ~
will open thunar
firefox uses the gtk picker if i try to upload a image for example
firefox opens a thunar when i click a on a zip file in the downloads window
but the "Show in folder" dialog will open in dolphin
when i remove dolphin from the system "Could not find program "dolphin"
my .config/xdg-desktop-portal/hyprland-portals.conf:
[preferred]
default=hyprland
org.freedesktop.impl.portal.FileChooser=gtk
org.freedesktop.impl.portal.OpenURI=gtk
thanks for the help in advance!
eule
Last edited by Eulenberg (2025-11-12 20:45:31)
Offline
I had a similar problem wanting to use yazi.
Did you restart your computer (or at least dbus) when you uninstalled dolphin ? I find it strange that firefox complained about not finding dolphin.
As far as I understand, the firefox "Show in folder" does not use xdg but a dbus service to open the file manager. This is what I did to have it open yazi instead of dolphin while still keepind dolphin installed.
mkdir -p /home/eddy/.local/share/dbus-1/services/
cp -i /usr/share/dbus-1/services/org.kde.dolphin.FileManager1.service ~/.local/share/dbus-1/services/org.freedesktop.Filemanager1.serviceto create my own dbus filemanager service .
Then I edited this Filemanager1.service just created so that it contained
[D-BUS Service]
Name=org.freedesktop.FileManager1
Exec=/usr/bin/yaziOf course you would have to replace the yazi line with what you want.
After that, log out from your session then log in again (so that dbus is restarted cleanly).
See if it works for you.
Edited to add instruction about logging out.
Last edited by daysfled (2025-11-13 13:20:38)
Offline
You probably want to record that at https://wiki.archlinux.org/title/Firefox because it's somewhat unpredictable behavior.
Offline
i didnt know it was possible to use tui file managers that way, i copied your d-bus service using yazi and rebooted, now "show in folder" open my terminal in the downloads folder, thats already a step forward, could you recheck your d-bus service if there is maybe some flag i have to add. yazi is installed
and in /usr/bin/yazi for me. but u already helped me a lot.
edit:
i just needed a .desktop for yazi
now my yazi open folders/archives etc again big thxx!!!!!
I had a similar problem wanting to use yazi.
Did you restart your computer (or at least dbus) when you uninstalled dolphin ? I find it strange that firefox complained about not finding dolphin.As far as I understand, the firefox "Show in folder" does not use xdg but a dbus service to open the file manager. This is what I did to have it open yazi instead of dolphin while still keepind dolphin installed.
mkdir -p /home/eddy/.local/share/dbus-1/services/ cp -i /usr/share/dbus-1/services/org.kde.dolphin.FileManager1.service ~/.local/share/dbus-1/services/org.freedesktop.Filemanager1.serviceto create my own dbus filemanager service .
Then I edited this Filemanager1.service just created so that it contained[D-BUS Service] Name=org.freedesktop.FileManager1 Exec=/usr/bin/yaziOf course you would have to replace the yazi line with what you want.
After that, log out from your session then log in again (so that dbus is restarted cleanly).
See if it works for you.
Edited to add instruction about logging out.
Last edited by Eulenberg (2025-11-13 23:16:42)
Offline
You probably want to record that at https://wiki.archlinux.org/title/Firefox because it's somewhat unpredictable behavior.
Well, I never edited the wiki before. I'll have to look into that. Will see if I have time this weekend.
Offline
i didnt know it was possible to use tui file managers that way, i copied your d-bus service using yazi and rebooted, now "show in folder" open my terminal in the downloads folder, thats already a step forward, could you recheck your d-bus service if there is maybe some flag i have to add. yazi is installed
and in /usr/bin/yazi for me. but u already helped me a lot.
edit:
i just needed a .desktop for yazi
now my yazi open folders/archives etc again big thxx!!!!!
Sorry I couldn't answer earlier.
Yes I confirm that there's nothing else in my d-bus service but you are right : I also created a custom desktop file for yazi. I didn't mention it in my previous post because the question was not about yazi initially.
Glad that you confirm that it works.
Offline