tldr/pages/linux/xdotool.md

12 lines
223 B
Markdown

# xdotool
> Command line automation for X11.
- Retrieve the X-Windows window ID of the running Firefox window(s):
`xdotool search --onlyvisible --name {{firefox}}`
- Click the right mouse button:
`xdotool click {{3}}`