How to Get MacBook-Style Finger Gestures on Ubuntu Linux

how-to-get-macbookstyle-finger-gestures-on-ubuntu-linux photo 1

Apple users have been swiping, pinching, and rotating Mac’s user interfaces to their fingers’ content. In today’s article, we’ll show you how to do groovy things like expanding and reducing windows, and changing desktops using finger gestures.

To accomplish this, we’ll use a piece of software called TouchEgg, which enhances Ubuntu’s multi touch capability by allowing us to configure actions to the finger gestures that TouchEgg supports.

If you’re a Windows user and like the idea of finger-gestures, we also wrote a tutorial on how to enable MacBook-Style finger gestures on Windows.

Setting Up Your Ubuntu Box

We recommend installing TouchEgg on Ubuntu 10.10 Maverick that has all the package dependencies for TouchEgg. Grab the installer from its project home page.

Make sure that you have the uTouch and evdev libraries, because TouchEgg depends on them. These packages should be ready on Maverick, but if you’re missing any of them, use the synaptic package manager to install it on your Linux box.

how-to-get-macbookstyle-finger-gestures-on-ubuntu-linux photo 2

how-to-get-macbookstyle-finger-gestures-on-ubuntu-linux photo 3

The Finger Gestures

TouchEgg does not have any user interface at the time of writing this article, but it comes with an easy to configure text file for all the finger gestures goodness that you can use in Linux.

TouchEgg supports up three-fingers pinch, two to five-fingers tap, and two-fingers to four-fingers swipes. Each gesture is defined in a configuration file under ‘/usr/share/touchegg.conf’.

Each configuration consists of three parts, the gesture name, action, and setting.

how-to-get-macbookstyle-finger-gestures-on-ubuntu-linux photo 4

For example, in this configuration, we are telling Ubuntu to swap our desktop to the left when we do a four-fingers drag up gesture on our trackpad.

how-to-get-macbookstyle-finger-gestures-on-ubuntu-linux photo 5

In this one, we configure Ubuntu to minimize and maximize windows when we do a three-fingers action.

how-to-get-macbookstyle-finger-gestures-on-ubuntu-linux photo 6

The first thing we noticed was how natural it feels to play around with the user interface using finger gestures. It feels nice not to push our mouse; instead, we let our fingers dance, and play with the user interface freely.

It does require some learning curve, but as soon as you get the hang of it, you will find how enjoyable it is to use finger gestures to work with Linux.

Further Reading

Different Trackpads require custom configuration, so be sure to read the configuration documentation in TouchEgg’s Wiki. Feel free to share your own experience with TouchEgg with the other fellow readers in the comments section.

More stories

Encrypt Your Google Search Queries

If you’d like to keep your searches between you and Google (and not between you and anyone in between snooping) a secure search is just a simple URL change away.

Create Your Own Quick Calculator Function for the Terminal

If you’re anything like me, you’ve always got a Terminal window open, and you probably have even assigned a hotkey to bring it up anytime. So why open up the boring calculator when you can solve equations right there on the command line?

How to Remote View and Control Your Android Phone

If you’ve ever wished you could see your Android phone’s screen on your desktop or remote control it using your mouse and keyboard we’ll show you how in this simple guide to gaining remote access to your Android device.

Focus Booster Is a Sleek and Free Productivity Timer

If you’re looking for an unobtrusive timer that melts into the background but still helps you focus and slice up your work into manageable chunks of time, Adobe Air-based Focus Booster is the lightweight tool for you.