rebinding keys to functions

Robert Huff roberthuff at rcn.com
Mon Sep 14 18:34:39 UTC 2009


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



More information about the freebsd-questions mailing list