fix
Easystroke Makes Mouse Gestures Easy in Linux
Posted by Kevin Purdy at 8:00 AM on September 15, 2008
Linux only: Easystroke, a free mouse gesture manager for Linux systems, makes the often quirky business of summoning applications, web sites, and desktop actions with your pointer a simple affair. After installing Easystroke and adding it to your startup programs, it sits in your icon tray to register movements and add new ones. By default, it only records mouse gestures made when the middle mouse button is held down, and it's surprisingly intuitive at knowing what you wanted. Let's take a look at how to set up Easystroke to help you get at frequently-accessed site, desktop manipulations, and favourite programs with a flick of the wrist.
First things first: Head to the Easystroke web site and download a package for your system. There are pre-compiled .deb packages for 32- and 64-bit Ubuntu systems, and a source code package for other distributions (here's a guide to compiling from Webmonkey). Ubuntu users can also add Easystroke's repository lines to their sources through Synaptic Package Manager (or editing /etc/apt/sources.list). Once you've installed Easystroke, you can add it to your auto-starting programs for convenience, or launch it using the command line easystroke.
Once it's launched, you'll see the Easystroke icon sitting in your system tray. Assuming you're using a three-button mouse (trackpad gestures can be a bit tricky), hold down your middle/scroll button and make some gestures around the screen. Easystroke's icon will change to represent what you just did, and you'll get a feel for how responsive the program is.
Click once on the Easystroke icon, and you'll pull up the preferences dialog, with the "Actions" tab open. Let's try out an easy one. Click "Add Action" in the lower left corner, and you'll be prompted to name it. I'm trying out a gesture that pulls up Lifehacker, so I'll just name it "Lifehacker." Next you'll be asked for a "Type." "Command" is exactly what it sounds like—whatever you can type into a command line can be triggered from a mouse movement. "Key" simulates pressing a key or combination of keys, which is great for things like hiding a desktop, switching workspaces, putting windows in Expose mode, etc. "Ignore" is only used if you're having trouble getting Easystroke to trigger the right action, so you'd enter the gesture you don't want to trigger something and assign it there. "Scroll" and "Button" make gestures act as mouse movements or clicks, so if you were interested in a live-scrolling browser experience, you can set it up with those options.
After choosing "Command, I'll enter firefox http://lifehacker.com in the "argument" field, which causes Firefox to open (or just open a new tab) to this site. Once that's done, hit "Record stroke" on the bottom of the window, and a pop-up window will ask you to record your gesture. Hold down the middle button, and try to record the action as you'd use it in real life—not careful and precise, but fast and slightly sloppy. Easystroke knows the difference between moving left to right and right to left, but doesn't mind if you record a small gesture and make a large one to summon it. If you're not happy with your recording, just hit "Record stroke" again, and you'll see an option to "Delete stroke" and start over.
Once you've got that mastered, you've pretty much got control of your mouse gestures. In the "Preferences" tab, you can change the gesture button (to another button, if you've got a multi-button mouse, or keyboard key if you're trying a trackpad), and change or eliminate the way Easystroke shows your mouse strokes and its reactions under the "Appearance" heading.
If you're running Compiz Fusion on your desktop (and most modern distributions have it pre-installed), you can use Easystroke for a lot of cool desktop manipulation. Head into your advanced Compiz settings (here's a quick guide to setting them up in Ubuntu) and enable effects like "ADD Helper," "Expo," and any of the "Desktop" effects (like Cube, Wall, or the like). I set up "Widget Layer" to turn on and off when I mouse toward the upper right of my screen, because I found myself accidentally triggering the layer too often when I just assigned it to the upper-right corner with Brightside or Compiz's settings.
What gestures have you set up on your Linux system to move your work around or launch applications? Share your setup in the comments.

Comments (AU Comments · US Comments)
There are currently no AU comments for this post.
Jai
Posted 9:09 AM 15/9/08
Personally I've little faith with these programs. I find that it is easer to assign keyboard shortcuts for things than move a mouse to make gestures. But, hey, I'm sure there's plenty of people who prefer the additional effort of a mouse as it's most likely easier to remember gestures.
Jai
HyperialGuard
Posted 9:20 AM 15/9/08
When I was using Windows XP as my main OS I used StrokeIt for a great deal of tasks. So I am sure this will be a nice addition to my Ubuntu setup.
Thanks for the post.
HyperialGuard
elgilicious
Posted 9:50 AM 15/9/08
Ever since I installed the FireGestures plugin for Firefox, I wondered how I lived without it. I've always wanted something similar for Linux; this seems like FireGestures of steroids. Unless you use the command line, then you primarily use the mouse to navigate. Gestures enhance efficiency by allowing you to use one hand to do the work of two.
elgilicious
medeshago
Posted 10:42 AM 15/9/08
I love this and I think that it's way better when you're using a tablet pc.
medeshago
Jake The Mighty
Posted 11:29 AM 15/9/08
I've been playing with this for a little while, and I have to say, I like it, but probably only as a novelty. I set it up to open up terminal with middle+left mouse buttons, and I think that's the only thing I'll use on a regular basis.
Gestures seem unreliable and hard to remember. I found myself trying to come up with incredibly lame/clever ways to remember what gestures do what. For example, a downward motion opens Transmission for DOWNloading.
Jake The Mighty
elgilicious
Posted 1:27 PM 15/9/08
@Jake The Mighty: Your Terminal gesture reminded me to set up a gesture for Tilda, my drop-down command line prompt.
An easy way to remember gestures is to apply gestures from FireGestures to other applications. For example, I use "DRU," which opens a new Firefox window in FireGestures, to open a Nautilus window in Easystroke. This mnemonic obviously depends on your familiarity with FireGestures, but it's something to consider.
elgilicious
Tempura
Posted 3:40 PM 15/9/08
Finally a really competition for strokeit under linux! :)
Tempura
Arutha
Posted 6:22 PM 15/9/08
@Jai: Of course, you could also use it in combination with keyboard shortcut keys. Depending on what task I'm doing my hands are on the keyboard or at the mouse. While at the keyboard, I use keyboard shortcuts (& Dash Command). When I'm using the mouse I don't bother moving my hands to the keyboard, I use the mouse gestures. Depending on the actions you want to take, a gesture may even be less effort than a keyboard shortcut. For example, minimizing a window could be as simple as sliding your mouse down, or sliding your mouse up for window switching.
I agree with you about the additional effort thingy when gestures get too complex. Gesturing a `G' or `H' does take some time + because due to the fact that it is a more complicated letter it will be harder to be recognized by the application.
Easy gestures however are able to speed up your work flow.
Arutha
icyrainz
Posted 11:53 PM 15/9/08
Is there any free alternative of this program for Windows ?
icyrainz
Arutha
Posted 12:24 AM 16/9/08
@icyrainz:
gMote ([www.handform.net]), still being developed
StrokeIt ([www.tcbmi.com]), not being developed anymore
Mazzick ([www.winmatrix.com]), still being developed
I prefer gMote personally.
Arutha
disconnect
Posted 7:33 AM 21/9/08
Nice post and great application. Been using it since this post and am very happy with it. I haven't seen anything similar for Windows (in terms of its interface and options)
disconnect