Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I would like my computer to press the Esc key every 2 minutes. How can I do this? With an app or shell script or otherwise?
You could use xdotool
while true; do
xdotool key Escape
You can specify a window with the --window option
Required, but never shown
7 years, 6 months ago
2 years ago