Fedora 24 you can install
gnome-tweak-tool
using the following command:$ sudo dnf install gnome-tweak-tool
Open
gnome-tweak-tool
and go to the "Keyboard and Mouse" tab and disable "Middle-click-Paste".