Re: [wmii] Tagging conventions examples

From: David Bronke <>
Date: Thu, 1 Jun 2006 15:19:34 -0400

On 6/1/06, Kris Maglione <> 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

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.)


Lead Programmer
G33X Nexus Entertainment
Received on Thu Jun 01 2006 - 21:19:36 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:07:31 UTC