You are not logged in.
My laptop (thinkpad R61) has vol up, vol down and mute buttons on it.
They trigger a keycode in xev, so I have given them a keysym and bind them to different commands using the xfce built-in keyboard shortcuts tool.
It works great, but when running full-screen applications the keystrokes are only captured by the fullscreen application, so I can't control the sound while ingame.
The buttons do not trigger an acpi event, so I can't create an action like I do with some of the other buttons, by putting scripts in /etc/acpi/actions
Any suggestions on how to grab those keystrokes?
Offline
When running fullscreen apps, xbindkeys doesn't work here.
(lambda ())
Offline
actkbd is nice. It works in fullscreen applications like OpenGL games and even if you don't run a xserver at all.
actkbd -n -s doesn't get my special keys, just normal ones (where xbindkeys --key does)
Offline
~/.Xmodmap for my thinkpad
keycode 234 = XF86Back
keycode 233 = XF86Forward
keycode 159 = XF86Start
keycode 162 = XF86AudioPlay
keycode 164 = XF86AudioStop
keycode 153 = XF86AudioNext
keycode 144 = XF86AudioPrev
keycode 227 = XF86LaunchF
keycode 249 = XF86ZoomIn
i use key binding in fvwm to control mpd
If your fullscreen app listen to such multimedia keys, then it's a multimedia app
Last edited by enkidu (2008-09-26 19:28:15)
Offline
It's games like Xmoto and Warsow who capture my volume and mute buttons, which is quite annoying. I have to shutdown the games to adjust the volume. I'll rather live with this than add a keyboard daemon to my system
Offline
would there be any reason why actkbd would stop working after I upgraded to xorg-1.5.2?
Offline