Touchegg - ArchWiki

# Touchegg

From ArchWiki
Jump to navigation Jump to search

Touchegg is a multitouch gesture program, that runs as a user in the background, recognizes gestures, translates them to more conventional types of events and/or performs custom actions in response to them.

## Installation

Install toucheggAUR package. Alternatively, it is also available at touchegg-gitAUR. A qt5 version can be found at touchegg-qt5AUR

Touchegg comes with its own minimal GUI, but you can also install touchegg-gce-gitAUR - Touchegg-GCE (GUI configuration editor).

## Configuration

The configuration file is found in `~/.config/touchegg/touchegg.conf`.

It is a basic XML file that defines various gestures. Please note that at this time `TAP_AND_HOLD`, `PINCH`, and `ROTATE`, do not appear to work.

The list of triggers can be found here.

The list of actions can be found here.

### Gnome Shell

Very basic so far. This should give you basic functionality. Hopefully we can update this for complete application support.

Edit `~/.config/touchegg/touchegg.conf`, add this:

    <gesture type="DRAG" fingers="1" direction="ALL">
        <action type="DRAG_AND_DROP">BUTTON=1</action>
    </gesture>

and then edit this entry:

    <gesture type="DRAG" fingers="2" direction="ALL">
        <action type="SCROLL">SPEED=7:INVERTED=true</action>
    </gesture>

#### Start on login

1. Hit `alt-f2`;
2. Type `gnome-session-properties`;
3. Hit `add`;
4. In the box labeled "Command" type `touchegg`. Fill in "Name" and "Label" as you choose;
5. Hit `OK`.

Note: `gnome-session-properties` has been removed from `gnome 3.12`. Currently, you can install gnome-session-propertiesAUR from the AUR. See more details in the BBS thread

Alternatively, you can modify your .xprofile:

    ~/.xprofile

    touchegg &

Category:

- Input