Skip to main content

Thread: left+right=middle click also for mouse?


hi there,

when using touchpad, can click left , right button @ same time make middle click, when using mouse, not work. work mouse (since middle button way hard , loud click). there way?

you need add option /etc/x11/xorg.conf:

code:
section "inputdevice"      identifier     "mymouse"      driver         "mouse"      option         "corepointer"      option         "device" "/dev/input/mice"      option         "protocol" "explorerps/2"      option         "emulate3buttons" "true"  endsection
of course, may not have /etc/x11/xorg.conf file.

create one, flip text console via ctrl+alt+f1 , log in.

enter following commands:

code:
sudo /etc/init.d/gdm stop  sudo x -configure  sudo cp xorg.conf.new /etc/x11/xorg.conf  /etc/init.d/gdm start ; exit
you're graphic login. log in.

open terminal window , run
code:
sudo gedit /etc/x11/xorg.conf
add highlighted line mouse config. save file. exit gedit. run command in terminal window:

code:
sudo /etc/init.d/gdm restart
you're graphic login screen. log in. mouse should treat left+right middle-click.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help left+right=middle click also for mouse?


Ubuntu

Comments