How can I switch between workspaces with 3 fingers touchpad in Ubuntu 14.04?

7,940

Your touchpad is probably a Focaltech or an Elantech. They can report up to 5-finger actions.

The kernel module reports only positions of the fingers. All kinds of "actions" like "swipes", "scrolls", "taps", etc. are detected and interpreted by user space drivers.

In Ubuntu xserver-xorg-input-synaptics is used. It can detect only 2-finger swipes, vertical and horizontal.

There is no code that detects 3-finger swipes. The only way to add this feature is to code it into the user space driver.

There is another user space driver libinput, that will be used in future releases of Ubuntu and is currently used in some other Linux distributions, e.g. Fedora.

It can be installed to Ubuntu this way. But the problem is that it can be installed only through xserver-xorg. That is way it does not increase overall functionality, if I got the method right.

But it is worth testing.

In some other desktop environments like Wayland it may be possible.

Share:
7,940

Related videos on Youtube

Gocht
Author by

Gocht

Python/Django Developer. #SOReadyToHelp

Updated on September 18, 2022

Comments

  • Gocht
    Gocht over 1 year

    I am looking for a way to change between workspaces with my touchpad, I have found other questions like this, and I have tried theis solutions, but EasyStroke and Touchegg do not work.

    I have an ASUS laptop and when running Windows my gesture monitor recongnize 3 and even 4 fingers. In Ubuntu when I touch with 4 fingers launcher is shown (like if I press Super key), but I can not activate 3 fingers swipe to change workspace.

    I added this to touchegg config file:

    <gesture type="DRAG" fingers="3" direction="RIGHT">
         <action type="SEND_KEYS">Control+Alt+Left</action>
    </gesture>
    
    • Pilot6
      Pilot6 over 8 years
      Probably the xorg-synaptics does not create events for these kind of drags.
    • Gocht
      Gocht over 8 years
      What would be the solution? One reason to love Ubuntu is than usually I don't think about 'IF' I can do something, I usually think about in 'HOW' to do something because, I've been able to customize Ubuntu to fit me always.
    • Gocht
      Gocht over 8 years
      But if my touchpad recognize 4 finger why can not config 3? Or is this a problem with drag action?
    • Pilot6
      Pilot6 over 8 years
      Is your touchpad a Focaltech? What does xinput show?
  • Gocht
    Gocht over 8 years
    So, install libinput is not a solution?
  • Pilot6
    Pilot6 over 8 years
    I read some more code. xserver can use these events with libinput.
  • Gocht
    Gocht over 8 years
    Weel I think I need to read more about.
  • Pilot6
    Pilot6 over 8 years
    Try to install libinput and test. But I am not quite sure that touchagg supports it well. But with a custom script it should work.
  • Gocht
    Gocht over 8 years
    libinput will limit some other Ubuntu's functions?
  • Pilot6
    Pilot6 over 8 years
    No, it will not. The only thing it will not use palm detection on Focaltech touchpads, because they do not report pressure. But it is rarely used and you have an Elantech.
  • Gocht
    Gocht over 8 years
    Thanks for this, I have Elantech so is a good choice?
  • Pilot6
    Pilot6 over 8 years
    It is not bad with Focaltech either. I am just the commiter of the palm detection kernel patch for Focaltech and I did not like that it was not used there :-) But it works well.
  • Gocht
    Gocht over 8 years
    Then, the logic question: Why Ubuntu does not come with libinput by default?
  • Pilot6
    Pilot6 over 8 years
    Because libinput is new and was released this summer. In Ubuntu 15.10 libinput is included in the official repos and is optional.
  • Pilot6
    Pilot6 over 8 years
    @Gocht Please report if you could setup the 3-finger swipe.
  • Gocht
    Gocht over 8 years
    I have been readong a little, what about xSwipe? Does it works on Ubuntu 14.04? Is it an option?
  • Pilot6
    Pilot6 over 8 years
    I think xSwipe will work.
  • Gocht
    Gocht over 8 years
    I have successfully installed xSwipe on Ubuntu 14.04 but I can't figure how to configure it to achieve the actions I need, do you have some docs about this?
  • Pilot6
    Pilot6 over 8 years
    I think libinput+touchegg should work.