Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 2 down vote accepted

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"

<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>

share|improve this answer

If is using hal to configure itself, you'll need to edit /etc/hal/fdi/policy/11-x11-input-extra.fdi (the actual file name isn't important and so may be different).

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
    	<match key="info.capabilities" contains="input.mouse">
    		<merge key="input.x11_options.Emulate3Buttons" type="string">yes</merge>
share|improve this answer
I hate the weird trend in recent releases to make things less transparent and harder to configure. How does putting X config in this weird four-levels-deep subdirectory with opaque grammar make things better? – CarlF Dec 8 '09 at 15:44
Eh, at least it has support for hotplugging now. (I heard they're going to get rid of hal soon though.) – grawity Dec 8 '09 at 18:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .