From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wlym.com (wlym.com [66.135.63.43]) by speech.braille.uwo.ca (Postfix) with ESMTP id 41F1110AC1 for ; Sun, 13 Sep 2009 13:45:39 -0400 (EDT) Received: from ccs.covici.com (pool-70-109-54-11.clppva.fios.verizon.net [70.109.54.11]) (authenticated bits=128) by wlym.com (8.14.3/8.14.3/Debian-5) with ESMTP id n8DHjanD025708 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 13 Sep 2009 12:45:38 -0500 Received: from ccs.covici.com (localhost [127.0.0.1]) by ccs.covici.com (8.14.3/8.14.2) with ESMTP id n8DHjXVS004950 for ; Sun, 13 Sep 2009 13:45:36 -0400 To: "Speakup is a screen review system for Linux." Subject: Re: how to tell which synthesizer is active In-reply-to: <20090913172919.GA15752@linux1> References: <14688.1252299370@ccs.covici.com> <4AA5C28E.6090506@baechler.net> <14244.1252384580@ccs.covici.com> <20090908151235.GA24861@linux1> <957.1252426474@ccs.covici.com> <20090908164630.GA25282@linux1> <20090908194218.GA19578@romuald.net.eu.org> <20090913172919.GA15752@linux1> Comments: In-reply-to William Hubbs message dated "Sun, 13 Sep 2009 12:29:19 -0500." X-Mailer: MH-E 8.2; nmh 1.3; GNU Emacs 23.1.1 Date: Sun, 13 Sep 2009 13:45:33 -0400 Message-ID: <4948.1252863933@ccs.covici.com> From: covici@ccs.covici.com X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.12 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: Sun, 13 Sep 2009 17:45:39 -0000 Sounds great to me -- as long as I could do something to test in a bash script. William Hubbs 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@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@ccs.covici.com