I have been enjoying round with xbindkeys currently to take full benefit of my mouse buttons and succeded on implementing advanced mouse button combos utilizing guile scripting language supported by xbindkeys, because of the solutions of this query in askubuntu.com: advanced mouse button combos with xbindkeys
Within the earlier hyperlink you discover instance on methods to seize mouse shoulder buttons as first bind after which anticipate a second button to be depressed to set off an motion, if you happen to do not choose a second button however simply merely launch the primary bind button you possibly can program an motion to be triggered as nicely.
Making the identical factor with the 2 major buttons is a bit bit more difficult. In essence is nearly the identical with the distinction that you just lose the unique performance of that button.
For instance, I’ve managed to configure the appropriate click on button as the primary binding however when defining the motion to be triggered when that button is launched (authentic proper click on performance desired) if I name “xdotool click on 3” it creates an infinite loop calling the xbindkey b:Three seize once more. So my resolution on this case was calling the Menu key (“xdotool key Menu”) which gave us a reasonably related performance displaying the context menu in virtually all circumstances (it would not work for instance whenever you open a terminal window to show the context menu).
I used to be attempting to do that identical factor with the left key button (major mouse button) and searched google for a technique to name the occasions triggered by left mouse button by default however evidently it isn’t that straightforward and would require moderately much more programming. Right now I gave up on attempting to make use of left key for binding, since preserving it depressed do different functionalities like dragging and choosing textual content that can intervene with xbindkeys binding.
Apparently sufficient I additionally use a program that catches the left click on lengthy press to show context menu known as mousetweaks (I exploit Peppermint linux and this performance just isn’t out there in system configuration as it’s in ubuntu) however on this means you additionally free the context menu on terminal window (which I exploit quite a bit primarily to repeat and paste textual content since ctrl-c and ctrl-v would not work both).
So I saved considering on methods to let the right-click authentic performance intact. The opposite strategy could be for xbindkeys to have a technique to passthru the primary binding in a means related whenever you name e.Dealt with=False.
Does anybody is aware of if such a means exist?