Last active
January 10, 2021 05:47
-
-
Save imabuddha/589ad95db5f9814f5cfbab6111242ae6 to your computer and use it in GitHub Desktop.
Touchegg trackpad gestures config file: /home/pi/.config/touchegg/touchegg.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<touchégg> | |
<settings> | |
<!-- | |
Delay, in milliseconds, since the gesture starts before the animation is displayed. | |
Default: 150ms if this property is not set. | |
Example: Use the MAXIMIZE_RESTORE_WINDOW action. You will notice that no animation is | |
displayed if you complete the action quick enough. This property configures that time. | |
--> | |
<property name="animation_delay">150</property> | |
<!-- | |
Percentage of the animation to be completed to apply the action. | |
Default: 20% if this property is not set. | |
Example: Use the MAXIMIZE_RESTORE_WINDOW action. You will notice that, even if the | |
animation is displayed, the action is not executed if you did not moved your fingers far | |
enough. This property configures the percentage of the animation that must be reached to | |
execute the action. | |
--> | |
<property name="action_execute_threshold">20</property> | |
<!-- | |
Global animation colors can be configured to match your system colors using HEX notation: | |
<color>909090</color> | |
<borderColor>FFFFFF</borderColor> | |
You can also use auto: | |
<property name="color">auto</property> | |
<property name="borderColor">auto</property> | |
Notice that you can override an specific animation color. | |
xcompmgr -C -c -o 0.5 -l -19 -t -10 -r 14 -f -O 0.05 -I 0.05 | |
--> | |
<property name="color">auto</property> | |
<property name="borderColor">auto</property> | |
</settings> | |
<!-- | |
Configuration for every application. | |
--> | |
<application name="All"> | |
<gesture type="SWIPE" fingers="3" direction="UP"> | |
<action type="MAXIMIZE_RESTORE_WINDOW"> | |
<animate>false</animate> | |
</action> | |
</gesture> | |
<gesture type="SWIPE" fingers="3" direction="DOWN"> | |
<action type="MINIMIZE_WINDOW"> | |
<animate>false</animate> | |
</action> | |
</gesture> | |
<gesture type="SWIPE" fingers="3" direction="LEFT"> | |
<action type="SEND_KEYS"> | |
<modifiers>Alt_L</modifiers> | |
<keys>Left</keys> | |
</action> | |
</gesture> | |
<gesture type="SWIPE" fingers="3" direction="RIGHT"> | |
<action type="SEND_KEYS"> | |
<modifiers>Alt_L</modifiers> | |
<keys>Right</keys> | |
</action> | |
</gesture> | |
<gesture type="SWIPE" fingers="4" direction="UP"> | |
<action type="SEND_KEYS"> | |
<keys>F11</keys> | |
</action> | |
</gesture> | |
<gesture type="SWIPE" fingers="4" direction="LEFT"> | |
<action type="CHANGE_DESKTOP"> | |
<direction>auto</direction> | |
<animate>false</animate> | |
<animationPosition>auto</animationPosition> | |
</action> | |
</gesture> | |
<gesture type="SWIPE" fingers="4" direction="RIGHT"> | |
<action type="CHANGE_DESKTOP"> | |
<direction>auto</direction> | |
<animate>false</animate> | |
<animationPosition>auto</animationPosition> | |
</action> | |
</gesture> | |
<gesture type="PINCH" fingers="4" direction="OUT"> | |
<action type="SHOW_DESKTOP"> | |
<animate>false</animate> | |
</action> | |
</gesture> | |
<gesture type="PINCH" fingers="4" direction="IN"> | |
<action type="SHOW_DESKTOP"> | |
<animate>false</animate> | |
</action> | |
</gesture> | |
<!-- Not currently working 2020-12-16 --> | |
<gesture type="PINCH" fingers="5" direction="IN"> | |
<action type="SHOW_DESKTOP"> | |
<animate>false</animate> | |
</action> | |
</gesture> | |
<!-- Not currently working 2020-12-16 --> | |
<gesture type="PINCH" fingers="5" direction="OUT"> | |
<action type="SHOW_DESKTOP"> | |
<animate>false</animate> | |
</action> | |
</gesture> | |
</application> | |
<!-- | |
Configuration for specific applications. | |
--> | |
<!-- removed 10 jan 2021 because it false triggered too often | |
<application name="Google-chrome,Chromium-browser,Firefox"> | |
<gesture type="PINCH" fingers="2" direction="IN"> | |
<action type="SEND_KEYS"> | |
<repeat>false</repeat> | |
<modifiers>Control_L</modifiers> | |
<keys>KP_Subtract</keys> | |
<decreaseKeys>KP_Add</decreaseKeys> | |
</action> | |
</gesture> | |
<gesture type="PINCH" fingers="2" direction="OUT"> | |
<action type="SEND_KEYS"> | |
<repeat>false</repeat> | |
<modifiers>Control_L</modifiers> | |
<keys>KP_Add</keys> | |
<decreaseKeys>KP_Subtract</decreaseKeys> | |
</action> | |
</gesture> | |
</application> | |
--> | |
</touchégg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment