Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I would like to use the multitouch xinput driver (xserver-xorg-input-multitouch) with absolute axes, but I could not find any man file.

Example:

Section "InputClass"
        Identifier "eGalax virtual class"
        MatchProduct "eGalaxTouch Virtual Device"
        MatchDevicePath "/dev/input/event*"
        **Driver "multitouch"
        Option "IgnoreRelativeAxes" "True"** 
EndSection
share|improve this question
    
I have same problem with Nook Color on which touchscreen is behaving like huge trackpad: blog.rot13.org/2012/08/… From looking in sources of various multi-touch implementation for xorg, I concluded that xf86-input-mtrack is most complete (with all options configurable), but none of them are sending absolute X events, mostly because they go through libmt which returns just offsets in x and y direction. –  dpavlin Aug 14 '12 at 10:56

1 Answer 1

I was able to make my Synaptics touchpad absolute with this command:

xinput set-mode <device name> ABSOLUTE

My <device name> is "SynPS/2 Synaptics TouchPad" (including quotes). To find your device name, you can list your devices with the xinput command and no options. Look for a "slave" device, which is the actual hardware, not the master device, which is virtual. I was not able to set my "Virtual core pointer" to absolute, but I don't know about your "eGalaxTouch Virtual Device".

For me, the upper and lower bounds of the touchpad didn't quite reach the upper and lower bounds of the screen, but left and right were correct. So you might have to adjust a scaling factor or coordinate transformation matrix or some such. You can view your device properties with this:

xinput list-props <device name>

and set a property with this:

xinput set-prop <device> <property> <val>

Check the xinput man page for more info on setting properties.

I don't know if there is a way to put these settings in your xorg.conf file, but you can simply add the commands to your ~/.xinitrc file. See How to create an X session script.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.