Re: Speakup default preference settings

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

 



Guy Abandon. writes:
> Could someone offer a clue how to either - get them set to my
> preference and stay that way when next reboot, 

Sure. Here's how I do it.

1.)	Create a directory /etc/speakup

2.)	 In that directory create subdirectories for each synthesizer
that you use. Be sure to use the proper Speakup keyword when naming
these subdirectories.

3.)	Under each of these subdirectories place files corresponding to
/proc/speakup files with the values that you want by default. These will
be used to set your preferences just as you like them.

The next part depends on how you start Speakup. Generally, the important
thing is to start Speakup first, and then execute the ciommand below.
So, if you're running the new Speakup from CVS and starting it from a
script after you login to a console, just add this line at the bottom of
that script. If you're running Speakup 1.5 (or have compiled Speakup
from CVS statically into your kernel), put this in /etc/rc.local or
$HOME/.bash_profile, or some such.

Here's the magic line. Be sure to put this all on one line (or use the \
char to split it across more than one line):

If you're using Speakup from CVS --

cp -r /etc/speakup/`cat /proc/speakup/synth_name`/* /proc/speakup

If you're using Speakup 1.5 --

cp -r /etc/speakup/`cat /proc/speakup/synth`/* /proc/speakup
 
Here's the explanation of this magic:
The part between the accent symbols (`)--the part that starts 'cat
/proc/speakup' looks to see what synth you're using. It uses this to
match the proper subdirectory you created in Step @#2 above.

The rest of the line copies the files below that subdirectory to
/proc/speakup.

Bingo. Your defaults are set not only at bootup, but anytime you
reinitialize your synthesizer and Speakup using your script.


or to put something in
> my .profile or something to restore them when I login.  I prefer the
> former so that settings are common whether on as me or root.
> 
> Tia,  GA!
> 
> .....     or someone very like me!
> 
> 
> _______________________________________________
> 
> Blinux-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/blinux-list

-- 
	
				Janina Sajka, Director
				Technology Research and Development
				Governmental Relations Group
				American Foundation for the Blind (AFB)

Email: janina@xxxxxxx		Phone: (202) 408-8175


_______________________________________________

Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]