From owner-freebsd-questions@FreeBSD.ORG Mon Sep 14 18:34:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4646A106566C for ; Mon, 14 Sep 2009 18:34:39 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 050F78FC1E for ; Mon, 14 Sep 2009 18:34:38 +0000 (UTC) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 14 Sep 2009 14:34:38 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.10.7-GA) with ESMTP id QEG68622; Mon, 14 Sep 2009 14:34:30 -0400 (EDT) Received: from 209-6-22-227.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.227]) by smtp01.lnh.mail.rcn.net with ESMTP; 14 Sep 2009 14:34:30 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19118.36021.489954.856994@jerusalem.litteratus.org> Date: Mon, 14 Sep 2009 14:34:29 -0400 To: Roland Smith In-Reply-To: <20090914173420.GB69286@slackbox.xs4all.nl> References: <20090914173420.GB69286@slackbox.xs4all.nl> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Cc: Eitan Adler , freebsd-questions@freebsd.org Subject: Re: rebinding keys to functions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2009 18:34:39 -0000 Roland Smith writes: > > My laptop has a bunch of volume-up/down/mute internet/mail/etc > > keys. How do I map each of them to run a specific shell > > command when pressed? > > That depends on a couple of things (assuming you're running the X > window system, I don't know if it is even possible on the > console). > > First you have to make sure that you actually can see the key > signals. In X you can test that with xev(1). If this is what I think it is, he probably can't. I have a Logitech iTouch keyboard; it has eighteen buttons and two dials. None of them register under xev. Robert Huff