5

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?

4
  • possible duplicate of There's an issue with an Alpha Release of Ubuntu, what should I do?
    – fossfreedom
    Jul 20, 2011 at 12:25
  • 3
    11.10 Is an Alpha release. You need to report this as a bug if it's not work as expected. Jul 20, 2011 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, 2011 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, 2011 at 3:37

3 Answers 3

5

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.

1
  • so, no udev-hacking is needed anymore?
    – pschmidt
    Aug 3, 2011 at 22:55
2

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/)

1
  • 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, 2012 at 21:44
2

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.

1
  • I don't have Gnome and this worked for me!
    – sba
    Jul 5, 2018 at 19:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .