On Tue, Nov 19, 2002 at 02:31:35PM +0000, Yann Golanski wrote:
> I have a logitech i touch keyboard and would like to know if it is
> possible to have all those useless keys at the top of the keyboard
> (media control and co) actually maped to something usefull. 

I have the same keyboard, and am part way through setting this up.
Start by looking at:

man xmodmap
man xev

'xmodmap -pke' enables you to view the current keyboard mappings.
'xev' enables you find out what keycodes the media keys generate.

The key mappings are normally set in ~/.xmodmaprc, but I currently set 
then in .xsession.  For example, for xmms I use:

xmodmap -e "keycode 144 = z"    # previous track

What I haven't taken the time to figure out is how to use the keysym 
database (XKeysymDB - man xmodmap).  For example:

xmodmap -e "keycode 144 = XF86AudioPrev"
xmodmap -e "keycode 162 = XF86AudioPlay   XF86AudioPause"

Jeff

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to