~geb/dotool#3: 
mousemove support --absolute like ydotood

Options: --absolute Use absolute position

       Example: to move the cursor to absolute coordinates (100,100):
           ydotool mousemove --absolute 100 100
Status
RESOLVED CLOSED
Submitter
~jixiuf
Assigned to
No-one
Submitted
1 year, 1 month ago
Updated
1 year, 1 month ago
Labels
No labels applied.

~geb REPORTED CLOSED 1 year, 1 month ago

This is already implemented, see the mouseto action. The X and Y are percentages, so for the center of the screen you'd use:

echo mouseto 0.5 0.5 | dotool

iirc ydotool just whips a relative pointer device into a corner before trying to position it (which gets it extra wrong if there's mouse acceleration) and hence has pretty arbitrary units.

Register here or Log in to comment, or comment via email.