Your arch system (with xfce, kde or lxqt) suddenly takes 20 sec to open firefox etc?

https://feddit.de/post/2456701

Your arch system (with xfce, kde or lxqt) suddenly takes 20 sec to open firefox etc? - Feddit

This is a bug I just experienced on one of my manjaro computers. I was puzzled as fuck because cpu/io usage wasn’t high but it was pretty slow. Maybe this will help someone.

I had this kind of problem recently. It was something around flatpack. I removed everything related to flatpack and it solved the problem.
Thanks!
I have this bug with foreign and Thunderbird on my laptop, but not the workstation. Already re-installed and was equally puzzled as I didn’t saw any load either

I had that happened to me using i3, the fix for me was

Remove/replace xdg-desktop-portal-gnome with the -gtk variant

As stated here bbs.archlinux.org/viewtopic.php?id=286103

[SOLVED] Firefox takes a long time to launch in i3 / Newbie Corner / Arch Linux Forums

Haha, knew it was related to portals. Apps taking 20-30s to open while the system is not under stress is almost always a portals misconfiguration.
Thanks! Turns out I had xdg-desktop-portal-hyprland left installed from a previous test (now running on i3)
I’ve been experiencing this issue too! Finally, thank you for this
Try to remove ‘xdg-desktop-portal-gnome’ if you have it
Nope, all fine here.

I had actually given up trying to solve this…now it’s fixed.

I’d hug you if I could. THANKS!