5 virt-click - Send mouse click and key press events to virtual machines
9 virt-click --vnc hostname[:display] command [args...]
13 Virt-click can be used to send simulated mouse clicks and key presses
14 to virtual machines, or to any remote VNC or SPICE server. It is a
15 command line tool which does not require Gtk or X11. However the
16 virtual machine must be configured with a graphical console.
20 For the complete list of options, see L</OPTIONS>. For the
21 complete list of commands, see L</COMMANDS> below.
23 virt-click --vnc localhost:1 click 200 200 right
25 Connect directly to VNC port 5901 on the local machine. Simulate a
26 right mouse click at screen coordinates C<(200,200)>.
38 Enable verbose messages for debugging.
44 Display version number and exit.
46 =item B<--vnc hostname>
48 =item B<--vnc hostname:display>
50 Connect directly to a VNC server. The hostname parameter can either
51 be the name of the VNC server (meaning to connect to display 0) or can
52 be C<hostname:display> to connect to a particular display.
54 The port number that we connect to is 5900 + display number.
56 If the server requires authentication, it is queried interactively.
66 =item B<click x y button>
68 Simulate a mouse click at screen coordinates C<(x,y)>.
70 If C<button> is omitted, then the left button is pressed.
72 C<button> can have one of the following values:
82 Left, middle, right mouse buttons.
88 Up and down scroll wheel.
94 Left and right scroll wheel (not widely supported).
98 Buttons 1 through 8 (1 = left, 2 = middle, 3 = right, 4 = up, 5 = down,
99 6 = scroll left, 7 = scroll right, 8 = unused).
108 L<http://libvirt.org/>,
109 L<https://live.gnome.org/gtk-vnc>,
110 L<http://spice-space.org/>.
114 Richard W.M. Jones L<http://people.redhat.com/~rjones/>
118 Copyright (C) 2011 Red Hat Inc.
120 This program is free software; you can redistribute it and/or modify
121 it under the terms of the GNU General Public License as published by
122 the Free Software Foundation; either version 2 of the License, or
123 (at your option) any later version.
125 This program is distributed in the hope that it will be useful,
126 but WITHOUT ANY WARRANTY; without even the implied warranty of
127 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
128 GNU General Public License for more details.
130 You should have received a copy of the GNU General Public License
131 along with this program; if not, write to the Free Software
132 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.