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 have a dual monitor configuration in Ubuntu.
What is a bash command which will send my mouse pointer into the other screen (without having to manually move the mouse pointer myself)?
You can install the xdotool utility and then move the mouse to a given screen and x and y position, eg:
xdotool mousemove --screen 1 10 10
If your 2 screens are actually one large virtual screen (xinerama mode) you dont use --screen but give a very large x value.
Required, but never shown