xmodmap + xf86Sleep + acpid = no movement

Justin P. Mattock justinmattock at gmail.com
Tue Jul 21 22:06:51 PDT 2009


This is getting me here,
I'm trying to map the imac keyboard to a
keycode(217 = F6) to run the command
echo mem > /sys/power/state with acpid

but it seems lifeless

cat .Xmodmap

keycode 217 = XF86Sleep
keycode 218 = XF86KbdBrightnessUp NoSymbol XF86KbdBrightnessUp
keycode 150 =

I'm seeing under xmodmap -pke

that acpid is reading the shutdown button(222)
keycode 222 = XF86PowerOff NoSymbol XF86PowerOff
but doesn't react to setting a custom keycode to key 217
for sleep.

any ideas?

Justin P. Mattock






More information about the xorg mailing list