What Factors go into slow App Launch Times?

reinstalled early this week.
same HDD, wiped clean by Gparted and formatted GPT like always. Endeavor has the whole HDD.
50% of apps launch awfully slow. We’re talking an uncomfortable 15-20 seconds or more. Eye of Gnome, Celluloid, onlyoffice, atril you name it.

the typically-slow flatpak apps launch faster than endeavor apps.
then again things like gedit and nemo launch immediately. (?)

my first Endeavour: no apps dragged their feet for 20 seconds.
my new Endeavour: half the native apps drag their feet for 15-20 seconds.

for all these apps all terminal output was nada: no output to report.
how would I diagnose hardware? HDD is not new. I don’t trust SMART scans since they call everything near death all the time.
Is there a way to check broken packages in arch? is there a command for that?

What other things should I be considering for slow app launch times? Thank you.

If you are not running gnome, make sure you dont have xdg-desktop-portal-gnome installed

1 Like
$ pacman -Ss xdg-desktop-portal-gnome
extra/xdg-desktop-portal-gnome 44.2-1 (gnome) [installed]

look what the xdg cat dragged in. is -R the safe way to remove this?
thanks for the fast response Dalto

Yes, you can remove it with -R

1 Like

using flatpak?

pacman was setting xdg-desktop-portal-gnome as default selected for xdg-desktop-portal-impl before… so a lot users installing this beacuse they do not check the info output in terminal… now… its ddd (deepin) what is default… if you do not choose the one you need…

and for Budgie it will be simple xdg-desktop-portal-gtk 3


Thank you Doctor. I think I did pick wrong.

Using your command I did not get the options to change to the -gtk:

yay -S flatpak
Sync Explicit (1): flatpak-1:1.15.4-1
[sudo] password for drunkenvicar: 
warning: flatpak-1:1.15.4-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (1)    Old Version  New Version  Net Change

extra/flatpak  1:1.15.4-1   1:1.15.4-1     0.00 MiB

Total Installed Size:  6.89 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                [----------------------------------] 100%
(1/1) checking package integrity                              [----------------------------------] 100%
(1/1) loading package files                                   [----------------------------------] 100%
(1/1) checking for file conflicts                             [----------------------------------] 100%
:: Processing package changes...
(1/1) reinstalling flatpak                                    [----------------------------------] 100%
:: Running post-transaction hooks...
(1/5) Creating system user accounts...
(2/5) Reloading system manager configuration...
(3/5) Arming ConditionNeedsUpdate...
(4/5) Reloading system bus configuration...
(5/5) Checking which packages need to be rebuilt

thanks am doing this soon

You probably already have it. If not, just install it sudo pacman -Syu xdg-desktop-portal-gtk

1 Like
pacman -Ss xdg-desktop-portal-gtk
extra/xdg-desktop-portal-gtk 1.14.1-1 [installed]
    A backend implementation for xdg-desktop-portal using GTK

you are correct.
curious, I wondered if I had a conflict.
just ran pacman -Ss extra/xdg-desktop-portal-gnome for the hell of it: pacman -Ss xdg-desktop-portal
and found:

extra/xdg-desktop-portal-gnome 44.2-1 (gnome) [installed]
    A backend implementation for xdg-desktop-portal for the GNOME desktop environment

conflicting packages I presume?
edit: I wonder which package gets moved to default? probably gnome

They aren’t conflicting from a package manager standpoint but you should remove xdg-desktop-portal-gnome to fix your slow application launching issue.


ok just I just removed the gnome package and I appreciate your input. will mark you best answer and solve after a reboot later tonight. appreciate it.

thanks Der Docktor as well

1 Like

I didn’t even have to reboot. eye of gnome, gnome videos, celluloid, artril (or is it evince?) etc all launch instantly now.

a big relief, thank you.


you can use -Qs to search locally installed packages also, will only sow something if installed :wink:

And only to make sure it is clear xdg-desktop-portal-gnome is only needed on GNOME Desktop.
it has xdg-desktop-portal-gtk as dependency so in case you do use GNOME both will be installed… and if you choose it to be installed on other Desktops both will be installed too… but on all other than Gnome you have to remove the package and keep xdg-desktop-portal-gtk for gtk Desktops (Budgie, Mate, Cinnamon, XFCE4) in addition there are other implementation packages for kde e.g. or deepin (dde) hyprland m e.t.c…

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.