0

Is it possible (and how?) to make ubuntu/linux/xorg identify 2 finger taps on a touchscreen (read SCREEN, not touchpad)? I tried easystroke to get click+hold popup a rightclick menu (executing xdotool click 3) like in windows, but that destroyed the 1 finger scroll in every program that supported it out of the box.

I would rather have 1 finger scroll and at same time click+hold for rightclick menu but it seems impossible. So my plan was to use 2 finger to scroll and 1 finger click+hold for rightclick menu.

Is it possible? I have been googling for several days now, so either nobody else is using touchscreens with linux or my google-fu is awful.....

I am using ubuntu-gnome, not unity (in case someone knows of a gnome-specific solution)

Kleggas
  • 43

1 Answers1

0

Ubuntu 15.10 works perfectly with multi-touch events (for instance, 3 allow to move a certain window, 4 opens the bash). If you are having problems with it, it has probably to do with the driver you are using or the multi-touch capabilities of the display.

Which device are you testing with? Can you post the output of xinput --list?

Regards

EDIT:

In order to get full touch functionality with a surface pro and as stated in this post :

Download 4.0.1 Kernel sources from here and the patches from here.
Extract both files to a new directory. tar xvf archive.tar.gz /foler
Install tools with sudo apt-get install libncurses5-dev kernel-package
Apply all the patches with patch -p1 -i xxx.patch
Copy the current config with:

cp /boot/config-`uname -r` .config

Run make menuconfig then press ESCESC to save and exit.
Start the compiling with:

make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-surface-pro-3 kernel_image kernel_headers

Compiling can take 1-2 hours, depending on your pc. If you have a dualcore you can add -j 2 after make-kpkg, -j 4 if you have a quadcore.
Make will then use the number of cores you specify.

Once it is done you will have two .deb files.
Install them with sudo dpkg -i linux-image*.deb linux-headers*.deb

Reboot your system and select the newly compield Kernel while booting.