[Xfce-bugs] [Bug 10296] Race condition bethen programs at startup

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Aug 13 11:35:51 CEST 2013


https://bugzilla.xfce.org/show_bug.cgi?id=10296

Maximilien Noal <noal.maximilien at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |noal.maximilien at gmail.com

--- Comment #1 from Maximilien Noal <noal.maximilien at gmail.com> ---
I have the same problem.
I use PulseAudio and Timidity++
I have /etc/xdg/autostart/pulseaudio.desktop to start PA (provided by the
pulseaudio package)
I have .config/autostart/timidity.desktop to start Timidity++ (created with
xfce4-sessions-settings => Automatic Startup)

Sometimes, PA starts *before* Timidity++, and I have sound (which is what
should happen).
Other times, PA starts *after* Timidity++, and I have no sound at all (which is
what should *not* happen)

Here is my workaround :
I have removed .config/autostart/timidity.desktop and disabled
/etc/xdg/autostart/pulseaudio.desktop with xfce4-sessions-settings => Automatic
Startup
I have created with xfce4-sessions-settings an entry called "start sound
systems", which launches ~/bin/audio.sh

~/bin/audio.sh contains the following :
start-pulseaudio-x11 &
sleep 5
xfce4-volumed-pulse &
timidity -iAD -Os &
pnmixer &

I'm using Archlinux, if that's relevant.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list