Enable pinch and twist gestures in Firefox 4

Posted by | 03/24/2011 | 9 Comments

If you’ve downloaded Firefox 4 to your multitouch Windows tablet and wondered why pinch-to-zoom wasn’t working, it’s not just you. The update has that disabled by default, but a little configuration magic can get it up and running again, as well as a twist gesture to roll between tabs.

To re-enable the gestures, enter “about:config” in your address bar and then click the button saying you promise to be careful. Either scroll down the list or search on “gesture” to whittle it down until you find the “browser.gesture” strings. To enable pinch gestures, change the following values.

  browser.gesture.pinch.in         cmd_fullZoomReduce
  browser.gesture.pinch.in.shift   cmd_fullZoomReset
  browser.gesture.pinch.out        cmd_fullZoomEnlarge
  browser.gesture.pinch.out.shift  cmd_fullZoomReset

To enable twist gestures, change these values

  browser.gesture.twist.left       Browser:PrevTab
  browser.gesture.twist.right      Browser:NextTab

The pinch gestures enable the standard Windows zoom functionality (sorry, no silky smooth zooming like in Opera Mobile 11). The twist gestures have been part of Firefox since version 3.5 (I think). Great for jumping tabs while working in fullscreen mode. For best control, I recommend holding your thumb and forefinger like a compass with thumb stationary and finger turning around it. Don’t know why these gestures were disabled by default, but if you missed them, they’re easy enough to restore.

Originally shared by Mac OS X Hints. Twist gesture tip from Lifehacker.

Tags: , , , ,

Category: Software

About the Author (Author Profile)

My name is Mark Sumimoto; I am Sumocat. I dabble in all areas of mobile computing, but my focus is Windows-based Tablet PCs and pen input. They’ve been part of my arsenal since 2004, and I’m proud to have pioneered the field of ink blogging, earning a spot as a Microsoft MVP for Touch and Tablets in the process. My current tools include a Fujitsu Lifebook T900, TEGA v2, and iPhone 4. Email me: sumocat [at] notebooks.com
  • http://3.ly/trlrz Hozefa KB

    hi,
    how to perform browser.gesture.pinch.in.shift?
    reply

    • http://sumocat.blogspot.com Sumocat

      Oh right, that’s a two-finger tap, no pinching. After zooming, that puts the screen back to the normal zoom level (cmd_fullZoomReset).

      • http://qr.net/trlrz Hozefa KB

        this means instead of zooming in by pinching in (or out, im confused), i could use the 2-finger tap? like in IE?

  • guest

    Great! I was wondering why it wasn’t working anymore.

    I notice that when I try to pinch-zoom on google maps, it resizes the page, not the map (similar for the acrobat reader plugin). Is there a similar trick for getting pinch-zoom to work better in these applications?

    • http://sumocat.blogspot.com Sumocat

      No, but there is a separate gesture in GM for zoom. Two finger up and down zooms in and out but I forget which is which.

  • Pingback: Firefox Daily News : March 25, 2011 | Firefox Daily

  • Bigmouth

    Wait, is there some way to program Firefox to do the two-finger tap like IE 9?

    • http://sumocat.blogspot.com Sumocat

      You can set the “shift” commands to do whatever you want, but they only work after pinching in or out. I’m not aware of a separate line for two-finger tap.

  • Thomas Ramirez

    Hey,

    do you happen to know what value I have to type to close a tab?

    I want firefox to close the open tab when I twist left and idealy reload when I twist right.

    I just cant find the right values to enter.