Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid options - mousemove #192

Closed
avinashkanaujiya opened this issue Mar 6, 2023 · 2 comments
Closed

Invalid options - mousemove #192

avinashkanaujiya opened this issue Mar 6, 2023 · 2 comments

Comments

@avinashkanaujiya
Copy link

avinashkanaujiya commented Mar 6, 2023

When I am trying to use the ydotool mousemove --absolute -x 100 -y 100, it give this error - mousemove: invalid option -- 'x' mousemove: invalid option -- 'y'

@ClassicOldSong
Copy link
Collaborator

Please upgrade to the latest version and read the help with ydotool --help. You may asking about a very old version.

@yuzhen1024
Copy link

I'm reappearing
version info: ydotool version(or hash): v1.0.4-32-gac76271

ydotool mousemove -x 100 -y 100
ydotool: invalid option -- 'x'
Not a valid option

Usage: ydotool [OPTION] <cmd> <args>
Options:
...
Available commands:
...
ydotool mousemove
Usage: mousemove [OPTION]... [-x <xpos> -y <ypos>] [-- <xpos> <ypos>]
Move mouse pointer or wheel.

Options:
  -w, --wheel                Move mouse wheel relatively
  -a, --absolute             Use absolute position, not applicable to wheel
  -x, --xpos                 X position
  -y, --ypos                 Y position
  -h, --help                 Display this help and exit

You need to disable mouse speed acceleration for correct absolute movement.

Can't use any flag, like -x -y -a...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants