-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Actually, pidof isn't specific to debian, it's simply a symlink to killall in most cases, which killall checks to see how it was called. I notice though that debian's pidof is symlinked to killall5, though there is no killall man page in chapter 5, and I'm not sure how killall5 and killall differ, assuming that they do differ. Just wondering though Chuck, what priority do you use for speechd-up? Greg On Tue, Mar 21, 2006 at 08:36:23AM -0500, Charles Hallenbeck wrote: > -----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----- > > _______________________________________________ > Speakup mailing list > Speakup at braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup - -- web site: http://www.romuald.net.eu.org gpg public key: http://www.romuald.net.eu.org/pubkey.asc skype: gregn1 (authorization required, add me to your contacts list first) - -- Free domains: http://www.eu.org/ or mail dns-manager at EU.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEIDwu7s9z/XlyUyARAgdUAJ9h30uuRn9MtvY2Q0lCr7eGKrssnQCfax8O LC3PJHAGdm4YJFt6GkIVVPQ= =RQ8X -----END PGP SIGNATURE-----