You are not logged in.
Recently I purchased a Logitech VX Revolution mouse. I managed to configure it properly but I still have some problems.
Here is what I did, step by step:
1. Downloaded xbindkeys xvkbd xf86-input-evdev
2. I edited my xorg.conf mouse section, so now it looks like this:
Section "InputDevice"
Identifier "Mouse0"
Driver "evdev"
Option "Name" "Logitech USB Receiver"
Option "Device" "/dev/input/event7
Option "CorePointer"
EndSection
3. I edited my ~/.Xmodmap and now it looks like this:
pointer = 1 2 3 4 5 7 6 8 9 10 11 12 13 14 15 16 17 18 19 20
keycode 229 = XF86AudioMedia
4. I edited /usr/include/X11/keysymdef.h and added these:
#define XK_XF86AudioNext 0x1008ff17 /*XF86AudioNext */
#define XK_XF86AudioPrev 0x1008ff16 /*XF86AudioPrevious */
#define XK_XF86AudioRaiseVolume 0x1008ff13 /*XF86AudioRaiseVolume */
#define XK_XF86AudioLowerVolume 0x1008ff11 /*XF86AudioLowerVolume */
#define XK_XF86AudioMedia 0x1008ff32 /*XF86AudioMedia */
5. I edited ~/.xbindkeysrc and now it looks like this:
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]""
m:0x0 + b:6
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
m:0x0 + b:7
"/usr/bin/xvkbd -xsendevent -text "\[XF86AudioNext]""
m:0x0 + b:9
"/usr/bin/xvkbd -xsendevent -text "\[XF86AudioPrev]""
m:0x0 + b:8
"/usr/bin/xvkbd -xsendevent -text "\[XF86AudioRaiseVolume]""
m:0x0 + b:13
"/usr/bin/xvkbd -xsendevent -text "\[XF86AudioLowerVolume]""
m:0x0 + b:14
"/usr/bin/xvkbd -xsendevent -text "\[XF86AudioMedia]""
m:0x0 + b:20
6. Lastly I made a startup script in ~/.kde/Autostart/ to call Xmodmap and xbindkeys.
Now, every button is working great, but with one last problem:
When I press button 9 (ex) to go to the next track in amarok (I already told amarok to listen to this key in Global Shortcuts) it doesn't work unless amarok is focused (and ofcourse not minimized).
Same thing happens with volume up, kmix has to be focused.
And lastly, when I press button 20 to open amarok, Is there a way to configure it so when I press it again amarok will minimize to the tray again?
Thanks for your help and sorry if my english is somehow bad.
Last edited by augegr (2008-02-21 15:48:53)
Offline