Mon, 22 Nov 2021 11:37:39 -0500 időpontban Bob Rogers írta:
From: "David C. Rankin"
Date: Sun, 21 Nov 2021 02:57:49 -0600 On 11/18/21 9:12 AM, Istvan Gabor wrote:
Hello:
This occurs in openSUSE Leap 15.3 (64 bit).
Gtk2 applications start with a 25 seconds delay. That is, it takes exactly 25 seconds the application window to appear.
. . .
Thanks,
Istvan
. . .
If there is a 20 sec slowdown, then there is likely a gtk+2 library that belongs to a gtk+2_somelib that has been removed and your app attempts to load it with a 20/25 second timeout.
What app? You can run ldd against the executable to check the library dependency and see if anything was missing.
-- David C. Rankin, J.D.,P.E.
Another approach would be to use bpftrace to try to discover what system call is hanging; that ought to tell you exactly what it's trying to do. But I'm afraid you're on your own there; I've used truss and strace in previous releases, but bpftrace is new to me -- and looks significantly more powerful/complicated.
-- Bob Rogers http://www.rgrjr.com/
OK, finally I solved this, but I think it should not require such solution. The cause of the delay, indeed was a 25 seconds timeout, which I knew before from the bug report I linked in my original post. Then what made me stuck was that I could not find gsd-xsettings in openSUSE. Finally by using export GTK_MODULES=appmenu-gtk-module fixed the problem. I added it to my .bashrc file. Thanks again, Istvan