Mice like the Microsoft Intellimouse Explorer have 5 buttons, besides the wheel, which means a total of 7 buttons as far as XFree86 is concerned. Here's a summary of how to get the extra buttons working, as outlined in the official XFree developer documentation.
You'll probably notice that your mouse wheel doesn't work any more, but the two side buttons act as wheel up/down now. The reason for this is that the application widget sets (eg Qt and GTK) assume buttons 4 and 5 are generated by a wheel, in the same way that they assume a button 3 message was generated by the 3rd mouse button. For some reason the Explorer driver and/or hardware assigns 4 and 5 to the side buttons, and 6 and 7 to the wheel.
Some applications already have support for these buttons, otherwise you can use xmodmap(1) or another program to map these button events to arbitrary key bindings/commands. Recent versions of Mozilla (for example 1.6 on Debian) uses these for horizontal scrolling of a wide page, or see MozillaNotes for examples on how to use these extra buttons for things like going forward/backwards in a browser. Many games also support them.
Note that if you have multiple mice (touchpad and external mouse, for instance), xmodmap only affects the one which is registered as CorePointer?.
Should you happen to find yourself without a mouse for one reason or another you can use the numpad on your keyboard as a substitute. To enable this feature simply press Shift-!NumLock? (various people report their keyboards' !NumLock? keys even have mouse icons on them - check yours!), which gives you two beeps to signify it's active.
Use 2/4/6/8 as down/left/up/right, respectively. 5 clicks a mouse button, + toggles whether it's the left or right one. * produces a middle-click.
On my system, a Slackware 9.0 stock install, the + key does not toggle between left and right buttons. Instead, it emulates a double-click of the button. The / key changes 5 to be the left mouse button, * to the middle mouse button, and - to the right mouse button. -- Samuel Falvo
will make the cursor go 2.5 times normal speed if the cursor moves over 8 pixels in a short time.
You can change the shape of the cursor using standard programs that come with XFree86. X also comes with lots of bitmaps for this purpose. The xsetroot(1) program does this. If you give it the -cursor option, the first argument is an xbm to use for the cursor and the second argument is a transparency mask.
If you have a keyboard with 'extra' buttons, you'll probably want to get them to work under X.
You could try installing the "acme" package if you use GNOME2. This provides support for the multimedia keys found on some keyboards such as Hewlett-Packard's - even the volume knob worked!
If you have a Microsoft Natural Pro keyboard with the blue 'multimedia' buttons across the top and can change your /etc/X11/XF86Config, put Option "!XkbModel?" "microsoft" in the !InputDevice? section for the keyboard and you'll be able to use them. If you can't, put one of the following in .Xmodmap in your home directory (make sure your X login runs xmodmap over this file; this is a common default), depending on whether the keyboard is connected via USB or PS/2.
After much frustration and trial/error, I've finally perfected my Dvorak/XWindows setup.
I tried two different ways of setting up dvorak:
Both these approaches had the same problems:
I tried adding some 'xmodmap keysym' commands to my .xinitrc, but these just got ignored.
The only solution that has worked for me has been a full xmodmap config file with a couple of nonintuitive tweaks. I've put mine (for standard 104-key keyboard) up at http://www.freenet.org.nz/dvorak.xmodmap.
This is the only scheme I've found that sets up my dvorak keyboard exactly as one would expect.
lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 2 times)
lib/plugin/WlugLicense.php:99: Warning: Invalid argument supplied for foreach()
lib/plugin/WlugLicense.php:111: Notice: Undefined variable: ignore_authors