2

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>
Gocht
  • 385
  • Probably the xorg-synaptics does not create events for these kind of drags. – Pilot6 Oct 12 '15 at 20:32
  • 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 Oct 12 '15 at 20:37
  • It is possible to patch the user space driver and add this feature. But is is not just a config. – Pilot6 Oct 12 '15 at 20:38
  • But if my touchpad recognize 4 finger why can not config 3? Or is this a problem with drag action? – Gocht Oct 12 '15 at 20:40
  • Is your touchpad a Focaltech? What does xinput show? – Pilot6 Oct 12 '15 at 20:44
  • 1
    For Virtual core pointer: ETPS/2 Elantech Touchpad and Virtual core XTEST pointer – Gocht Oct 12 '15 at 20:46

2 Answers2

2

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.

Pilot6
  • 90,100
  • 91
  • 213
  • 324
0

You should try comfortable-swipe-ubuntu.

I'm using Ubuntu 16.04 LTS, but it says it works for Ubuntu 14.04 LTS and above. Haven't tested on other environments, but I think it should work if libinput is supported (e.g. Arch, Fedora).

Rico
  • 371
  • 3
  • 5