Date: Mon, 14 Sep 2009 14:34:29 -0400 From: Robert Huff <roberthuff@rcn.com> To: Roland Smith <rsmith@xs4all.nl> Cc: Eitan Adler <eitanadlerlist@gmail.com>, freebsd-questions@freebsd.org Subject: Re: rebinding keys to functions Message-ID: <19118.36021.489954.856994@jerusalem.litteratus.org> In-Reply-To: <20090914173420.GB69286@slackbox.xs4all.nl> References: <a0777e080909140952r18cc88b3n2b3ff1456c2542c7@mail.gmail.com> <20090914173420.GB69286@slackbox.xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19118.36021.489954.856994>