You are not logged in.

#1 2022-07-31 15:42:20

windowsagent
Member
Registered: 2022-07-31
Posts: 3

xdg-desktop-portal takes a long time start gtk+ apps

I'm having a problem, which, whenever I have xdg-desktop-portal in any of it's implementations (kde, gtk, gnome, lxde) installed, firefox, and other gtk apps take around 20 seconds to startup. I've read all over the forums, and while I don't understand how dbus works, most people where having a deadlock issue, or something similar, which I can confirm. I'm running dwm, and need xdg-desktop-portal for obs to install and screen capture. I'm using pipewire, which I think is what makes it necessary to have it installed. I'm not sure what to do, every single thing I've tried to do using the forums (except uninstalling it, which isn't really an option for me) doesn't work for me.

Offline

#2 2022-07-31 16:29:25

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: xdg-desktop-portal takes a long time start gtk+ apps

Neither https://archlinux.org/packages/communit … bs-studio/ nor https://archlinux.org/packages/extra/x86_64/pipewire/ require flatpak or any xdg-portal
Check the last link below because of

I'm running dwm

and otherwise did you try to mask the service, https://bbs.archlinux.org/viewtopic.php … 4#p1954864 ?

Last edited by seth (2022-07-31 16:29:35)

Offline

#3 2022-07-31 19:34:45

windowsagent
Member
Registered: 2022-07-31
Posts: 3

Re: xdg-desktop-portal takes a long time start gtk+ apps

Forgot to mention, but I'm running obs-studio-git since it does include the virtual camera feature, which is from the AUR (https://aur.archlinux.org/packages/obs-studio-git). It does require xdg-desktop-portal and pipewire to properly build.

Offline

#4 2022-07-31 21:00:51

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: xdg-desktop-portal takes a long time start gtk+ apps

Ok, again: check the last link below (if you're using xinit) - it's the most common cause for this kind of problem.

Offline

#5 2022-08-01 20:06:20

windowsagent
Member
Registered: 2022-07-31
Posts: 3

Re: xdg-desktop-portal takes a long time start gtk+ apps

I do have my xinitrc setup correctly, all it does is run xprofile and start dwm using ssh-agent. I already tried masking the service and it doesn't work at all. I'ma try installing obs-git without installing xdg-desktop-portal, seeing as it isn't completely required.

Offline

#6 2022-08-01 20:12:22

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: xdg-desktop-portal takes a long time start gtk+ apps

all it does is run xprofile and start dwm using ssh-agent

means it's broken. Open the link and pay attention to the note of what you need to include there…

Offline

Board footer

Powered by FluxBB