Bug 312560 - KDE + Pulseaudio long delay after kdm login
Summary: KDE + Pulseaudio long delay after kdm login
Status: RESOLVED UPSTREAM
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-03 18:18 UTC by sylvainsjc
Modified: 2013-04-17 01:34 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sylvainsjc 2013-01-03 18:18:50 UTC
Since several versions of KDE 4.x, I observe on several different PC than the time between entering the login and the system indicating that KDE is fully loaded and usable is very very long.

To solve this, simply deleting these two files in / etc / xdg / autostart

Observed on OpenSuse, Kubuntu, Mandriva, ROSA ...

I don't know if it's linked to KDM or other but it only happens with KDE desktop.

Have a look <a href="http://bit.ly/Rv5II6">here</a>
Comment 1 sylvainsjc 2013-01-03 18:41:20 UTC
Oups, the 2 files in question are :
pulseaudio-kde.desktop
pulseaudio.desktop
Comment 2 Harald Sitter 2013-01-09 10:43:14 UTC
those are pulseaudio files.
Comment 3 sylvainsjc 2013-01-09 16:35:04 UTC
(In reply to comment #2)
> those are pulseaudio files.

Yes and they are responsible of longs waitings time before KDE session is usable

But what is resolved ? I don't understand ?
Comment 4 Martin Sandsmark 2013-01-09 17:41:12 UTC
The issue is in PulseAudio, we can't help you with that, they have another bug reporting service somewhere, hopefully.
Comment 5 sylvainsjc 2013-01-09 18:30:27 UTC
Don't blame me, I'm not a maintainer of a distribution but just an advanced user

Who decide to put those 2 files in /etc/xdg/autostart ? Those who compiles and maintains the distribution ?

I find the presence of these two files in most distributions I test or use. why?

pulseaudio answers in this bug : https://bugs.freedesktop.org/show_bug.cgi?id=58758

"pulseaudio.desktop and pulseaudio-kde.desktop provides duplicated pulseaudio startup and since they will always be installed, so pulseaudio.desktop need not to be used under KDE.

And start pulseaudio twice seems cause some delay for kde desktop startup."
Comment 6 Martin Sandsmark 2013-01-09 18:51:55 UTC
Yes, we don't make pulseaudio.desktop and pulseaudio-kde.desktop, those two files come from PulseAudio. You can find this out by looking at what package provides them (using "pacman -Qo /etc/xdg/autostart/pulseaudio-kde.desktop" in ArchLinux which is the distribution I use). I don't have PulseAudio installed, but I can see both those files here: https://www.archlinux.org/packages/extra/x86_64/pulseaudio/files/

As you can see in the bug report you linked the issue is that PulseAudio ships two autostart files, one for use with KDE and one for use in other environments, but there is a bug in the .desktop file for other environments which makes KDE launch it.

Please don't file bugs for issues in other people's software in our bug tracker.
Comment 7 sylvainsjc 2013-01-10 05:36:33 UTC
Sorry but I think it was necessary to clarify this here because lot of people (like me and others) think it's purely a KDE problem.

Thanks for your explanations.
Comment 8 Martin Sandsmark 2013-01-10 08:58:10 UTC
sure, feel free to refer to my comment in other bug reports and whatnot.
Comment 9 Rael Gugelmin Cunha 2013-04-17 01:34:11 UTC
At least in my Kubuntu 12.04 + kde ppa backports, the pulseaudio.desktop has this line:

NotShowIn=KDE;

Which means "do not start under KDE". So, you can keep both files.