Skip to content

Instantly share code, notes, and snippets.

@MortalHappiness
Last active February 19, 2025 10:21
Show Gist options
  • Select an option

  • Save MortalHappiness/f225427c35d4afe16469fd32240fc635 to your computer and use it in GitHub Desktop.

Select an option

Save MortalHappiness/f225427c35d4afe16469fd32240fc635 to your computer and use it in GitHub Desktop.
Button remapping for Kensington Expert Mouse on Linux Mint using https://github.com/rvaiya/keyd
# Save this file to /etc/keyd/kensington.conf
# Kensington Expert Mouse Default Bindings:
# - bottom left: leftmouse
# - bottom right: rightmouse
# - top left: middlemouse
# - top right: mouse1
# Result:
# - bottom left: leftmouse
# - top left: middlemouse
# - top right: rightmouse
# - bottom right: Left Meta + Tab
# - top left + bottom left: Web browser - go back
# - top left + top right: Web browser - go forward
# - bottom left + bottom right: Web browser - reload page
# - top right + bottom right: no PrtSc
[ids]
# m:<vendor id>:<product id>
# Use `sudo keyd monitor` to get the vendor and product id
# "m" means mice
m:047d:1020
[main]
mouse1 = rightmouse
rightmouse = M-tab
leftmouse+middlemouse = mouse1
middlemouse+mouse1 = mouse2
leftmouse+rightmouse = refresh
mouse1+rightmouse = print
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment