Hey all,
So lately I’ve been having fun building a bootleg steam machine for my living room and things have been going fine for the most part. To get the experience I’m going for I use Jovian to set up auto-login to steam’s gamescope-session and then use gnome as the desktop session. Configuration can be seen here.
In order for auto-login to gamescope to work Jovian checks that you don’t have some DM installed so I made sure to have GDM disabled. As far as I can tell this has caused an issue with a couple applications not being able to find the org.freedesktop.portal.FileChooser
dbus interface. This is not something I’ve had to mess around with much before so It may be some other config option doing it, but as far as I can tell not enabling GDM is the main difference in how I’m setting up gnome between my machines.
Checking d-spy it seems like a lot of interfaces are missing from org.freedesktop.portal.Desktop
which are present on my main machine that does enable GDM. I can see org.freedesktop.impl.portal.gnome/gtk
both being loaded with the interfaces I would expect and applications like Firefox are able to open file chooser dialogues, however those interfaces aren’t making it into the org.freedesktop.portal.Desktop
bus.
Trying to find a solution I found these issues which seemed like what I wanted but manually including xdg-desktop-portal-gtk
didn’t fix anything and that all looks to all be set up by enabling gnome anyway. I tried following things on the arch wiki to get a portals.conf
file set up with the default to gtk but that didn’t seem to resolve things either. Looking at the nixpkgs module for GDM I’m not seeing anything obvious that touches portals but there’s probably something I’m missing.
I’m not exactly sure what needs to happen for this interface to get picked up properly. For context, the first place I ran into issues was with file pickers in ryujinx, and then later I noticed this in steam’s CEF logs while trying to figure out why decky-loader wasn’t working.
I’m sure I’m just missing a little bit of config to point things at each other, but any help figuring this out would be very appreciated.