From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-iy0-f170.google.com (mail-iy0-f170.google.com [209.85.210.170]) by speech.braille.uwo.ca (Postfix) with ESMTP id AD3B8C1A269 for ; Thu, 24 Feb 2011 23:40:12 -0500 (EST) Received: by iyb12 with SMTP id 12so638923iyb.29 for ; Thu, 24 Feb 2011 20:40:12 -0800 (PST) Received: by 10.42.239.68 with SMTP id kv4mr257334icb.443.1298608812324; Thu, 24 Feb 2011 20:40:12 -0800 (PST) Received: from lnx3 (ip72-208-185-148.ph.ph.cox.net [72.208.185.148]) by mx.google.com with ESMTPS id wt14sm136269icb.16.2011.02.24.20.40.10 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 24 Feb 2011 20:40:11 -0800 (PST) Date: Thu, 24 Feb 2011 21:40:06 -0700 From: Steve Holmes To: speakup@braille.uwo.ca Subject: Re: spd-say seems confused. Message-ID: <20110225044006.GA21005@lnx3> Mail-Followup-To: speakup@braille.uwo.ca References: <20110223001839.GA20677@nextdog> <4D6645D6.5060302@brailcom.org> <20110224202837.GB12941@lnx3> <20110225001443.GA2343@nextdog> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110225001443.GA2343@nextdog> 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 04:40:12 -0000 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