1XTE(1)                      General Commands Manual                     XTE(1)
2
3
4

NAME

6       xte - Generates fake input using the XTest extension
7

SYNOPSIS

9       xte [options] commands...
10

DESCRIPTION

12       xte  is  a program that generates fake input using the XTest extension,
13       more reliable than xse.
14
15

OPTIONS

17       A summary of options is included below.
18
19       -i id  XInput 2.x device to use. List devices with 'xinput list'.
20
21       -x display
22              Send commands to remote X server. Note that  some  commands  may
23              not  work  correctly  unless the display is on the console, e.g.
24              the display is currently controlled by the  keyboard  and  mouse
25              and  not in the background. This seems to be a limitation of the
26              XTest extension.
27
28       --help, -h
29              Show summary of options.
30

COMMANDS

32       key k  Press and release key k
33
34       keydown  k
35              Press key k down
36
37       keyup k
38              Release key k
39
40       str string
41              Do a bunch of key X events for each char in string
42
43       mouseclick i
44              Click mouse button i
45
46       mousemove x y
47              Move mouse to screen position x, y
48
49       mousermove x y
50              Move mouse relative from current location by x, y
51
52       mousedown i
53              Press mouse button i down
54
55       mouseup i
56              Release mouse button i
57
58       sleep x
59              Sleep x seconds
60
61       usleep x
62              Usleep x microseconds
63
64

SOME USEFUL KEYS

66       These keys are case sensitive.
67
68       Home
69       Left
70       Up
71       Right
72       Down
73       Page_Up
74       Page_Down
75       End
76       Return
77       BackSpace
78       Tab
79       Escape
80       Delete
81       Shift_L
82       Shift_R
83       Control_L
84       Control_R
85       Meta_L
86       Meta_R
87       Alt_L
88       Alt_R
89       Multi_key
90       Super_L
91       Super_R
92
93       Depending on your keyboard layout, the "Windows" key may be one of  the
94       Super_ keys or the Meta_ keys.
95
96

SEE ALSO

98       pat2ppm(1), patextract(1), png2pat(1), rgb2pat(1), visgrep(1).
99
100

AUTHOR

102       xte was written by Steve Slaven <bpk@hoopajoo.net>.
103
104

LIMITATIONS

106       The  str  command doesn't support Unicode characters with more than two
107       bytes. Further, character composing sequences to generate special char‐
108       actes  are  limited  to  Multi_key plus two characters. The set of sup‐
109       ported characters depends on the current keyboard layout.
110
111
112
113
114                                October 3, 2012                         XTE(1)
Impressum