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

Duplicate commands #6

Open
dragonxtek opened this issue Jun 20, 2018 · 3 comments
Open

Duplicate commands #6

dragonxtek opened this issue Jun 20, 2018 · 3 comments

Comments

@dragonxtek
Copy link

I try to change slides, but commands are duplicate as follows:

COMMAND RECEIVED [left]
['xdotool', 'key', 'Left']
['xdotool', 'key', 'Left']
COMMAND RECEIVED [right]
['xdotool', 'key', 'Right']
['xdotool', 'key', 'Right']

@rellieberman
Copy link

I can confirm this issue
seems like most commands are received twice.
Also can't get right click to work.

but except for the above, works like a charm, thanks!

@Rudis1261
Copy link
Owner

Thanks for the feedback, I haven't used this is so long. I primarily run windows these days. I will see if I can set some time aside to check where this race condition is happening.

@Cxarli
Copy link
Contributor

Cxarli commented Oct 6, 2019

Confirmed on 5.2.11-1-MANJARO. Will try to see what I can do, since I'm still running Linux

Update: The fact that the command is printed double doesn't mean anything here; it's only executed once.

Update 2: It seems the xdotool key Right combo is not the right command for this. Looking for the right one.

Update 3: The right command would be xdotool mousedown 1 for Left and xdotool mousedown 3 for right. Making a PR to fix this.

Update 4: Apparently it is received multiple times. Will fix that as well.

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

4 participants