From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.123]) by speech.braille.uwo.ca (Postfix) with ESMTP id DCC9F10A7E for ; Sun, 13 Sep 2009 13:29:19 -0400 (EDT) Received: from linux1.localdomain ([76.183.49.63]) by cdptpa-omta01.mail.rr.com with ESMTP id <20090913172919539.HBDV5638@cdptpa-omta01.mail.rr.com> for ; Sun, 13 Sep 2009 17:29:19 +0000 Received: by linux1.localdomain (Postfix, from userid 1000) id 11AA243C03; Sun, 13 Sep 2009 12:29:19 -0500 (CDT) Date: Sun, 13 Sep 2009 12:29:19 -0500 From: William Hubbs To: "Speakup is a screen review system for Linux." Subject: Re: how to tell which synthesizer is active Message-ID: <20090913172919.GA15752@linux1> Mail-Followup-To: "Speakup is a screen review system for Linux." 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090908194218.GA19578@romuald.net.eu.org> User-Agent: Mutt/1.5.20 (2009-06-14) 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:29:20 -0000 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