Graphics tablets and Fedora 8

Tom Horsley tom.horsley at
Sun Feb 3 22:30:53 UTC 2008

On Sun, 3 Feb 2008 23:16:10 +0100
Anders Karlsson <anders at> wrote:

> Do you have any xorg.conf and xmodmap examples you could share? :) I
> am specifically interested in the drag-lock you mention, as that would
> be useful to me as well.

The actual button mappings have changed on me from one release
of X to another, so it is always good to check with xev before
blindly plugging in stuff, but here's what I currently have
on fedora 8:

>From /etc/X11/xorg.conf:

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "Auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "no"
	Option	    "DragLockButtons" "2 1"

>From /etc/X11/Xmodmap:

! Setup buttons for trackball
pointer = 1 8 3 4 5 6 7 2 9

One very confusing bit: The button numbers in xorg.conf
refer to the PRE modmap numbers, but once you get in
the X session, X sees the POST modmap numbers (so I
haven't really made button 2 be drag-lock, I've made the
button which the Auto protocol reports as 8 be drag-lock,
then made the former 8 report as 2 - if that makes sense :-).

More information about the fedora-list mailing list