aboutsummaryrefslogtreecommitdiff
path: root/accessibility/xdotool/README
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/xdotool/README')
-rw-r--r--accessibility/xdotool/README6
1 files changed, 2 insertions, 4 deletions
diff --git a/accessibility/xdotool/README b/accessibility/xdotool/README
index 3b0086b9553e2..e03508244c6bb 100644
--- a/accessibility/xdotool/README
+++ b/accessibility/xdotool/README
@@ -1,4 +1,4 @@
-xdotool - fake keyboard/mouse input
+xdotool (fake X11 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
@@ -6,6 +6,4 @@ 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
+xdotool search "Mozilla Firefox" windowactivate --sync key --clearmodifiers ctrl+l