Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lee-pai-long/19979c5f1b2b4c56ba88de852df7e497 to your computer and use it in GitHub Desktop.
Save lee-pai-long/19979c5f1b2b4c56ba88de852df7e497 to your computer and use it in GitHub Desktop.

[LINUX MINT 17.2] Mouse middleclick paste keybinding

Install xdotool

$ [sudo] apt-get update -qq && \
> [sudo] apt-get install -yqq xdotool

Then add a custom shortcut

System Settings > Keyboard > Shortcuts > Custom Shortcut > Add custom shortcut

Add whatever shortcut combination you want targeging the following command:

xdotool click 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment