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



_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to