a key makes trouble :-)

Olivier Fourdan fourdan at xfce.org
Thu Jul 17 18:53:57 CEST 2003


Jan,

No bug here, xfwm4 supports only 10 key shortcuts.

This is because you try to use xfwm4 as a general key grabber, which is
not, it's a window manager. It manages the shortcuts for itself, plus 10
additionnal that are used to run stuff like xfhelp4 or xfrun4...

There are several general purpose key grabbers available, try using
xgrabkeys for example.

Cheers,
Olivier.

On Thu, 2003-07-17 at 17:28, Jan Eidtmann wrote:
> Hi all!
> 
> i am using slackware9 and XFce4rc1
> 
> i have a problem with XF86AudioRaiseVolume
> 
> here is the interesting part from my 
> ~/.themes/xfwm4/custom.keys/keythemerc
> 
> shortcut_4_key=XF86AudioPlay
> shortcut_4_exec=xmms -t
> shortcut_5_key=XF86AudioStop
> shortcut_5_exec=xmms -s
> shortcut_6_key=XF86AudioPrev
> shortcut_6_exec=xmms -r
> shortcut_7_key=XF86AudioNext
> shortcut_7_exec=xmms -f
> shortcut_8_key=XF86Start
> shortcut_8_exec=xterm -geometry 80x55 -e top
> shortcut_9_key=XF86Standby
> shortcut_9_exec=xset dpms force standby
> shortcut_10_key=XF86AudioLowerVolume
> shortcut_10_exec=aumix -v -2
> shortcut_11_key=XF86AudioRaiseVolume
> shortcut_11_exec=aumix -v +2
> shortcut_12_key=XF86AudioMute
> shortcut_12_exec=aumix -v 0
> 
> they _all_ work great in KDE, wmaker etc, almost all work great in 
> xfce4(rc1), all, but shortcut_11. it seems that xfce doesnt grab it 
> because when i use xev and press for example XF86AudioLowerVolume no 
> output occur (same as for all "grabbed away" keys) but i do get default 
> output for XF86AudioRaiseVolume:
> 
> KeyPress event, serial 23, synthetic NO, window 0x2c00001,
>     root 0x48, subw 0x2c00002, time 20903880, (49,46), root:(53,97),
>     state 0x0, keycode 176 (keysym 0x1008ff13, XF86AudioRaiseVolume), 
> same_screen YES,
>     XLookupString gives 0 bytes:  ""
> 
> anyone? did i found a bug? :-)
-- 
Olivier Fourdan - fourdan at xfce.org
   
   Interoperability is the keyword, uniformity is a dead end. 
   http://www.xfce.org






More information about the Xfce4-dev mailing list