Colin Guthrie wrote:
> '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
>                                            ^

Actually anything other than "Initialization", "Panel", "WindowManager", and
"Desktop" is considered as PHASE_APPLICATION.  So, there is no single correct
answer :).  The line even be dropped.

This line also can be dropped:

X-GNOME-Autostart-Notify=true

Not only it's unused these days, canberra-gtk-play doesn't follow the
autostart protocol, so it can't care less...


behdad
_______________________________________________
libcanberra-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/libcanberra-discuss

Reply via email to