how to tell which synthesizer is active

covici at ccs.covici.com covici at ccs.covici.com
Sun Sep 13 13:45:33 EDT 2009


Sounds great to me -- as long as I could do something to test in a bash
script.

William Hubbs <w.d.hubbs at gmail.com> wrote:

> Hi Greg,
> 
> On Tue, Sep 08, 2009 at 12:42:18PM -0700, Gregory Nowak wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > How about a compromise? I propose leaving synth as is, and creating a
> > new file, /sys/accessibility/speakup/synth_active, which would be a
> > boolean. If the value is 1, the synth is active. If the value is 0,
> > the synth has timed out/prtscr was pressed to turn the synth off. This
> > way, synth can stay as is, and active could be checked in scripts, to
> > decide what action could be taken. So, for example, if synth is set to
> > bns, and active is set to 0, then you'd know that a hardware synth is
> > in use, but that it isn't attached. How does that sound, and could it
> > be implemented?
>  
>  I can look into something like this.  How about putting it in the synth
>  directory though, such as /sys/accessibility/speakup/bns/active?
> 
> William
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici at ccs.covici.com



More information about the Speakup mailing list