Compaq Easy Access Buttons
frank pirrone
fpirrone at localnet.com
Sat Jul 27 13:29:45 EDT 2002
Justin Bennett wrote:
> Ok I know there is a way to snag what keycodes my laptop throws when you
> push the easy access buttons then in the xconfig somewhere there is a
> way to bind these to commands. I really don't care about the internet or
> mail or any of that crap, but my volume controlls don't work. I have to
> use the software controlls in the mixer, kinda hard to do in quake. Any
> help would be apreciated.
>
> Justin
Justin,
You're looking for xev to display the x events, then bind in
/etc/X11/Xmodmap. Here's a piece of the file as an example.
! global Xmodmap file -- used by both xdm and xinit (startx)
! keycode and keysym remapping should generally be used only if the X
! server does not use the XKEYBOARD extension (i.e., there is a uncommented
! line "XkbDisable" in the keyboard section of /etc/X11/XF86Config)
! i386 and alpha
! keycode 22 = BackSpace
! keycode 107 = Delete
Frank
More information about the nflug
mailing list