From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from outbound.mailhop.org ([63.208.196.171] ident=mailnull) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1FLh1J-0001aR-00 for ; Tue, 21 Mar 2006 08:35:33 -0500 Received: from 24-105-197-112.cm.mhcable.com ([24.105.197.112] helo=hq) by outbound.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.51) id 1FLh1I-0005iX-Oy for speakup@braille.uwo.ca; Tue, 21 Mar 2006 08:35:32 -0500 Received: from chuckh by hq with local (Exim 4.60) (envelope-from ) id 1FLh27-0001Hy-8k for speakup@braille.uwo.ca; Tue, 21 Mar 2006 08:36:23 -0500 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 24.105.197.112 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: corcyra Date: Tue, 21 Mar 2006 08:36:23 -0500 From: Charles Hallenbeck To: "Speakup is a screen review system for Linux." Subject: Re: Debian equivalent Message-ID: <20060321133623.GA4444@hhs48.com> Mail-Followup-To: "Speakup is a screen review system for Linux." References: <000701c64c89$8f7cf740$6601a8c0@danmint> <20060321132240.GA3972@hhs48.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <20060321132240.GA3972@hhs48.com> User-Agent: Mutt/1.5.11+cvs20060126 X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.7 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: Tue, 21 Mar 2006 13:35:33 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 One more thing about using a script such as mystartups (or rc.local) to start your software speech. Chances are that speech-dispatcher will already be running when this script executes, since it has its own startup script in /etc/init.d with a lower priority. But what I did in my script was to "renice -5" the already running copy. It turns out that Debian has a very handy utility called "pidof" that returns the pid of a running program, so my command to change the priority of speech-dispatcher looks like this: renice -5 `pidof speech-dispatcher` and you are in business. Whatever script you use to manage your speakup speech output should be sure to run speechd-up with "nice 5" so that speech-dispatcher will always run with a slightly higher priority than a normal application, and speechd-up will always run with a slightly lower priority. Negative numbers here mean higher priority, positive numbers mean lower priority. I guess that is why they call it "nice-ness" The nicer it is, the lower the priority. The nastier it is, the higher the priority. There is a speakwith script on my web site that you might like to take a look at. It assumes speech-dispatcher has already been run, but does everything else for you. Chuck - -- The Moon is Waning Gibbous (63% of Full) Get downloads from http://www.mhcable.com/~chuckh and remember, INFORMATION WANTS TO BE FREE! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEIAFXXnuiIOyDVQURAkQSAJ9+i9QVpvZumEl74CmsZmnky0VQzwCgtnjX pNXKT+x5JbZJDY5LVIJHEF4= =5LZ3 -----END PGP SIGNATURE-----