Ubuntu – How to paste text by pressing the left and right mouse buttons at the same time

12.04mouseshortcut-keys

I am coming from Ubuntu 10. I just recently upgraded to 12.04 LTS.

In 10, I use to be able to cut and paste from Terminal by selecting text, and just pressing my two mouse buttons.

In 12.04, I can't seem to do this. I have to highlight text, then right click to copy, then right click to paste. Or, I can do ctrlshiftc and ctrlshiftv. Both are okay methods, but not as fast as before.

How do I configure Ubuntu to preserve 'old-school' cut and paste?

Best Answer

Clicking the scroll wheel does not work on a two button mouse =)

The feature you are wanting is called "middle button emulation" and is not enabled out of the box as of Ubuntu 11.04 or so (not sure).

IMO easiest method is to install gpointing-device-settings Install gpointing-device-settings

sudo apt-get install gpointing-device-settings

You then 'use wheel emulation'

screeny

There is a longer discussion on this bug report if you wish to manually edit xorg.conf

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/710762