LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-31-2006, 01:09 PM   #1
kittaanna
LQ Newbie
 
Registered: May 2006
Posts: 21

Rep: Reputation: 15
middle mouse button


Hi

There is middle mouse button paste in linux.
When i am executing a program in console if accidentally
press the middle mouse button while scrolling
all the there will some usless input
This annoying when you are debugging a program
Lots time gets wasted

Can you help me disable this? I searched KDE control center
but could not fix this.

thanking everyone

Last edited by kittaanna; 07-31-2006 at 01:14 PM.
 
Old 07-31-2006, 04:03 PM   #2
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Quote:
Originally Posted by kittaanna
Hi

There is middle mouse button paste in linux.
When i am executing a program in console if accidentally
press the middle mouse button while scrolling
all the there will some usless input
This annoying when you are debugging a program
Lots time gets wasted

Can you help me disable this? I searched KDE control center
but could not fix this.

thanking everyone
Hum? I can't say for certain, but mouse controls are set in the xorg.conf (if you use xorg for your X server - or in the corresponding file for XFree86).

If you see, mine is like this (my /etc/X11/xorg.conf)
Quote:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
So from that, you can see that I have various parts, the one concerned is the "InputDevice" for mouse.

I can't say what you will need to change, it's dependant on what kind of mouse you have (and I'm no expert!).

So, I'm guessing that if you happen to have similar to the bottom two lines, they are probably the ones that you should try to find out about changing. This config file (the whole thing, and not just the bit I've quoted above, was done automatically by kubuntu, but before now, I've had to add the option line for ZAxisMapping to make my scroll work - I think that there are different numbers that you can put in.

Sorry, don't know about the last line, but I should think that you can change the "Emulate3Buttons" "true" to "false", thats if you have that line in your config file.

You may find something if you look in /usr/share/doc, or search here at LQ, or failing that, http://www.google.com/linux

Apologies, that I can't be more specific, but maybe that points you in the right direction.

regards

John
 
Old 07-31-2006, 09:46 PM   #3
kittaanna
LQ Newbie
 
Registered: May 2006
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bigjohn
Hum? I can't say for certain, but mouse controls are set in the xorg.conf (if you use xorg for your X server - or in the corresponding file for XFree86).

If you see, mine is like this (my /etc/X11/xorg.conf)

So from that, you can see that I have various parts, the one concerned is the "InputDevice" for mouse.

I can't say what you will need to change, it's dependant on what kind of mouse you have (and I'm no expert!).

So, I'm guessing that if you happen to have similar to the bottom two lines, they are probably the ones that you should try to find out about changing. This config file (the whole thing, and not just the bit I've quoted above, was done automatically by kubuntu, but before now, I've had to add the option line for ZAxisMapping to make my scroll work - I think that there are different numbers that you can put in.

Sorry, don't know about the last line, but I should think that you can change the "Emulate3Buttons" "true" to "false", thats if you have that line in your config file.

You may find something if you look in /usr/share/doc, or search here at LQ, or failing that, http://www.google.com/linux

Apologies, that I can't be more specific, but maybe that points you in the right direction.

regards

John
will try whaerver you said
thank you.
 
Old 08-01-2006, 07:41 AM   #4
kittaanna
LQ Newbie
 
Registered: May 2006
Posts: 21

Original Poster
Rep: Reputation: 15
Talking

Quote:
Originally Posted by kittaanna
will try whatever you said
thank you.
Hi that did not work.
I changed Emulate 3 mouse to false
Anyway thanks for your time.
 
Old 08-01-2006, 03:34 PM   #5
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Quote:
Originally Posted by kittaanna
Hi that did not work.
I changed Emulate 3 mouse to false
Anyway thanks for your time.
kittaanna, as I tried to explain, what I think you are trying to do, might mean that you have to change a config file that can be VERY complicated.

You don't list a distro, so it could be that there is a "distro specific" answer on how to do this i.e. modify a mouse button function. I can't say, only suggest possible directions.

KDE probably only has the facility to change what the cursor looks like. I have just looked at my system settings and thats all that I can see.

For example, this link seems to be from some sort of guide for Redhat Enterprise Linux - and suggests one way of maybe, doing what you are after, but it would seem that it is possible.

You should continue to search both here at LQ, and at googles linux section, for possible answers.

Hope this helps a little

regards

John
 
Old 08-02-2006, 09:29 AM   #6
kittaanna
LQ Newbie
 
Registered: May 2006
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bigjohn
kittaanna, as I tried to explain, what I think you are trying to do, might mean that you have to change a config file that can be VERY complicated.

You don't list a distro, so it could be that there is a "distro specific" answer on how to do this i.e. modify a mouse button function. I can't say, only suggest possible directions.

KDE probably only has the facility to change what the cursor looks like. I have just looked at my system settings and thats all that I can see.

For example, this link seems to be from some sort of guide for Redhat Enterprise Linux - and suggests one way of maybe, doing what you are after, but it would seem that it is possible.

You should continue to search both here at LQ, and at googles linux section, for possible answers.

Hope this helps a little

regards

John
Sorry i forgot to mention about my distro it is Fedora Core 5
Actually I dont think so Fedora Core 5 has mouse configuration program like Redhat Enteprise.
It has let the system handle the mouse

I searched here and "http://www.google.com/linux" i did not get an answer

Hi I have changed my mind i have decided to get adjusted to that because that is faster method of copy paste and also because i did not find a solution to this.

Thank you very much for your time.
Kittaanna
 
Old 08-02-2006, 11:56 AM   #7
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Da nada my friend.

Much success to you.

regards

John
 
Old 08-03-2006, 09:50 AM   #8
kittaanna
LQ Newbie
 
Registered: May 2006
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bigjohn
Da nada my friend.

Much success to you.

regards

John
Thanks for your cooperation
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how should i enable the middle button of 3-button mouse ?? b0nd Slackware 1 07-17-2006 03:46 AM
Middle mouse button behaviour tomservo291 Linux - Software 0 02-17-2005 08:01 AM
remap middle mouse button in x dr_mandarin Linux - Software 3 12-04-2004 05:22 PM
middle mouse button FLOODS Linux - Hardware 5 07-18-2004 06:54 AM
middle mouse button is paste.. but what if i dont have a mid mouse button? kublador Linux - Newbie 4 09-02-2003 09:59 AM


All times are GMT -5. The time now is 03:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration