-d, -ddevicepath
Path of the dev filesystem device to monitor (like /dev/input/event1).
-g, -gnfingers,gesture,edge,distance,actmode,command
Allows you to bind a gesture wherein nfingers is an integer, gesture is one of
{LR,RL,DU,UD,DLUR,DRUL,URDL,ULDR}, edge is one of * (any), N (none), L (left), R (right), T (top),
B (bottom), TL (top left), TR (top right), BL (bottom left), BR (bottom right) and distance is one
of * (any), S (short), M (medium), L (large), actmode is R (release) for normal mode and P
(pressed) for pressed mode (but this field may be omitted entirely for backward compatibility),
command is the shell command to be executed.
The -g option can be used multiple times to bind multiple gestures.
-m, -mtimeoutms
Number of milliseconds gestures must be performed within to be registered. After the timeoutms
value; the gesture won't be registered.
-o, -oorientation
Number of 90-degree rotations to translate gestures by. Can be set to 0-3. For example using 1; a
L-R gesture would become a U-D gesture. Meant to be used for screen-rotation.
-r, -rdegreesofleniency
Number of degrees offset each 45-degree interval may still be recognized within. Maximum value is
45. Default value is 15. E.g. U-D is a 180 degree gesture but with 15 degrees of leniency will be
recognized between 165-195 degrees.
-t, -tdistancethreshold
Threshold in libinput units (pixels) after which a gesture registers. Defaults to 125.
-T, -Tdistancethreshold_pressed
Threshold in libinput units (pixels) after which a gesture registers when fingers are not lifted.
Defaults to 60.
-w, -wscrenwidth
Allows you to specify the width of the screen area to be used for edge-based gestures. Should be
used in conjunction with -h. If unset, and either the DISPLAY or WAYLAND_DISPLAY env var is set,
X/Wayland dynamic screen geometry detection will be used instead.
-h, -hscreenheight
Allows you to specify the height of the screen area to be used for edge-based gestures. Should be
used in conjunction with -w. If unset, and either the DISPLAY or WAYLAND_DISPLAY env var is set,
X/Wayland dynamic screen geometry detection will be used instead.
-v Enables verbose mode which prints debugging messages.