Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Worked for me, but how do you make the change permanent? Seems I have to run xinput set-button-map for each new Wayland session... Commented Nov 30, 2017 at 5:21
  • 1
    Yes, you need to run it every time. To automate this, you can put this in a script and create a service file, or put this in an init folder that is ran at startup corresponding to your distro (on systemd-based OS that would be /etc/rc.d/init.d/) Commented Dec 1, 2017 at 6:58
  • You can put an option in xconf files: Option "ButtonMapping" "1 2 3 ..." Commented Jul 9, 2018 at 11:29
  • 3
    This only changes the xorg input driver, not any applications that natively use wayland composition, like Gnome Shell or Nautilus Commented Apr 26, 2019 at 19:55
  • This should not be the accepted answer. It does not change the configuration of the Wayland environment. Commented Sep 11, 2020 at 7:24