[mythtv-users] New Microsoft Media Keyboard
jr at jrh.net
Thu Jul 14 11:15:17 EDT 2005
Ah great, that looks like what I was looking for. My googlefu on the subject
was weak and running me in circles. Thanks!
> -----Original Message-----
> From: mythtv-users-bounces at mythtv.org [mailto:mythtv-users-
> bounces at mythtv.org] On Behalf Of Paul Andreassen
> Sent: Thursday, July 14, 2005 5:14 AM
> To: Discussion about mythtv
> Subject: Re: [mythtv-users] New Microsoft Media Keyboard
> On Thu, 14 Jul 2005 04:32 am, jack wrote:
> > Anybody know how to remap keys on a linux usb keyboard? Not sure where
> > start, the top has keys for shut down and sleep which basically just
> > my machine. I would like to disable or remap them, any pointers for
> > to start?
> Go to a terminal (Ctrl-Atl-F1) and execute 'showkey'. This gives you the
> codes for the keys you press. (Also good for cleaning your keyboard as
> suggested in the man page.) You can then set these key codes to character
> codes with 'setkeycodes' in your local startup script 'rc.local'.
> Also have a look at xmodmap. You may not need to use it but you should
> its there.
> As a last resort and even then probably not a good idea, you can use this
> program I wrote to binary patch your kernel to change how usb hid keyboard
> codes are translated into key codes.
> More then you ever wanted to know,
> mythtv-users mailing list
> mythtv-users at mythtv.org
More information about the mythtv-users