I found an upstream bug report: https://bugs.freedesktop.org/show_bug.cgi?id=58758 It's from 2013 and is marked as fixed. The reporter was suggesting that "pulseaudio.desktop should have NotShowIn=KDE;", which is what the patch I uploaded does and what several people also suggested. But the actual fix is different.
>From what I understood, the problem is that the startup scripts communicate >with avahi synchronously, but "Avahi basically only makes blocking D-Bus >calls", so this may cause a delay due to a timeout. The fix makes these communications asynchronous. Could this also affects other desktop environments? Here is the commit that fixes this: http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=5ae5dee75eb70ff81414bd64b4ea41e6b8db7599 Here is another commit that mentioned "avahi" in the commit log: http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=37e73e10be9e42544a4cc160ff85ccada2cc9aa9 There may be other relevant commits. I think Pulse Audio 5 has this problem fixed, but Ubuntu still uses version 4. Even Utopic uses version 4, even though Debian testing and sid are already on 5. So, that fix has to be backported for Ubuntu. ** Bug watch added: freedesktop.org Bugzilla #58758 https://bugs.freedesktop.org/show_bug.cgi?id=58758 ** Also affects: pulseaudio via https://bugs.freedesktop.org/show_bug.cgi?id=58758 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1296420 Title: Pulseaudio makes kde stall for a few seconds during startup To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/1296420/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
