On 6/1/06, Kris Maglione <[EMAIL PROTECTED]> wrote:
I too have a keyboard with such butons, but, alas, it's USB and my kernel doesn't pick up those button presses.
IIRC normally that's not a kernel thing... Usually, you need to set up X to recognize the buttons, and then use xmodmap to rename the keys to something useful. For instance, my ~/.Xmodmap contains the following lines: keycode 178 = XF86XK_WakeUp keycode 222 = XF86XK_PowerOff keycode 223 = XF86XK_Sleep Just use xev to find which keycodes they generate, and then look up the XF86XK* key names that you can assign them to. (I forget where the file is that contains those... maybe grep somewhere in /usr/X or so.) Dave -- Lead Programmer G33X Nexus Entertainment http://games.g33xnexus.com/precursors/ v3sw5/7Hhw5/6ln4pr6Ock3ma7u7+8Lw3/7Tm3l6+7Gi2e4t4Mb7Hen5g8+9ORPa22s6MSr7p6 hackerkey.com _______________________________________________ [email protected] mailing list http://wmii.de/cgi-bin/mailman/listinfo/wmii
