Ubuntu 18.04. When I click the middle mouse button, it should double click. Thanks.
EDIT: Using Unity desktop.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
OS: Ubuntu 18:04
you can install these packages with
sudo apt install xdotool xbindkeys
Paste the below content
"xdotool click --repeat 2 1" b:2
Save the file and run
now your Middle Click should work as double click.
man xdotool some of the content
click [options] button Send a click, that is, a mousedown followed by mouseup for the given button with a short delay between the two (currently 12ms). Buttons generally map this way: Left mouse is 1, middle is 2, right is 3, wheel up is 4, wheel down is 5. --clearmodifiers Clear modifiers before clicking. See CLEARMODIFIERS below. --repeat REPEAT Specify how many times to click. Default is 1. For a double- click, use '--repeat 2'
Tested on Ubuntu 18.04.3
If you have installed unity like this
sudo apt install unity
then use below content in
"xdotool click --repeat 2 1" b:2 + Release
Tested on Ubuntu 18.04 with Unity session.