Gnome - fixing slow starting applications
There seems to be an ongoing bug when attempting to launch gnome based applications they will hang for 25 seconds while waiting for some DBUS message.
This can be seen by running some gnome applicate with strace, e.g. strace
gnome-screenshot
.
...
write(6, "\1\0\0\0\0\0\0\0", 8) = 8
futex(0x5589bbf9f480, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x5589bbf9f1c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x5589bbf97f18, FUTEX_WAKE_PRIVATE, 1) = 1
poll([{fd=7, events=POLLIN}], 1, 25000) = 1 ([{fd=7, revents=POLLIN}])
The solution appears to be to remove some packages:
sudo pacman -Rndd xdg-desktop-portal xdg-desktop-portal-gtk
This is not the “correct” solution but it is one that works.
Sources: