[accessiblelinux] Re: interesting debian question

  • From: Storm Dragon <stormdragon2976@xxxxxxxxx>
  • To: accessiblelinux@xxxxxxxxxxxxx
  • Date: Sun, 01 Jul 2012 13:33:51 -0400

Hi,
I think this is what you need. I copied it from the restorespeech script
in Vinux 3.0. It should set pulse to run system wide, hopefully lol.
#code
sed -i
's/PULSEAUDIO_SYSTEM_START=0/PULSEAUDIO_SYSTEM_START=1/' /etc/default/pulseaudio
sed -i 's/^ *; *autospawn *= *yes *$/autospawn =
no/' /etc/pulse/client.conf
rm -f /etc/xdg/autostart/pulseaudio.desktop
sed -i 's/^OnlyShowIn=XFCE;
$/OnlyShowIn=GNOME;XFCE;/' 
/etc/xdg/autostart/gnome-volume-control-applet.desktop
sed -i 's/load-module module-native-protocol-unix$/load-module
module-native-protocol-unix auth-anonymous=1/' /etc/pulse/system.pa
if [ "`grep 'sleep 4' /etc/init.d/pulseaudio`" = "" ]; then
    sed -i 's/\tstart-stop-daemon\(.*\)--start/\tsleep 4\n
\tstart-stop-daemon\1--start/' /etc/init.d/pulseaudio
fi


HTH
Storm
-- 
Vinux Publicity Coordinator: http://www.vinuxproject.org/
Registered Linux user number 508465: https://linuxcounter.net/user/508465.html
My blog, Thoughts of a Dragon: http://www.stormdragon.us/
Need a safe and easy way to backup and share files? Try Dropbox: 
http://db.tt/jeY50HR
"One more time we stare into the blackened sky, for tonight, in our hearts now 
we feel. One last time see our destiny reveal."
DragonForce - The Last Journey Home



On Sun, 2012-07-01 at 00:39 -0500, mike wrote:

> ok, thanks for that i am having a dumb moment what can i do to make it run in 
> system wide mode I haven't had to do that sense i messed around with making 
> my own vinux.
> 
> -----Original Message-----
> From: accessiblelinux-bounce@xxxxxxxxxxxxx 
> [mailto:accessiblelinux-bounce@xxxxxxxxxxxxx] On Behalf Of Storm Dragon
> Sent: Saturday, June 30, 2012 9:50 PM
> To: accessiblelinux@xxxxxxxxxxxxx
> Subject: [accessiblelinux] Re: interesting debian question
> 
> Hi,
> If you have pulseaudio installed it has to be set system wide for you to have 
> speech in both. There is some low security risk when you set it to run system 
> wide, so it is not set by default. If you are using gnome3 then pulse is 
> installed because it is a dependancy.
> HTH
> Storm
> 

Other related posts: