xmacro issues on Debian Stretch

New to Debian (Or Linux in general)? Ask your questions here!

xmacro issues on Debian Stretch

Postby wartisoc » 2017-11-09 17:08

I have a rather simple macro file that looks like this:

Code: Select all
KeyStrPress Menu
KeyStrRelease Menu
KeyStrPress Up
KeyStrRelease Up
KeyStrPress Up
KeyStrRelease Up
KeyStrPress Up
KeyStrRelease Up
KeyStrPress Return
KeyStrRelease Return


Then I added a keyboard shorcut to execute the macro with:

Code: Select all
xmacroplay "$DISPLAY" < "/home/wartisoc/macros/my-macro.xmacro"


I use this to perform some repetitive tasks on my PC and, in Debian Jessie, the macro executed almost instantaneously; however, since I upgraded to Debian Stretch, the macro sometimes 'lags', it takes several seconds to complete. The lag by itself wouldn't be much of a problem but sometimes the macro performs the wrong action; the macro above opens the context menu, moves up three times and then presses Enter, however the macro sometimes moves up one more time than expected, selecting the wrong option in the context menu. Needless to say, this can lead to disaster; selecting the wrong option in the context menu could potentially delete files, modify data, etc..

Any idea why is this happening or how to solve it?.

Thanks.
wartisoc
 
Posts: 39
Joined: 2016-06-28 18:17

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable