You are not logged in.

#1 2025-11-12 20:31:37

Eulenberg
Member
Registered: 2025-11-12
Posts: 2

Issues with Firefox "Show in folder" dialog

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

#2 2025-11-13 13:17:59

daysfled
Member
From: Belgium
Registered: 2023-06-18
Posts: 20

Re: Issues with Firefox "Show in folder" dialog

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

to 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/yazi

Of 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

#3 2025-11-13 14:25:10

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,086

Re: Issues with Firefox "Show in folder" dialog

You probably want to record that at https://wiki.archlinux.org/title/Firefox because it's somewhat unpredictable behavior.

Offline

#4 2025-11-13 22:36:07

Eulenberg
Member
Registered: 2025-11-12
Posts: 2

Re: Issues with Firefox "Show in folder" dialog

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 wink 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!!!!!

daysfled wrote:

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

to 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/yazi

Of 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

#5 2025-11-14 21:36:42

daysfled
Member
From: Belgium
Registered: 2023-06-18
Posts: 20

Re: Issues with Firefox "Show in folder" dialog

seth wrote:

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

#6 2025-11-14 21:41:30

daysfled
Member
From: Belgium
Registered: 2023-06-18
Posts: 20

Re: Issues with Firefox "Show in folder" dialog

Eulenberg wrote:

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 wink 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

Board footer

Powered by FluxBB