You are not logged in.
When I try to open a file dialogue in Firefox or Chromium with either ctrl+o or downloading a file, nothing happens. I've read https://wiki.archlinux.org/title/Firefox, reinstalled xdg-desktop-portal and xdg-desktop-portal-gtk but to no avail. This seems to have begun happening after a recent update, but I'm not sure what's caused it, or what xdg mime setting is used for these to try and debug. I'm using i3wm as my window manager if that's relevant.
Any help would be great.
Last edited by Shibboleth (2026-05-08 08:41:57)
Offline
Offline
Cheers for the response seth.
Looking at those threads, and https://bbs.archlinux.org/viewtopic.php?id=308200. I noticed that xdg-desktop-portal-gtk was falling over with "cannot open display" in the output of journalctl -b. That led me to the 2nd note on the https://wiki.archlinux.org/title/Xinit#xinitrc page. Adding that to ~/.xinitrc so that it read:
xinitdir="/etc/X11/xinit"
if [ -d "$xinitdir"/xinitrc.d ] ; then
for f in "$xinitdir/xinitrc.d"/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
setxkbmap gb
setxkbmap -option caps:swapescape
sxhkd &
dunst &
exec i3Sorted the file dialogues, however now the themeing in firefox is off - background color of the tab bar, clicked url-bar, and the ctrl-f pop-up are a blinding white rather than properly deriving from a dark theme. Not sure what the cause of that is, but just using a dark theme in firefox rather than "System theme - auto" seems to solve it.
Thanks for your help!
Offline
\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
I ran into the same issue and never source the files under /etc/X11/xinit/xinitrc.d, but everything worked since 2011 until my system upgrade on 2026-05-03. Does anyone know what exactly changed that might this a requirement?
Offline
xdg-desktop-portal requires a functional session bus and you didn't have that, "everything" didn't work - you just didn't notice the brokenness.
It's the 4th link in my signature for a reason ![]()
Offline
Well ok maybe not "everything" but the file dialogs to up- or download a file worked before. So there was definitely a package update which changed behavior.
Offline