I was talking to a friend who owns a Mac. He has his set up so that when he swipes three fingers across his touchpad, it moves to the workspace in that direction. Is it possible to set this up in Ubuntu?
I was talking to a friend who owns a Mac. He has his set up so that when he swipes three fingers across his touchpad, it moves to the workspace in that direction. Is it possible to set this up in Ubuntu?
How to change workspaces using touchpad gestures in ubuntu
Complete tutorial using touchegg, easystroke is better to be used with mouse rather than touchpad.
In case you are using unity you may experience some conflicts with build-in gestures. The tutorial I gained information from deals with this issue (please see the link below). I didn't have any build in gestures, so this how-to provides only information how to set up things.
Download Touchegg:
run it, but kill just after that, it will create a file
open it in an editor you desire and add those three lines below into the name="All" section
Run touchegg to try it out
Edit the config file as you wish and then add touchegg to the list of startup applications
The tutorial I mentioned can be found here - there some things out of date (you don't have to compile it). Anyway thx to the creator!
Comfortable Swipe
Try comfortable-swipe. Provides 3-finger and 4-finger gestures for switching workspaces, plus a couple more like the window spread in mac.
This also uses xdotool, but more comfy than the laggy libinput-gestures if you ask me.
Your touchpad (hardware) needs to support this feature and you then may need to configure your touchpad (Ubuntu automatically recognizes and enables some hardware).
One common drier is synaptic. You can enable two finger scrolling from the mouse and touchpad section in the control panel.
If you wish additional options you will need to manually edit a few configuration files and the options are hardware dependent.
There is a debugging page here:
https://wiki.ubuntu.com/DebuggingTouchpadDetection
Take a look at that page, if you can identify your hardware we can perhaps give you more specific assistance.
An example of hardware specific guides: https://wiki.ubuntu.com/Multitouch/AppleMagicTrackpad
Consider easystroke
You can also take a look at "easystroke"
http://sourceforge.net/apps/trac/easystroke/wiki
Here is a demo of easystroke in action: http://www.youtube.com/watch?v=CagAEgXAAzA
The following worked for me on Ubuntu 16.04 and a 2017 Dell XPS 13 (9360):
Restart your computer after the above steps. My
~/.config/libinput-gestures.conf
is:This was my solution: 4 fingers and natural direction.
I used the synaptics driver with xdotool to do that...
For speed of my macbook touchpad:
For 3 fingers gesture change workspace:
Like already mentioned:
But you have to go to:
and edit the created libinput-gestures.conf:
And then make safe the following is set correctly: