Jump to content

Move mouse by script


Tuxgamer

Recommended Posts

Hi!

first: I'm using Linux and I love keyboard shortcuts. Unfortunately I noticed, moving mouse per script does not work as expected with Synergy.

Steps to reproduce:

  • Move mouse to middle of screen
  • Call 'xdotool mousemove 1 1'
  • Mouse is at top left corner - as expected
  • Move mouse a bit
  • Mouse jumps back to middle of the screen

That's especially annoying since I'm using i3 with multi-monitor setup. I am used to jumping back and forth between monitors with a shortcut. But with synergy mouse does not stay on selected monitor...

Does anyone know a workaround to e.g. somehow tell synergy "this is the new absolute mouse position"?

Thanks in Advance!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...