Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

share|improve this answer

If X.org 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">
    <device>
    	<match key="info.capabilities" contains="input.mouse">
    		<merge key="input.x11_options.Emulate3Buttons" type="string">yes</merge>
    	</match>
    </device>
</deviceinfo>
share|improve this answer
1  
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.