6

After boot or reboot, many applications start very slow.

  • Firefox: normal
  • Android Studio (manual install, not snap): normal
  • GIMP: normal
  • Nautilus: slow, uses white theme instead (I use dark theme btw)
  • LibreOffice: slow
  • Inkscape: slow
  • Gnome Terminal: not opens at all

However everything is normal after long time, probably after 10 minutes or several hours, all applications start normally, even Nautilus uses dark theme.

I found another question but the solution is not relevant to mine, probably because it is Ubuntu 19.10 instead of 24.04.

How to solve this? Or at least, how to debug this, so I know how to report the bug.

fikr4n
  • 1,367

2 Answers2

5

I had a similar issue: similar apps the question mentions take more time to open, and when they do, they simply open in Light Mode even though the system is set to Dark Mode.

After several searches and troubleshooting using journalctl -f, I found out that xdg-desktop-portal-gnome makes the GNOME apps slow. Some users have reported this issue and raised this bug but it hasn't been resolved in the update. So I simply uninstalled it using this command:

sudo apt remove xdg-desktop-portal-gnome

NOTE: It is also recommended to install KDE packages before uninstalling so that it won't break anything in GNOME.

You can refer to these bug reports for more insight regarding the issue:

Some of the comments mention that uninstalling xdg-desktop-portal-gnome caused the removal of the Nautilus package. By referring to the above bug reports, I just executed the command and my issue was resolved. As I mentioned in the "Note", installing KDE packages (which I have already installed for some other applications) might help not to cause any issues to your GNOME or Nautilus.

Ajay
  • 2,241
0

The answer from @Ajay solves my problem too. However, my case is slightly different: I needed to uninstall xdg-desktop-portal-gtk. I recommend using aptitude to uninstall the package as it suggests a safe solutions, including install xdg-desktop-portal-kde.