Skip to content

Instantly share code, notes, and snippets.

@sogaiu
Created December 25, 2019 20:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sogaiu/bec78fe1c01e3e6709f5ea7dfeaae2cd to your computer and use it in GitHub Desktop.
Save sogaiu/bec78fe1c01e3e6709f5ea7dfeaae2cd to your computer and use it in GitHub Desktop.
swap the fn2 button with the right mouse button for a elecom deft pro mouse
#! /bin/sh
# from: https://help.ubuntu.com/community/MouseCustomizations#Scroll_Wheel_And_Getting_Buttons_To_Respond
# use the following to see the existing arrangement
#xmodmap -pp
# swap the Fn2 button with the right mouse button
xmodmap -e "pointer = 1 2 11 4 5 6 7 8 9 10 3 12"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment