Xdg-desktop-portal-gnome

Firefox is opening very slow on on Cinnamon since some of the latest updates. I removed xdg-desktop-portal-gnome and now it works normal again. I notice a lot of different xdg-desktop-portal packages? Removing the xdg-desktop-portal-gnome seems to fix the issue. I’m not having this problem on Plasma only Cinnamon. I guess this package isn’t really needed? Or should some of the others be removed instead. Plasma doesn’t seem to show these packages?

Edit: These are the packages installed on Cinnamon

xdg-desktop-portal-gnome (currently removed)
xdg-desktop-portal
xdg-desktop-portal-gtk
xdg-desktop-portal-xapp

Edit2: None of these xdg packages are installed on plasma? :thinking:

Check the reverse dependency for them to see what in you Cinnamon is dependent on them.

There is xdg-desktop-portal-kde as well but perhaps you don’t have anything on your plasma requiring it.

:eye: https://archlinux.org/packages/?q=xdg-desktop-portal

I guess the question is do i need only one of them? Or any? I removed xdg-desktop-portal-gnome to make Firefox open properly otherwise it just takes forever.

There have been numerous reports about this causing slow-down on non-GNOME DE:s.

Only you can answer that by checking the reverse dependency for them.

Example:

pactree -r xdg-desktop-portal-xapp

… et ainsi de suite!

They all come back with cinnamon? Except xdg-desktop-portal-gnome since i uninstalled it. Does that mean they are required by cinnamon?

cinnamon requires xdg-portal-desktop-xapp which in turn requires …

I ran it on xdg-desktop-portal-gnome

[ricklinux@eos-cinn ~]$ [ricklinux@eos-cinn ~]$ pactree -r xdg-desktop-portal-gnome
xdg-desktop-portal-gnome
└─xdg-desktop-portal
  └─xdg-desktop-portal-xapp
    └─cinnamon
[ricklinux@eos-cinn ~]$ 

I guess this means it’s not really needed?

I have xdg-desktop-portal-kde installed as a dependency of meta

pacman -Qs xdg-desktop-portal-kde                                                                                                                           Di 04 Jul 2023 13:04:42 CEST
local/xdg-desktop-portal-kde 5.27.6-1 (plasma)
    A backend implementation for xdg-desktop-portal using Qt/KF5

pactree -r xdg-desktop-portal-kde                                                                                                                  3756ms  Di 04 Jul 2023 13:05:02 CEST
xdg-desktop-portal-kde
├─plasma-meta
└─xdg-desktop-portal
  └─flatpak
    └─flatpak-kcm

didnt notice any issue on my Plasma

I don’t have any on plasma but on Cinnamon Firefox started opening really slowly. So i removed this and now it works. I just wanted to be sure it’s okay. :thinking:

Edit: I can see it’s needed for flatpaks.

On the contrary!

But since you have also:

You could remove the former without breaking dependencies. These being fulfilled by the latter.

Which one should i remove?

Edit: I just want Firefox to launch properly.

You don’t need xdg-desktop-portal-gnome on non-GNOME DE:s.

Leave the other three as is.

Flatpak comes with Plasmabut i have turned them off.
Probably i can deinstall Flatpak? I dont know

I don’t have flatpak on my plasma?

But isn’t Cinnamon based on gnome?

Here is how it looks for me on Discover

No, not exactly.

Discover is no longer on Kde on EndeavourOS. So i don’t have it.

Ok, I installed the complete Plasma- pack. This explains it

1 Like

I thought Cinnamon and Budgie are based on Gnome? Not exactly? Okay!