Disabling middle mouse paste linux?

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
aliencam
Posts: 35
Joined: Sat Dec 15, 2007 3:15 am
Location: Tempe, Arizona
Contact:

Disabling middle mouse paste linux?

#1 Post by aliencam » Sat Apr 26, 2008 3:55 am

I just did a fresh install of ubuntu hardy, and I cannot figure out how I had the middle mouse button working for scroll, but not acting as a paste. This is annoying because if I am scrolling up a document, it pastes whatever I last selected into wherever I begin scrolling from, messing everything up, and often without me able to notice.

I don't believe I had this problem in Gutsy, but I remember having it at one point. I cannot find anywhere that says how to get the scroll working but to get rid of the paste-behavior.

here is my mouse section in xorg.conf so far:

Code: Select all

Section "InputDevice"
	Identifier "Configured Mouse"
	Driver "mouse"
	Option "Protocol" "ExplorerPS/2"
	Option "Device" "/dev/input/mice"
	Option "EmulateWheel" "on"
	Option "EmulateWheelTimeout" "200"
	Option "EmulateWheelButton" "2"
	Option "YAxisMapping" "4 5"
	Option "XAxisMapping" "6 7"
EndSection

aliencam
Posts: 35
Joined: Sat Dec 15, 2007 3:15 am
Location: Tempe, Arizona
Contact:

#2 Post by aliencam » Wed Apr 30, 2008 12:43 am

The issue was actually only occurring in firefox.

I fixed it by changing the about:config value for "middlemouse.paste" to false.

cpascu01
Sophomore Member
Posts: 145
Joined: Sat Nov 04, 2006 12:07 am
Location: Mt. Bethel, PA

#3 Post by cpascu01 » Wed Apr 30, 2008 1:26 am

I got my middle mouse button to scroll by editing the input device in my xorg file. I made it look like this...

Code: Select all

Section "InputDevice"
	Identifier	"Trackpoint"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
	Option		"EmulateWheel"          "true"
	Option		"EmulateWheelButton"    "2"
EndSection
Once I did this, I didn't need to tinker with about:config with Firefox. This lets me scroll with the middle button, but it also allows me to paste stuff in the Terminal.
Thinkpad Z61m | Intel Core Duo 2.0 GHz | 2GB RAM | ATI X1400 | 100GB HD
Previous: Thinkpad A20m

aliencam
Posts: 35
Joined: Sat Dec 15, 2007 3:15 am
Location: Tempe, Arizona
Contact:

#4 Post by aliencam » Wed Apr 30, 2008 2:44 pm

I actually don't want it to paste at all, I just use ctrl-shift-v for paste in terminal, but it was really an issue for me when I was editing config files in gedit.

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 1 guest