You are not logged in.
Hi there!
Mouse device is giving me hard time lately, seems to be worn-off... Right button is malfunctioning and it lets itself go after a fraction of a second.
Until I get myself a new mice, I was wandering if there is any way to make right-click toggle, preferably in xbindkeys or something similar.
Thanks in advance for all sugestions!
Offline
Have you tried using the menu key (the one next to right ctrl)?
Offline
Yeah, I know it exists... However, it's not a case.
I'm working with plenty of programs that use hold-and-move right-click (pdf viewers, circuitry design apps, some first person shooter games...) and this functionality would be really, really useful, even with perfectly working mouse pointer.
Offline
You can use xdotool to generate a mouse click, you can use xte to generate a mouse click or mimic pressing a button for a set amount of time, you could perhaps mix those with xbindkeys (it doesn't quite want to work here), but I don't think you can make holding down some key combination be recognized as holding down a button, at least with these tools.
Offline