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       -x display
20              Send commands to remote X server. Note that  some  commands  may
21              not  work  correctly  unless the display is on the console, e.g.
22              the display is currently controlled by the  keyboard  and  mouse
23              and  not in the background. This seems to be a limitation of the
24              XTest extension.
25
26       --help, -h
27              Show summary of options.
28

COMMANDS

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

SOME USEFUL KEYS

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

SEE ALSO

96       pat2ppm(1), patextract(1), png2pat(1), rgb2pat(1), visgrep(1).
97
98

AUTHOR

100       xte was written by Steve Slaven <bpk@hoopajoo.net>.
101
102

LIMITATIONS

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