xte - Generates fake input using the XTest extension
Contents
Commands
keyk Press and release key k
keydownk
Press key k down
keyupk
Release key k
strstring
Do a bunch of key X events for each char in string
mouseclicki
Click mouse button i
mousemovexy
Move mouse to screen position x, y
mousermovexy
Move mouse relative from current location by x, y
mousedowni
Press mouse button i down
mouseupi
Release mouse button i
sleepx
Sleep x seconds
usleepx
Usleep x microseconds
Description
xte is a program that generates fake input using the XTest extension, more reliable than xse.
Limitations
The str command doesn't support Unicode characters with more than two bytes. Further, character composing
sequences to generate special characters are limited to Multi_key plus two characters. The set of
supported characters depends on the current keyboard layout.
October 3, 2012 XTE(1)
Name
xte - Generates fake input using the XTest extension
Options
A summary of options is included below.
-iid XInput 2.x device to use. List devices with 'xinput list'.
-xdisplay
Send commands to remote X server. Note that some commands may not work correctly unless the
display is on the console, e.g. the display is currently controlled by the keyboard and mouse and
not in the background. This seems to be a limitation of the XTest extension.
--help,-h
Show summary of options.
See Also
pat2ppm(1), patextract(1), png2pat(1), rgb2pat(1), visgrep(1).
Some Useful Keys
These keys are case sensitive.
Home
Left
Up
Right
Down
Page_Up
Page_Down
End
Return
BackSpace
Tab
Escape
Delete
Shift_L
Shift_R
Control_L
Control_R
Meta_L
Meta_R
Alt_L
Alt_R
Multi_key
Super_L
Super_R
Depending on your keyboard layout, the "Windows" key may be one of the Super_ keys or the Meta_ keys.
Synopsis
xte[options]commands...
