From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-gx0-f170.google.com (mail-gx0-f170.google.com [209.85.161.170]) by speech.braille.uwo.ca (Postfix) with ESMTP id 7547CC1A2A8 for ; Fri, 25 Feb 2011 00:04:59 -0500 (EST) Received: by gxk1 with SMTP id 1so624187gxk.29 for ; Thu, 24 Feb 2011 21:04:59 -0800 (PST) Received: by 10.236.105.194 with SMTP id k42mr3399478yhg.65.1298610298006; Thu, 24 Feb 2011 21:04:58 -0800 (PST) Received: from lnx3 (ip72-208-185-148.ph.ph.cox.net [72.208.185.148]) by mx.google.com with ESMTPS id i10sm187349yhd.10.2011.02.24.21.04.56 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 24 Feb 2011 21:04:57 -0800 (PST) Date: Thu, 24 Feb 2011 22:04:53 -0700 From: Steve Holmes To: speakup@braille.uwo.ca Subject: Re: spd-say seems confused. Message-ID: <20110225050453.GA22689@lnx3> Mail-Followup-To: speakup@braille.uwo.ca References: <20110223001839.GA20677@nextdog> <4D6645D6.5060302@brailcom.org> <20110224202837.GB12941@lnx3> <20110225001443.GA2343@nextdog> <20110225044006.GA21005@lnx3> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110225044006.GA21005@lnx3> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.13 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 05:04:59 -0000 Well after thinking about it and messing with things a bit, I see now that the speechd.sh file in /etc/profile.d gets its execute flag turned off when the speechd daemon is stopped by running '/etc/rc.d/speechd stop'. So it should not be setting that environment variable in the future as long as you don't startup speech-dispatcher with the rc.d script. Look in /etc/speech-dispatcher/speechd.conf at the bottom line; it should say something like DisableAutoSpawn; Just stick a # sign in front of that and then save the file. This will probably get copied down to your $HOME directory if it hasn't already. On Thu, Feb 24, 2011 at 09:40:06PM -0700, Steve Holmes wrote: > I have to think about this a moment. If you are going to use > autospawn and run as individual user, then you should not start > speechd up as a system service. The autospawn deal will start it for > you and then it should not pull in the environment variable > declaration or care about it. I need to check that part out and see > if going back to user mode would cause a conflict with that > environment variable. That will give me something to play with after > I get pulse going here. So far, I have pulse going for playing media > files from the console. I'm a bit chicken to restart ALSA just yet > because I don't wanna lose speakup with espeak. Since ALSA is > configured now to use pulse, I might get away with not changing or > recompiling espeak yet. If it weren't for the threat of losing speech > and thus access to my system, I would be a bit more brave here. At > least I can ssh into this box from my laptop if I break speech, I > guess. > > On Thu, Feb 24, 2011 at 07:14:44PM -0500, Christopher Moore wrote: > > When I set speechd as a system-wide service, it put an export > > SPEECHD_ADDRESS = /var/run/... > > in a file under /etc/profile.d. When I went back to running speechd as > > a user, this line was not removed. Commenting it out seems to have > > solved the problem. > > > > Chris > > On Thu, Feb 24, 2011 at > > 01:28:37PM -0700, Steve Holmes wrote: > > > Assuming you want to continue using speech-dispatcher as a system wide > > > service, be sure you have started speech-dispatcher. Add /speechd to > > > your DAEMONS array in /etc/rc.conf or at least run thd daemon by hand > > > by typing, > > > /etc/rc.d/speechd start > > > to get it going for now. Then see how things go. If you would rather > > > use it as a user based deal, then edit > > > /etc/speech-dispatcher/speechd.conf and uncomment the AutoSpawn line > > > at the bottom of the file. In that situation, you would not need to > > > have the speechd daemon running at all. > > > > > > Note, this is for Arch Linux users. > > > > > > On Thu, Feb 24, 2011 at 12:49:42PM +0100, Hynek Hanke wrote: > > > > On 23.2.2011 01:18, Christopher Moore wrote: > > > > >It seems that spd-say thinks that speechd is a system-wide service > > > > > rather than a local service. > > > > > > > > Right. > > > > > > > > >application configuration or the value of the SPEECHD_ADDRESS environment variable. > > > > > > > > It says where it is taking the information from. Since spd-say has > > > > no application configuration, then you must have set the SPEECHD_ADDRESS > > > > variable. > > > > > > > > Try: > > > > env SPEECHD_ADDRESS > > > > > > > > Best regards, > > > > Hynek Hanke > > > > _______________________________________________ > > > > Speakup mailing list > > > > Speakup@braille.uwo.ca > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > _______________________________________________ > > > Speakup mailing list > > > Speakup@braille.uwo.ca > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup