startkde script and the soundcard volume restauration

Christian Esken esken at kde.org
Sat Oct 6 14:21:14 BST 2007


Am Freitag, 5. Oktober 2007 schrieb Lubos Lunak:
> On Friday 05 of October 2007, Christian Esken wrote:
> > Hello,
> >
> > there is an issue with the audio volume level of the KDE startup sound. The
> > reason is: The order of "play the startup sound" and "restore volume
> > levels" is undefined.
> 
>  Actually, the order of "play the startup sound" is defined, see 
> ksmserver/README.

Thanks for the hint. I read it earlier, but I didn't realize that Autotart phase 1 and 2 (+ startup sound) are overlapping.

>  I suggest a kcminit module, probably with X-KDE-Init-Phase=0. That will 
> easily allow you to handle the condition and will make the position 
> of "restore volume levels" in the startup sequence defined as well (which is 
> actually the problem - kmixctrl is launched before the startup sound, but 
> it's fire&forget, so it takes a while for kmixctrl to actually do its job).

According to ksmserver/README, it looks like the only option. I'll look into it.

  Christian




More information about the kde-core-devel mailing list