[mythtv-users] Lite-on keyboard multimedia keys -- here's how

Brad Templeton brad+myth at templetons.com
Mon Apr 4 04:56:35 UTC 2005


I have the Lite-on IR keyboard I have been recommending in this list,
as many others do.  It has multimedia keys along the top.

Here is a set of xmodmap commands to define these keys.  You can
take this file and run xmodmap on it, or in some cases put in a ".Xmodmap"
file to make your server run it (You may have to put in a call
to xmodmap on this file in your X init scripts or Xsession init
script in KDE)


    keycode 176 = bracketright
    keycode 174 = bracketleft
    !make this your favourite jump point, in my case recording playback
    keycode 230 = F2
    ! mute
    keycode 160 = backslash
    ! the 4 web keys
    keycode 236 = F13
    keycode 178 = F14
    keycode 223 = F15
    keycode 222 = F16
    !
    keycode 162 = p
    keycode 164 = Escape
    keycode 153 = Home
    keycode 144 = End


You probably want to assign the "favourite" button and the 4 web
oriented keys to jump points or other fancy functions, so I have
put them to function keys in this example.  I plan to give them
some nice jump points and tape a label over the names found on
the keyboard.   You can also make shift and ctrl versions of these if
you like, see the xmodmap man page for details.

I have put commercial skip on the track left and right keys.


More information about the mythtv-users mailing list