Page 1 of 1

Touchegg configuration

Posted: 12 June 2015, 3:46
by GiuX
File di configurazione Touchegg: multitouch gesture per linux

Per renderlo funzionante va copiato in /usr/share/touchegg/touchegg.conf (opzionalmente anche in $HOME/.config/touchegg/ ).

Code: Select all

<touchégg>
    
    <settings>
        <property name="composed_gestures_time">0</property>
    </settings>
    

    <application name="All">
        
        <gesture type="TAP" fingers="2" direction="">
            <action type="MOUSE_CLICK">BUTTON=3</action>
        </gesture>
    
        <gesture type="TAP" fingers="3" direction="">
            <action type="MOUSE_CLICK">BUTTON=2</action>
        </gesture>

        <gesture type="TAP" fingers="4" direction="">
            <action type="SEND_KEYS">Control+F10</action>
        </gesture>
        
        <gesture type="TAP" fingers="5" direction="">
            <action type="CLOSE_WINDOW"></action>
        </gesture>
        

        <gesture type="DRAG" fingers="2" direction="ALL">
            <action type="SCROLL">SPEED=7:INVERTED=false</action>
        </gesture>
        
        <gesture type="DRAG" fingers="3" direction="UP">
            <action type="MAXIMIZE_RESTORE_WINDOW"></action>
        </gesture>
        
        <gesture type="DRAG" fingers="3" direction="DOWN">
            <action type="MINIMIZE_WINDOW"></action>
        </gesture>

        
        <gesture type="DRAG" fingers="3" direction="LEFT">
            <action type="MOVE_WINDOW"></action>
        </gesture>
        
        <gesture type="DRAG" fingers="3" direction="RIGHT">
            <action type="MOVE_WINDOW"></action>
        </gesture>

        
        <gesture type="DRAG" fingers="4" direction="UP">
            <action type="CLOSE_WINDOW"></action>
        </gesture>
        
        <gesture type="DRAG" fingers="4" direction="DOWN">
            <action type="SHOW_DESKTOP"></action>
        </gesture>


        <gesture type="PINCH" fingers="3" direction="ALL">
            <action type="RESIZE_WINDOW"></action>
        </gesture>
        
        <gesture type="PINCH" fingers="5" direction="ALL">
            <action type="SEND_KEYS">Alt+F1</action>
        </gesture>

    </application>


    <application name="Okular, Gwenview">

        <gesture type="PINCH" fingers="2" direction="IN">
            <action type="SEND_KEYS">Control+KP_Add</action>
        </gesture>

        <gesture type="PINCH" fingers="2" direction="OUT">
            <action type="SEND_KEYS">Control+KP_Subtract</action>
        </gesture>

        <gesture type="ROTATE" fingers="2" direction="LEFT">
            <action type="SEND_KEYS">Control+l</action>
        </gesture>

        <gesture type="ROTATE" fingers="2" direction="RIGHT">
            <action type="SEND_KEYS">Control+r</action>
        </gesture>

    </application>


    <application name="Chromium-browser, Dolphin">

        <gesture type="DRAG" fingers="2" direction="LEFT">
            <action type="SEND_KEYS">Alt+Left</action>
        </gesture>

        <gesture type="DRAG" fingers="2" direction="RIGHT">
            <action type="SEND_KEYS">Alt+Right</action>
        </gesture>
        
    </application>


</touchégg>

Non funziona il pinch and zoom e la rotazione, spero lo riteniate utile lo stesso ;)

Re: Touchegg configuration

Posted: 13 June 2015, 11:25
by NicCo
Se il tuo suggerimento è necessario, o utile, per la configurazione del programma in oggetto,
io penso che starebbe bene, anzi meglio, anche nell'area delle Guide, per evitare di perdersi
aggiungendo una breve introduzione allo stesso, e cosa si riesce a farci con la nostra distro

Guides & Tutorials
viewforum.php?f=21

potrebbe essere utile a tanti altri, che ne pensi?

---
grazie, NicCo

Re: Touchegg configuration

Posted: 13 June 2015, 12:35
by GiuX
Certo, sarebbe l'ideale ;)

Re: Touchegg configuration

Posted: 13 June 2015, 17:39
by rugyada
Se vuoi fare l'introduzione qui editanto e migliorando il tuo primo post poi ci penso io a spostarlo in Guide.

Re: Touchegg configuration

Posted: 14 June 2015, 17:12
by GiuX
;)

Re: Touchegg configuration

Posted: 14 June 2015, 18:52
by rugyada
;)