startkde script and the soundcard volume restauration

Christian Esken esken at kde.org
Fri Oct 5 14:49:17 BST 2007


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. This can lead to all kinds of unpleasant results, like volume is too low for hearing the sound or the changing the volume level *during* playpack of the startup sound (see KMix's oldest open bug: https://bugs.kde.org/show_bug.cgi?id=91267 ).
I would like to avoid that in KDE4. My recommendation is to remove the restore_kmix_volumes.desktop autostart script and move that an early stage of startkde. These are the important lines from restore_kmix_volumes.desktop:

X-KDE-autostart-phase=1
X-KDE-autostart-condition=kmixrc::startkdeRestore:true
Type=Application
Exec=kmixctrl --restore

Is this sensible? And how could the "X-KDE-autostart-condition" be implemented?

  Christian




More information about the kde-core-devel mailing list