Linux
Arch
KDE
Xorg
<p>Install xinput:</p>
<pre><code>sudo pacman -S xorg-xinput
</code></pre>
<p>Get the hardware id of the touch pad:</p>
<pre><code>xinput
</code></pre>
<p>Disable the middle mouse button:</p>
<pre><code>xinput set-button-map 17 1 0 3 4 5 6 7 8 9 10 11 12
</code></pre>
<p>If it works, make it permanent on x startup:</p>
<pre><code>echo "xinput set-button-map 17 1 0 3 4 5 6 7 8 9 10 11 12" >> ~/.xsessionrc
</code></pre>