'Twas brillig, and Behdad Esfahbod at 08/12/08 06:06 did gyre and gimble:
> Behdad Esfahbod wrote:
>> Hi,
>>
>> Currently the process to play login sound holds gnome-session into Desktop
>> phase until it times out and goes to next level. This sucks. I'm fixing
>> gnome-session to recognize process terminates as "done". The other half of
>> the fix is to play the sound in a background process. Attached patch adds a
>> --background option to canberra-gkt-play (only if unistd.h is available. One
>> can try writing it portably using g_spawn.) and uses that in the autostart
>> file.
>
> Alternatively you can simply change this line:
>
> X-GNOME-Autostart-Phase=Desktop
>
> To
>
> X-GNOME-Autostart-Phase=Application
Not 100% sure but I think it's Applications
^
> and the session won't be delayed anymore. But I think an option to play in
> the background is nice still.
This is actually needed for other reasons too - namely such that the
gconf is started and thus the correct sound theme is selected from the
user's preferences rather than just the fallback FDO one.
Not disputing your other claims but this change (or something that
achieves the same result) is needed in canberra IMO (I've poked Lennart
about this on IRC a while back).
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
Mandriva Linux Contributor [http://www.mandriva.com/]
PulseAudio Hacker [http://www.pulseaudio.org/]
Trac Hacker [http://trac.edgewall.org/]
_______________________________________________
libcanberra-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/libcanberra-discuss