You can bind the copy-paste to middle click using xsel
and xvkbd
.
First, install the packages:
sudo apt-get install xsel xvkbd
Now, run the following command:
sh -c 'xsel | xvkbd -xsendevent -file - 2>/dev/null'
You can also bind this to a keyboard shortcut from System Settings > Keyboard > Shortcuts.
More on xsel
:
Taken from www.techrepublic.com:
The xsel tool, copyfree software available via the software management
systems of most open source operating systems, is a simple utility
meant to serve the need to copy text between the CLI environment and
the GUI environment. It effectively acts as a pipeline-like interface
between the CLI and the GUI clipboard.
To learn more about xsel
, either visit the link above or go here.