With Ubuntu 17 and in XFCE the middle mouse button copy paste did not work at all.
To enable the middle mouse button paste function edit the xinput.
a) Query your device:
Identify your mouse. With me it was device number 10.
xinput list-props 10
Gives me the settings for the mouse.
c) I need to change the value for "libinput Middle Emulation Enabled (294):" and I need to do it as root:
sudo xinput set-prop 10 "libinput Middle Emulation Enabled" 1
d) Check if the value changed to 1:
xinput list-props 10
Yes, it works: "libinput Middle Emulation Enabled (294): 1"
To make it persistent, add a line in
In my case it just looks the same like before:
xinput set-prop 10 libinput Middle Emulation Enabled 1
That makes it effective from start on.
What is behind it: https://wiki.ubuntu.com/X/Config/Input
I strongly disagree that Ubuntu and Gnome decided to disable the standard Unix Middle Mouse paste. Even in XFCE Ubuntu 17 it is devastated. May the managers behind this decision find a soon and painful end. You make my life hard.
Many, many thanks to Gilles (https://unix.stackexchange.com/users/885/gilles) who found the solution!!!
I had the same issues using Ubuntu 16, 14.10 and earlier:
Unix style copy paste in the terminal not working.
Disappointing default settings.
However, here is a solution (partly a wrap up of other peoples great work):
2) To fix the terminal issue I successfully put the following lines into my xorg.conf:
(see if /etc/X11/xorg.conf is suitable for you. May be different for Lubuntu etc.)
Identifier "middle button emulation class"
Option "Emulate3Buttons" "on"
1) The very anoying malfunction of a missing 3rd mouse button (touch pad, Marble Mouse) can actually be fixed with the
Just install using CLI with
apt-get install gpointing-device-settings
. Then invoke gpointing-device-settings to get the gui window.
Remark: There is an unfixed bug in newer Ubuntus that wipes out your settings when rebooting. You may put gpointing-device-settings in auto-start but still need to prompt then. I am not aware of any proper config solution.
Probably some steps need a sudo or root access. I assume you know.
However, now I can use the unixish copy paste by mark and middle mouse button. At least in terminal.
And for the Marble Mouse there is a separate article with a lot of config details.