Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

An application I use requires me to hold LMB pressed for very long time. This may be uncomfortable. Is there any way, to get mouse button stay pressed event though I have released? A toggle-like behavior would be okay.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I don't think I know of any tools that does exactly that, but you can use xdotool mousedown and xdotool mouseup . So I suppose you'd want a script that sets mousedown or up when run, and then run that script by pressing another mouse button or something.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.