speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

running speech-dispatcher-0.7.1 in system mode


From: Steve Holmes
Subject: running speech-dispatcher-0.7.1 in system mode
Date: Sat, 9 Oct 2010 13:43:07 -0700

Yes, I was doing that.  I had gdm working fine when speechd was
autospawning and in fact, I have it back to autospawning agin just to
be sure.  The problem is when I run speech-dispatcher as a system wide
service and configure inet_socket, I can't seem to get gdm to be able
to access speech dispatcher.  What would then happen is Orca would
come but it would change to gnome-speech and if I would go into the
server settings box and arrow down to what should be speech
dispatcher, there are no other choices listed.  When I went back to
autospawning and removed the environment variable for speechd's port,
then restarting gdm brought up Orca but this time, I could change the
speech server back to speech dispatcher.

Another thing; when I was attempting to use gdm with speech dispatcher
as a wide service, no log files were written to
/var/lib/gdm/.speech-dispatcher.  I don't think a .pid was written
either.

The only reason I started persuing all this was yesterday afternoon, I
ran into a situation where I couldn't play any media files due to alsa
device being busy or something.  I had to kill all instances of
speechd before I got it back.  I'm now experimenting with libao
instead; not sure if that will make much of a difference or not.

On Sat, Oct 09, 2010 at 04:28:06PM -0400, Trevor Saunders wrote:
> Hi,
> 
> Have you sanity checked that the orca configuration for gdm is set up to
> use speechd by default?
> 
> Trev
> 
> On Sat, Oct 09, 2010 at 02:17:16AM -0700, Steve Holmes wrote:
> > Not using inet_sockets? well, that's another area to try.  I was under
> > the impression that you had to use internet sockets instead.  that
> > could make things easier if I don't have to try and get this
> > environment variable passed to gdm.
> > 
> > To answer your other question, no, I didn't insert that export line in
> > the gdm script itself.  The script runs /etc/profile which sets some
> > basic system wide environment variables and then runs all .sh files in
> > /et/profile.d.  I stuck another file in /etc/profile.d called
> > speechd.sh.  That setup works beautifully when I login as any user and
> > run spd-say for a test or do startx to run Orca.  It's just gdm does
> > not seem to be able to launch a connection to speechd.  I don't get
> > any errors but I don't think it's getting the communication method.
> > Not sure what else to look at.  When speechd was autospawning in
> > session mode, gdm ran it OK.  But then I ran into alsa device getting
> > locked out and that's why I'm going after this system-wide approach
> > again.
> > 
> > On Sat, Oct 09, 2010 at 10:51:22AM +0200, Halim Sahin wrote:
> > > Hi,
> > > On Sat, Oct 09, 2010 at 12:47:43AM -0700, Steve Holmes wrote:
> > > > I just tried from a cold boot and inserted the proper environment
> > > > variable into a profile that gets read by all programs that startup on
> > > > my Arch Linux system.  This gets inherited nicely by normal users at
> > > > login and again, startx works fine but gdm for some reason does not
> > > > inherit this variable when it runs.  I think gdm is the user but it
> > > > must run something else that does not inherit these environment
> > > > variables.
> > > 
> > > Have you tried exporting the speechd_address in your gdm start skript?
> > > 
> > > Gdm under gentoo is not that version which can be used for creating
> > > accessible login afaik.
> > > So I can't test it.
> > > BTW.: On my machine I use now unix_socket for sd.
> > > Sd  starts through an init-skript and works with sbl and orca :-) :-)
> > > :-).
> > > 
> > > BR.
> > > Halim
> > > 
> > > 
> > > _______________________________________________
> > > Speechd mailing list
> > > Speechd at lists.freebsoft.org
> > > http://lists.freebsoft.org/mailman/listinfo/speechd
> > 
> > _______________________________________________
> > Speechd mailing list
> > Speechd at lists.freebsoft.org
> > http://lists.freebsoft.org/mailman/listinfo/speechd



> _______________________________________________
> Speechd mailing list
> Speechd at lists.freebsoft.org
> http://lists.freebsoft.org/mailman/listinfo/speechd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]