OPINIONATED OMARCHY
TROUBLESHOOTING CORPUS
790
RECORDS
790
AUDITED
0
UNCHECKED
2388
SOURCES
LIVE
wayland-compat medium common DISPUTE

Get Firefox to ask where to save downloads again

omarchyarchendeavouroscachyosmanjarohyprlandwayland
AUDITED Audited against its sources and confirmed accurate.

Symptom

Firefox never asks where to save a file, even with "Always ask you where to save files" enabled in Settings. Downloads go straight to the default folder or silently do nothing. Or upload file-pickers fail to open.

Cause

Firefox delegates the file chooser to the XDG portal, and no portal backend implementing org.freedesktop.impl.portal.FileChooser is installed or reachable. On a bare Hyprland/standalone-WM install this is common because XDPH deliberately does not implement a file picker.

Fix


sudo pacman -S --needed xdg-desktop-portal xdg-desktop-portal-gtk
systemctl --user restart xdg-desktop-portal-gtk.service xdg-desktop-portal.service

If the picker still misbehaves, check whether GTK_USE_PORTAL is set, because any value triggers a known Firefox bug:


env | grep GTK_USE_PORTAL

If it is set, remove it from your shell rc and from your Hyprland env config, then log out and back in.

If you want to control portal use explicitly, in about:config:


widget.use-xdg-desktop-portal.file-picker = 1     # 1 = always use portal, 2 = auto

Set it to 0 to use Firefox's own GTK dialog instead of the portal.

Verify

Download a file in Firefox. A Save dialog appears. Check systemctl --user status xdg-desktop-portal-gtk shows active (running).

Sources

firefox-no-download-save-dialog