blob: a587318f8416d50ecddce1af3d6fc11fab15f60e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
xdotool - fake keyboard/mouse input
This tool lets you programatically (or manually) simulate keyboard input
and mouse activity, move and resize windows, etc. It does this using
X11's XTEST extension and other Xlib functions.
Example: focus the firefox url bar
WID=`xdotool search "Mozilla Firefox" | head -1`
xdotool windowfocus $WID
xdotool key ctrl+l
|