Left Handed Mouse button swap



Hi all,

My son and I are getting his Kano computer kit up and running today. Once everything was set up, we quickly realized that a dedicated mouse was in order since he’s left-handed and used to using a mouse w/ his left hand. the Pi recognized the Logitech mouse no issues, but I can’t seem to locate a place to swap the primary mouse buttons.

I located the terminal and tried the command:
xmodmap -e “pointer = 3 2 1”
This worked for a minute, then reverted back to standard once an app was launched.

any suggestions would be appreciated as using this Pi for him will be difficult without this.

I’m no linux admin, but I know my way around so I’m ok with solutions that are far beyond a GUI realm.

Thank you!