Support for changing this was added to GTK. You can create the file ~/.config/gtk-3.0/settings.ini with these contents:
[Settings] gtk-enable-primary-paste=true Or you can just use gnome-tweak-tool, which exposes this setting as a check box. There is a GNOME bug https://bugzilla.gnome.org/show_bug.cgi?id=665193 for changing the default. ** Package changed: gnome-settings-daemon (Ubuntu) => gtk+3.0 (Ubuntu) ** Changed in: gtk+3.0 (Ubuntu) Status: Triaged => Fix Released ** Bug watch added: GNOME Bug Tracker #665243 https://bugzilla.gnome.org/show_bug.cgi?id=665243 ** Project changed: gnome-settings-daemon => gtk ** Changed in: gtk Importance: Medium => Unknown ** Changed in: gtk Status: Confirmed => Unknown ** Changed in: gtk Remote watch: GNOME Bug Tracker #665193 => GNOME Bug Tracker #665243 ** Bug watch removed: GNOME Bug Tracker #665193 https://bugzilla.gnome.org/show_bug.cgi?id=665193 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gtk+3.0 in Ubuntu. https://bugs.launchpad.net/bugs/735665 Title: Impossible to disable middle-click paste without breaking the middle mouse button Status in GTK+: Unknown Status in X.Org X server: Won't Fix Status in gtk+3.0 package in Ubuntu: Fix Released Bug description: I've found plenty of forum posts from other people complaining about this but I couldn't find an existing but report in Launchpad. It baffles me to find that there is no way to disable the middle-click screen buffer "paste" feature without breaking the middle-click button on the mouse altogether. I'm sure there are lots of people who think it's nifty. However, for me and others, it is just annoying. If I am scrolling in a text editor like Gedit and the middle-click button actually gets pressed, it often pastes a chunk of text in the middle of the document and I don't notice because I scroll right by. This leads to trouble later on. My searching indicates that a common solution to this problem is to re-map the middle-click button to something else (so that it behaves like either the left or right button, or just does nothing), using xinput or by editing Xorg.conf. However, this breaks other applications that use the middle mouse button for other things (opening and closing tabs in Firefox, middle-click scroll). There should be a solution to this problem other than "map the middle- click button to something else" and "get a new mouse that doesn't accidentally click." I don't care if it's setting an option in an obscure text file. To reproduce: - Open Gedit. - Type some text. - Select some text. - Middle-click somewhere in the document. - Selected text is copied to where you middle-clicked. - No (documented) way to disable this behavior without re-mapping the middle-mouse button, breaking other middle-click functionality. ProblemType: Bug DistroRelease: Ubuntu 10.10 Package: ubuntu-desktop 1.207 ProcVersionSignature: Ubuntu 2.6.35-27.48-generic 2.6.35.11 Uname: Linux 2.6.35-27-generic x86_64 Architecture: amd64 Date: Tue Mar 15 15:00:42 2011 InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429) ProcEnviron: LANGUAGE=en_US:en PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ubuntu-meta To manage notifications about this bug go to: https://bugs.launchpad.net/gtk/+bug/735665/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

