Install packages:
sudo apt-get install xbindkeys xsel xdotool
Create xbindkey configuration file:
# ~/.xbindkeysrc
"echo -n | xsel -n -i; pkill xbindkeys; xdotool click 2; xbindkeys"
b:2 + Release
Set xbindkeys to load on startup:
# ~/.bashrc
xbindkeys -p
Log out, log back in, and you should be all set. If you are impatient, simply run xbindkeys -p
Hey, so it actually does work. I don't no why it didn't work for a while, but after a resets it has been working fine through multiple reboots. So no problem, i don't know what the problem was, but it's gone now.