On Thursday 16 Jul 2009 15:31:18 Jud Craft wrote:
> On Thu, Jul 16, 2009 at 5:09 AM, Colin Guthrie<[email protected]> wrote:

> > #!/bin/bash
> > export PULSE_PROP_media.role="event"
> > exec paplay "$1"
> >
> > Make your script executable.
> >
> > In systemsettings go to:
> >
> > Notifications -> Player Settings -> Use External Player
> > enter the path to your script.
>
> That is such a cool cheap hack!  I had figured it would be a cold day
> that you could route KDE event sounds through Pulse correctly, but
> this hack does seem to do the basic job.  In two lines.  :)  Sorry,
> I'll curb my enthusiasm until I actually try this, but it seems too
> simple to not work.

It would be a cool, cheap hack but it won't work! Bad design having '.' in 
variable names. Bash won't let you export that. Most shells don't.

Regards

Clive
-- 
Clive Messer <[email protected]>
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Reply via email to