Disable Right Click button for user
I am using Redhat 9. How can I disable the right mouse button? I was able to disable it on Redhat 7.3 via some file (can't remember what file it was though). I would like the button to just not do anything when pressed.
Any help is greatly appreciated. Thanks, Jared |
Completely disabling the right mouse button would require either a small change in your kernel's mouse driver or a small change in the hardware (get a one-button mouse or unscrew it and cut one wire). If you mean just not allowing the right mouse button to do anything in your DE, you should post more information about your DE.
P.S. Unless you have old hardware, I suggest upgrading to a more modern distro (than RH9). |
Thanks for the suggestions. I was able to do it by editting /etc/X11/XF86Confg-4 and added some additional options for "Input Device" so it now has the following entry...
Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "PS/2" Option "Device" "/dev/psaux" Option "ZAxisMapping" "1" Option "Buttons" "1" Option "Emulate3Buttons" "no" EndSection |
not working for me,
here is my xorg.conf for mouse Section "InputDevice" Identifier "Synaptics Mouse" Driver "synaptics" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "LeftEdge" "1700" Option "RightEdge" "5300" Option "TapButton1" "1" Option "TopEdge" "1700" Option "BottomEdge" "4200" Option "FingerLow" "25" Option "FingerHigh" "30" Option "MaxTapTime" "180" Option "EmulateMidButtonTime" "75" Option "Buttons" "1" # Option "ButtonMapping" "1 2 1 4 5 6 7 8 9" Option "MaxTapMove" "220" Option "VertScrollDelta" "100" Option "MinSpeed" "0.05" Option "MaxSpeed" "0.12" Option "AccelFactor" "0.0015" Option "SHMConfig" "on" Option "SendCoreEvents" "true" # Option "Repeater" "/dev/ps2mouse" EndSection Thank you. |
It's been awhile since I've looked at this, but I'm thinking you need a ZaxisMapping setting. Here's what my xorg.conf file looks like
Code:
# Xorg configuration created by system-config-display |
Thank you for that will have a look at that.. Between as a quick fix I ended up using
xmodmap -e "pointer = 1 8 9 4 5 6 7 2 3 10" cheers |
All times are GMT -5. The time now is 10:38 AM. |