Ask Your Question

Emulating 3 buttons with a 2 button mouse on the GNOME desktop

asked 2017-04-05 03:01:33 -0600

I recently bought a Logitech TrackMan Marble that has 4 buttons: Big Left and Big Right configured as button 1 & 2, and Small Left and Small Right configured as Browser back/forward.

I remember X11/ had an Emulate3Buttons configuration option, but I can’t find anything similar for Wayland. I also remember a GSettings value under /org/gnome/settings-daemon/peripherals/mouse, but it’s no longer there (or my memory is failing me).

Is there a way to do it on a Fedora 25 box (standard GNOME desktop with no tweaks).

edit retag flag offensive close merge delete


I'm not sure it's possible in Wayland, yet. libinput seems like the solution we would want -- it provides a method to emulate middle mouse click in both Xorg and Wayland, but is hosted on the Wayland project subdomain... However, there apparently isn't a standard configuration file for libinput in Wayland: "The configurable options depend on the progress of your desktop environment's support for them..." And since I can't find anything about this in GNOME Tweak Tool or dconf editor, I'm thinking it's just not implemented yet.

terrycloth gravatar imageterrycloth ( 2017-04-06 23:57:57 -0600 )edit

1 Answer

Sort by » oldest newest most voted

answered 2017-04-06 23:00:05 -0600

terrycloth gravatar image

updated 2017-04-06 23:21:26 -0600

There's a GNOME Help page which says "If you don't have a middle mouse button, you can press the left and right mouse buttons at the same time to middle-click."

You have any luck with this? It doesn't work for me, but my mouse does have a middle button, so.

edit flag offensive delete link more



Yes, it started working after I upgraded to Fedora 26 Alpha!

GergelyPolonkai gravatar imageGergelyPolonkai ( 2017-04-13 02:57:47 -0600 )edit

Question Tools


Asked: 2017-04-05 03:01:33 -0600

Seen: 610 times

Last updated: Apr 06 '17