Firefox snap "Show in Folder"

Using latest Firefox snap on Xubuntu 22.10. Firefox version 107.0.1 (64-bit)

Problem Description:

  • Download a file.
  • Open the Downloads window.
  • Click the “Show in Folder” button to the right of the downloaded file.

Error in console when “Show in Folder” button is clicked.

Failed to query file manager via OpenDirectory: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
[Parent 17155, Main Thread] WARNING: Cannot launch default application: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:167

** (firefox:17155): WARNING **: 11:02:13.983: Cannot launch default application: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files

This works as expected in Ubuntu 22.10, maybe something wrong in Xfce’s implementation of desktop portals?

I’ve also noticed the same issue in the slack and signal-desktop snaps.

Missing xdg-desktop-portals-gtk was the issue. I installed it, restarted Firefox, and now the “Show in Folder” button works as expected. Thanks for the assistance.

sudo apt install xdg-desktop-portal-gtk
3 Likes