You are not logged in.

#1 2008-09-23 16:31:13

fifafrazer
Member
Registered: 2008-02-18
Posts: 81

Globalise desktop hotkeys?

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

#2 2008-09-23 16:47:28

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: Globalise desktop hotkeys?

under X, xbindkeys works well for me.

Offline

#3 2008-09-23 16:50:10

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: Globalise desktop hotkeys?

When running fullscreen apps, xbindkeys doesn't work here.


(lambda ())

Offline

#4 2008-09-23 17:00:30

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: Globalise desktop hotkeys?

actkbd is nice. It works in fullscreen applications like OpenGL games and even if you don't run a xserver at all.

Offline

#5 2008-09-23 21:34:30

rine
Member
From: Germany
Registered: 2008-03-04
Posts: 217

Re: Globalise desktop hotkeys?

smoon wrote:

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 yikes (where xbindkeys --key does)

Offline

#6 2008-09-26 19:26:35

enkidu
Member
Registered: 2008-09-26
Posts: 5

Re: Globalise desktop hotkeys?

~/.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   smile

Last edited by enkidu (2008-09-26 19:28:15)

Offline

#7 2008-09-27 20:55:48

fifafrazer
Member
Registered: 2008-02-18
Posts: 81

Re: Globalise desktop hotkeys?

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 smile

Offline

#8 2008-10-26 06:27:24

xstaticxgpx
Member
Registered: 2008-10-22
Posts: 48

Re: Globalise desktop hotkeys?

would there be any reason why actkbd would stop working after I upgraded to xorg-1.5.2?

Offline

Board footer

Powered by FluxBB