Ginn

Differences between revisions 3 and 4
Revision 3 as of 2011-03-21 10:18:44
Size: 2329
Editor: matell
Comment:
Revision 4 as of 2011-03-21 13:26:22
Size: 2716
Editor: c-67-174-110-114
Comment:
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
== Supporting Unity Gestures Effect using Ginn == == Unity Gestures with Ginn ==
Line 13: Line 13:
If you want to just use the standard gnome Desktop and still get some gestures effects stuff, you can use Ginn to assign gestures in the global section to Compiz Shortcuts to get the same effects as those supported in Unity. System gestures in Ubuntu are currently tied to Unity (both in Maverick and Natty). Even if you have the uTouch stack installed and are using the GNOME Desktop, you will not get any response from the gesture recognizer (Grail) if you perform the 3- and 4-finger system gestures.
Line 15: Line 15:
However! Ginn can address this :-)

If you want to just use the standard GNOME Desktop while also getting support for system gestures, you can use Ginn to assign gestures in the global section to Compiz Shortcuts.
Line 17: Line 20:

<wish gesture="Tap" fingers="4">
      <action name="action1" when="update">
        <trigger prop="tap time" min="20" max="400"/>
        <key modifier1="Super_L">E</key>
      </action>
    </wish>
{{{
  
<wish gesture="Tap" fingers="4">
   <action name="action1" when="update">
   <trigger prop="tap time" min="20" max="400"/>
          <key modifier1="Super_L">E</key>
        </action>
      </wish>
}}}
Line 26: Line 29:

<wish gesture="Pinch" fingers="3">
      <action name="action4" when="update">
        <trigger prop="radius delta" min="-80" max="-50"/>
        <key modifier1="Super_L">W</key>
      </action>
</wish>
{{{
  
<wish gesture="Pinch" fingers="3">
        <action name="action4" when="update">
   <trigger prop="radius delta" min="-80" max="-50"/>
          <key modifier1="Super_L">W</key>
        </action>
  
</wish>
}}}
Line 37: Line 40:
The following links show Ginn in action, configured to support gestures for various applications:

Ginn Information

Ginn is a deamon with jinn-like wish-granting capabilities: it gives applications the ability to support a subset of multi-touch gestures without having to integrate uTouch-GEIS or multi-touch-enabled GTK/Qt libraries.

"GINN" is a backronym standing for "Gesture Injector: No-GEIS, No-Toolkits" Smile :-)

Ginn links:

Unity Gestures with Ginn

System gestures in Ubuntu are currently tied to Unity (both in Maverick and Natty). Even if you have the uTouch stack installed and are using the GNOME Desktop, you will not get any response from the gesture recognizer (Grail) if you perform the 3- and 4-finger system gestures.

However! Ginn can address this Smile :-)

If you want to just use the standard GNOME Desktop while also getting support for system gestures, you can use Ginn to assign gestures in the global section to Compiz Shortcuts.

  • Zoom out the virtual desktop (4-tap): 4-fingers-Tap -> Super+E.

      <wish gesture="Tap" fingers="4">
        <action name="action1" when="update">
          <trigger prop="tap time" min="20" max="400"/>
          <key modifier1="Super_L">E</key>
        </action>
      </wish>
  • Bring up all windows (3-pinch): 3-fingers-Pinch -> Super+W

      <wish gesture="Pinch" fingers="3">
        <action name="action4" when="update">
          <trigger prop="radius delta" min="-80" max="-50"/>
          <key modifier1="Super_L">W</key>
        </action>
      </wish>

Demos

The following links show Ginn in action, configured to support gestures for various applications:

  1. Video1

  2. Video2

  3. Video3

  4. Ginn+Inkscape

How to support right-click in Ginn

Note: This needs to get moved into an LP Question ("Answers").

Ginn supports injecting keyboard clicks and mouse buttons.

If you have some problems getting right click to work, you can use this trick:

  1. Configure a new global keyboard shortcut in ubuntu as explained here

  2. Apply a new shortcut executing xdotool to inject the right button : Name: NewCommand ; COMMAND: xdotool click 3 ; SHORTCUT: Put your shortcut here

  3. Add the SHORTCUT you have selected in the wishes file, and associate it to 2-fingers tap for example.

You need xdotool to get this working

Multitouch/Ginn (last edited 2012-06-14 19:16:56 by c-67-170-185-42)