I am about to switch from Windows to Ubuntu. Since my mouse keeps doing multiple clicks each time I press the middle mouse button, I used AutoHotkey
under Windows to add a delay after each click. This worked fine. Now under Ubuntu I want to use AutoKey
to do the same. Autokey
uses Python for its scripts though.
Here is the AutoHotkey
script:
MButton::
If (A_TimeSincePriorHotkey < 200)
Return
Send {MButton}
Return