Day 15: Mouse Gestures

May 19, 2005

[Note: today’s Opera Lover was written by Stefan M. Huber. My thanks to Stefan for his efforts.]

Opera’s slogan “The fastest browser on Earth” is an oft-mistaken one. It is not necessarily the fastest browser in terms of startup performance or rendering (lynx is faster), but it presents you with builtin features that speed up using the internet suite. Mouse gestures are such a thing: They enable you to perform actions with an elegant movement of your hand.

What’s a mouse gesture?

Basically, a mouse gesture is a specific movement with your mouse while holding down the right mouse button.

So when I am writing about the gesture ↑ → (up, then right), this is what you do:

  1. press and hold the right mouse button
  2. move the mouse up a bit
  3. move the mouse to the right a bit
  4. release the right mouse button

Go ahead and try this gesture in the current page! The effect will be that the current web page will be maximized or restored, respectively.

If you perform a mouse gesture for the very first time, Opera will prompt you if you really want to activate mouse gestures. It pays if you do.

Using mouse gestures requires a little bit of exercise so that you move in as straight lines as possible. So if you did not yet succeed in changing the size of the page you’re reading, try the above mentioned ↑ → gesture again.

You succeeded? Great! Now you have a powerful tool at your hands that enables you to quickly perform actions for which you would normally use both hands or keyboard and mouse. This would be a really short day, if I stopped here. There are some things to talk about yet. What other predefined gestures are there? How do you find out which gestures are defined at all? How do you configure mouse gestures yourself? And at the end of this day, I’ll show you my personal favourites.

Other types of gestures

Before we continue discussing the other predefined gestures, let me tell you that there are more things you can do with your mouse than moving it around while the right button is held down. You can also flip the buttons or use the mouse wheel while holding the right button.

Flipping is quite a simple thing. There are two directions of flipping: forward and back. FlipForward means that you click and hold the left button, click the right button and then release both. FlipBack is just the other way around. The default actions for thse gestures are just going forward (or fast forward) and back in history. As long as you promise to come back to this page, try flipping back to go to the page you just came from and then flip forward again.

Using the Ctrl key while scrolling the mouse wheel changes the zoom of web pages. With Shift + scroll, you move forth and back in your browsing history.

Wheel-gesturing is simple as well. Click and hold your right mouse button while using the scroll wheel. This gesture enables you to switch between open web pages, so you will only see the effects when you have more than one window opened.

Of course, anchored scrolling (or panning) works as well in Opera: Click the mouse wheel and move the mouse up or down. Click the wheel again to exit anchored scrolling.

Useful predefined gestures

I wrote, mouse gestures speed up things. The mouse gesture I presented above is not a good example for this. When browsing the WWW, what is it that you need? You often close pages, you often follow links, you sometimes reload pages or stop loading them. For all of these actions default gestures are defined.

  • goes back in history.
  • goes (fast) forward in history.
  • stops page loading.
  • opens a link in a new window. To see the effects of this gesture, move your mouse over a link and perform the gesture.
  • ↓ ↑ opens a link in the background. This is a very handy mouse gesture.
  • ↑ ↓ reloads the current page.
  • ↓ ← minimizes the page. When not performed on a link, it duplicates the page.
  • ↓ → closes the current page (pretty please don’t do that now).
  • ↑ → maximizes or restores the current page.

Personally, I do not use many mouse gestures. But those I actually do, I use excessively.

Configuring mouse gestures yourself

It wouldn’t be Opera, if you could not modify the mouse gesture setup yourself. It’s quite easy to change the behaviour of Opera when you perform mouse gestures. Open the preferences window (Alt+P), go to the advanced tab and open the shortcuts preferences. You will find the keyboard and mouse setup. Both items can be configured similarly.

When you edit the mouse setup, you will notice that there are several sections of which only the application section is populated. The others simply inherit from this section. If you open the application setup, you will see the basic gesture descriptions and actions that are executed. The actions are described elsewhere (is there a day about these things)???

There are six very important gestures that can be used: GestureUp, GestureRight, GestureDown, GestureLeft, FlipForward, FlipBack. Together with modifiers like shift, ctrl or alt you can tweak the setup to your likings.

My personal favourites

There are a few mouse gestures that I changed and which I don’t want to keep for myself. The mail gestures significantly speed up mail checks by using the mouse only. Here they are.

  • Application
    • GestureRight … View hotlist, 0 | View hotlist, 7. This toggles the panels on or off to quickly offer more space for browsing
  • Browser Window
    • GestureLeft … Enable mediumscreen mode | Disable mediumscreen mode
    • GestureUp … Select user mode | Select author mode
  • Mail Window
    • FlipForward … Mark and select next unread
    • FlipBack … Undo

[Note: Stefan has also written a page which enables programmers to enhance their applications with mouse gestures].

{ 15 comments… read them below or add one }

1 subtitles 05.20.05 at 12:34 am

Cool, special guest boggler?

2 TjL (tntluoma.com) 05.20.05 at 12:40 am

Guest blogger, even.

I prefer guest author, although I’m sure some think “author” is too refined for those who write for the web. Phooey on them.

3 Danny Swälas 05.20.05 at 6:34 am

It seems to me many Opera users are very fond of mouse gestures, but strangely enough it seems not many know about StrokeIt.

It’s a really powerful system-wide mouse gesture program for Windows that’s been around for 3,5 years (when did Opera introduce mouse gestures btw?). You can create your own specific actions for any program, and you can also learn it new gestures (if you want a gesture that is moving the mouse in circles eight times you can have that).

Using StrokeIt you can setup your own gesture for say, closing an application. Then you can use that action in any program. That’s what makes using StrokeIt so powerful. No more finding that close button or reaching for ALT-F4. Yes, sometimes using the mouse is faster than using the keyboard :)

With StrokeIt Opera’s mouse gestures become obsolete, imo. But of course, if you still want to use Opera’s own mouse gestures and StrokeIt for the rest of you programs, that works too (I think!).

Once you get used to using StrokeIt in all your programs, you’ll never want to go back.

4 Kartunes 05.20.05 at 9:21 am

A small nit: Just to be consistent with terminology, “↓ opens a link in a new window” should say “↓ opens a link in a new page/tab.”

Great series!

5 TjL (tntluoma.com) 05.20.05 at 9:37 am

One of the things that most Opera Lovers I know like about Opera is that it does not need extensions, and it will work cross-platform. So when I sit down at my Mac I can install Opera and use it just the same as if I were using it on Windows or FreeBSD or Linux.

I’m sure there are a lot of useful other tools out there, and StrokeIt sounds like a useful one… if you are using Windows. In a non-business setting. Otherwise, StrokeIt costs $10 for “[f]or-profit business entities, governmental entities, or educational institutions according to the StrokeIt download page. Not that I’m against paying for useful software (obviously) but it is another consideration to make.

That said, if I were still using Windows, I’d definitely be checking it out because it sounds useful. And that reminds me, I need to reinstall CocoaGestures for Mac.

By the way, since you asked, Opera introduced Mouse Gestures in Opera 5.10 (at least) and I found several references to Opera mouse gestures in July 2001 which is about 4 years ago, and one can safely assume that it was in development before that. I also found an article at C|Net talking about how Opera’s mouse gestures inspired StrokeIt. The article also gives a more specific time table and a modest quote from Opera’s CEO:

Opera’s solution first appeared about 18 months ago in Opera 5.11. It has won raves from some of its followers, and now others are closing in on similar versions for a range of other applications.

“We’re happy to accept the accolades,” said Opera CEO Jon von Tetzchner. “I don’t think mouse gestures are going to revolutionize the user interface. But it’s a good idea, and it works.”

The article is dated Oct 2002, so 18 months before Oct 2002 would be about April/May 2001. So there’s your answer. I suppose Google could tell you precisely when Opera 5.11 was released if you asked.

That being said, I believe that I’ve heard it said before that Opera didn’t invent mouse gestures. They just made them much more popular and applied it to the browser specifically.

I also think Jon’s quote above could be a lesson for many browser fans (not mentioning anyone by name but looking at some more than others) who want to a) tout every new feature as the best thing ever and b) want to claim that they invented things that they did not.

6 non-troppo 05.20.05 at 7:15 pm

On the Mac, gestures are more difficult to produce (due to the single mouse button), requiring a CTRL+Click drag to work. Anyone know of a free Mac mouse driver to fake right-clicking rather than using modifer keys?

Also StrokeIt certainly does NOT replace Opera’s gestures - it is incapable of triggering many commands Opera can, and cannot perform flipback/forward gestures easily. I love strokeit dearly and have used it since it first came out, but I always prefer Opera’s gestures within Opera as they are vastly more closely tied in with the app.

7 Danny Swälas 05.23.05 at 6:07 am

TjL, nice to hear that Opera hade mouse gestures before StrokeIt. I think everyone here agrees that more people knowing about Opera’s innovative history is positive for the Opera web browser.

non-troppo, I regognize the flipback/forward ‘problem’ in StrokeIt. But I am confused as to why StrokeIt can’t perform all of Opera’s commands. In Opera you can define your own commands just as you like, and then assign a shortcut key to that command. Say CTRL+J would open the mail panel, go to first unread email, and more actions after that if one would like. Am I not correct? Then, in StrokeIt, you can assign a gesture to whatever shortcut key you like. So you go to tour Opera gesture configuration in StrokeIt, and assign say the “up-down” gesture to be the equivalent of CTRL+J.

Or am I completely missing something here?

8 Pavel K 05.23.05 at 9:45 am

I love Opera Mouse gestures, but hate StrokeIt! Why: I have problem how to learn Stroke it to use Opera style gestures…e.g. Close Window in Opera is “Down and Left” and in StrokeIt draw “C’, but I have try it zillion times and it was not recognized. Can I replace C for Down and Left easily.

9 Karl-Johan Sjögren 05.23.05 at 4:37 pm

I love mouse gestures and it was one of the main reasons I ever tried Opera and now I can’t stop using them!

/ Karl-Johan Sjögren

http://www.crazybeavers.se/

10 sgp 06.02.05 at 3:21 am

Hi, great info, great browser!

The first example (max/restore page) makes sense only when “show close button on each tab” is unchecked in your General Preferences. Otherwise page windows don’t follow MDI so they can’t be restored/maxxed.

11 Tropos 06.13.05 at 12:49 am

*replying on non-troppo:

As far as I know you can connect any USB-mouse on a Mac (for sure on mac OSX). Doing so, it will supply you with a right-button and surprisingly enough a right-button-menu as well. Therefore (though not tested) I think the right-button-mouse-gestures might be possible as well.

12 axx 06.17.05 at 6:35 am

One more great thing about mouse gestures - you can use then on unactive pages.

You simply should start gestures from page tab on page bar. You can do anything (reload, close, dupe etc.) with page without switching to it!

13 Ivan 09.26.05 at 2:32 pm

↓ ↑ opens a link in the background. This is a very handy mouse gesture.

Even better, you can assign a middle mouse button to open a link in the background. Also, you can use a middle button to close a tab/page

14 jl 10.02.05 at 6:01 pm

Great site, thanks!

Q: searched through the gestures preferences, but can’t find how to set so a specific gesture gets me to the top of the page. ctrl-home as key command does (ctrl-end to bottom), but I’m lost on how to do this with the mouse (“stop” for me is rarely used, so a gesture straight up would be cool). ?

15 Liam 11.16.05 at 6:33 am

jl - “searched through the gestures preferences, but can’t find how to set so a specific gesture gets me to the top of the page.”

Tools > Preferences > Advanced tab > Shortcuts > Edit Mouse Setup…

Then expand “Application” and change (in your case) “GestureUp” from “Stop” to “Go to start”.

HTH :)

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous post: Day 14: Panels

Next post: UserJS.org