xev in a xterm and then press the key to see the keycode. The following is the result of pressing the "Logitech" key on my Logitech newtouch:
KeyRelease event, serial 26, synthetic NO, window 0xe00001, root 0x46, subw 0x0, time 2321622038, (246,229), root:(332,333), state 0x0, keycode 232 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 characters: ""
xmodmap -e "keycode 232 = F20".
Now run xev again, and press the same key. It should say that the key is mapped to F20. You can then use the key in, for example, your window manager. I could add this to ~/.fluxbox/keys:
Mod1 F20 : ExecCommand xmms
Meaning: pressing the Alt key and the "Logitech" key starts xmms.
To make these settings permanent, create a~/.xmodmap file with the following contents:
keycode 232 = F20
xmodmap ~/.xmodmap to either your ~/.xsession or ~/.xinitrc.
To enable the Windows keys make sure your X configuration file looks like this:
Section "InputDevice"
...
Option "XkbModel" "pc105"
...
EndSectionOption "Protocol" "IMPS/2" Option "ZAxisMapping" "4 5"
Section "InputDevice" Driver "mouse" Identifier "Mouse0" Option "Device" "/dev/psaux" Option "Name" "AutoDetected" Option "Protocol" "Auto" Option "Vendor" "AutoDetected" Option "Buttons" "4" # Xorg version 6.8 and earlier Option "XAxisMapping" "6 7" Option "YAxisMapping" "4 5" Option "EmulateWheel" "true" Option "EmulateWheelButton" "4" # Xorg version 6.8 and earlier # Option "EmulateWheelButton" "8" # Xorg version 6.9 and later # Amount to scroll: Option "EmulateWheelInertia" "12" EndSection
Mozilla Firefox interpretes horizontal scrolling as "back" and "forward" in page history. To disable this, enter: "about:config" in Firefox's address field, locate the key: "mousewheel.horizscroll.withnokey.action" and change its value to 0.
Device Drivers --->
USB support --->
<M> Wacom Intuos/Graphire tablet supportNext you will have to configure your X server, add the following lines to your X configuration file:
Section "ServerLayout"
...
InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "pad"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/event2" # USB ONLY
Option "Type" "stylus"
Option "USB" "on" # USB ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/event2" # USB ONLY
Option "Type" "eraser"
Option "USB" "on" # USB ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/event2" # USB ONLY
Option "Type" "cursor"
Option "USB" "on" # USB ONLY
EndSection
# This section is for Intuos3, Cintiq 21UX, or Graphire4 only
Section "InputDevice"
Driver "wacom"
Identifier "pad"
Option "Device" "/dev/input/event2" # USB ONLY
Option "Type" "pad"
Option "USB" "on" # USB ONLY
EndSection