Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Up until version 11.04 of ubuntu I could simply add an option to my X InputClass to emulate a third mouse button for my HP TrackPoint like this:

Section "InputClass"
    Identifier "Trackpoint"
    MatchIsPointer "on"
    Option "Emulate3Buttons" "True"
EndSection

I recently updated to the 11.10 to test the new features and I am satisfied so far but the before mentioned method stopped working. I suppose it's related to the x-server update. I also tried adding a udev rule like this:

ENV{x11_options.Emulate3Buttons}="True"

which is also ignored.

Is there anything I missed or something important that has changed?

share|improve this question
    
3  
11.10 Is an Alpha release. You need to report this as a bug if it's not work as expected. – Marco Ceppi Jul 20 '11 at 12:58
1  
I wasn't sure this is a bug. It might just have been another change in the system architecture. Well then. I'm going to report this and see what happens. – lhw Jul 26 '11 at 9:33
    
Doesn't appear to be fixed to me -- it is ignoring my Emulate3Button setting in /usr/share/X11/xorg.conf.d/50-marblemouse.conf that was working fine under 11.04. – user27002 Oct 14 '11 at 3:37
up vote 4 down vote accepted

The bug seems to be fixed now. Without me reporting it.

In 12.04 and 12.10 the settings can be found with dconf-editor or dconf in /org/gnome/settings-daemon/peripherals/mouse/middle-button-enabled and persist over standby and reboot.

share|improve this answer
    
so, no udev-hacking is needed anymore? – pschmidt Aug 3 '11 at 22:55

Middle mouse button emulation can be enabled in Ubuntu 11.10 via a little program called gpointing-device-settings:

sudo aptitude install gpointing-device-settings

(see https://grepmonster.wordpress.com/2011/05/31/ubuntu-11-10-middle-mouse-button-emulation/)

share|improve this answer
1  
The problem with this is that the setting is only remembered until a suspend or a reboot occurs. The bug report I created for this is ignored like everything else concerning gpointing-device-settings bugzilla.gnome.org/… – lhw Jun 18 '12 at 21:44

The third mouse button can be enabled system wide by adding a file /etc/X11/xorg.conf.d/20-3rdbutton.conf with the following content:

Section "InputClass"
   Identifier "middle button"
   MatchIsPointer "on"
   MatchDriver "libinput"
   Option "MiddleEmulation" "on"
EndSection

I use this on my HP nc2400 with Fedora 23, and it works.

The source of this information is the corrected and adapted config of comment 14 of Red Hat’s bug 1227992.

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.