Home » Questions » Computers [ Ask a new question ]

How to activate the **paste** when pressing both mouse buttons in Ubuntu

How to activate the **paste** when pressing both mouse buttons in Ubuntu

"Usually in linux you can mark text and the point the mouse somewhere and press both buttons simultaneously and it will paste the marked text.
I recently installed the new version of Ubuntu (9.10) and I see this feature is not working.
How do I enable it?"

Asked by: Guest | Views: 277
Total answers/comments: 1
bert [Entry]

"Actually the default behaviour always was to press the third button, i.e. the scroll wheel to paste. Most probably the default setting doesn't include the ""Emulate3Button"" directive anymore, because everybody had a scroll-wheeled mouse for years nowadays :)

What can you do? Search for the ""Emulate 3 buttons"" option in your mouse control panel; alternatively edit /etc/X11/xorg.conf and add the line to the corresponding section like this :

Section ""InputDevice""
Identifier ""Mouse0""
Driver ""mouse""
Option ""Protocol"" ""auto""
Option ""Device"" ""/dev/input/mice""
Option ""ZAxisMapping"" ""4 5 6 7""
Option ""Emulate3Buttons"" ""yes""
EndSection

<rant> Please notice that most current distros don't come with /etc/X11/xorg.conf anymore; the X server automatically sets up itself, with the very annoying consequence that when the default automatic setting doesn't fit your taste, it's a pure PITA to change.</rant>"