7 button mouse

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read this

7 button mouse

Postby haveanotherpuff on Thu Apr 26, 2007 3:41 pm

I have a seven button mouse,I have all them working properly except button 2 and 3 are reversed,button 2 instead of being the right click is now the scroll wheel click and vice versa,the wheel scroll as it should but the wheel click is acting as the right click should.

It is very irratating.

I have installed imwheel and edited zorg..conf like this,which I found in other post,but still no go::

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "false"
Option "ButtonMapping" "1 2 3 6 7"
EndSection
User avatar
haveanotherpuff
Level 1
Level 1
 
Posts: 17
Joined: Sun Apr 22, 2007 5:04 pm
Location: Canada

Linux Mint is funded by ads and donations.
 

Postby telic on Thu Apr 26, 2007 4:04 pm

Try changing your ButtonMapping option to this...
Code: Select all
Option "ButtonMapping" "1 3 2 6 7"

Close all apps and restart your X server (Ctrl-Alt-Backspace).

Any difference with the mouse buttons then?

------
telic
Level 3
Level 3
 
Posts: 188
Joined: Thu Mar 22, 2007 7:48 am

Postby haveanotherpuff on Thu Apr 26, 2007 4:13 pm

I was trying something i saw in Google and now i have no x,and cannot remember enough cli to even get to the xii folder and edit the xorg.conf
.looks like i will re-install,or do more googling,lol,thanks for tip,will try it soon as possible.
User avatar
haveanotherpuff
Level 1
Level 1
 
Posts: 17
Joined: Sun Apr 22, 2007 5:04 pm
Location: Canada

Postby scorp123 on Thu Apr 26, 2007 4:34 pm

haveanotherpuff wrote:and cannot remember enough cli
Login on the text terminal, and then type this command:

Code: Select all
sudo dpkg-reconfigure xserver-xorg


Hope this helps ... :?
User avatar
scorp123
Level 8
Level 8
 
Posts: 2287
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Postby haveanotherpuff on Thu Apr 26, 2007 4:41 pm

Thank you I just found something like that but for xfree was just going to ask what you gave,was also thinking about just using the live cd to see if i could edit it there but will try this first. thanks.
User avatar
haveanotherpuff
Level 1
Level 1
 
Posts: 17
Joined: Sun Apr 22, 2007 5:04 pm
Location: Canada

Postby haveanotherpuff on Thu Apr 26, 2007 6:48 pm

Option "ButtonMapping" "1 3 2 6 7"


Still the same buttons are reversed.

dpkg thing worked great though.Thanks

any other ideas out there to fix this?
User avatar
haveanotherpuff
Level 1
Level 1
 
Posts: 17
Joined: Sun Apr 22, 2007 5:04 pm
Location: Canada

xev

Postby haveanotherpuff on Thu Apr 26, 2007 7:49 pm

Did a xev:
Button 3 is wheel click:but acts as right click
Button 2 is right click:is right click but acts as wheel click



ButtonPress event, serial 28, synthetic NO, window 0x3000001,
root 0x4d, subw 0x3000002, time 809964635, (39,36), root:(891,261),
state 0x0, button 3, same_screen YES

EnterNotify event, serial 28, synthetic NO, window 0x3000001,
root 0x4d, subw 0x0, time 809964635, (39,36), root:(891,261),
mode NotifyGrab, detail NotifyInferior, same_screen YES,
focus YES, state 1024

KeymapNotify event, serial 28, synthetic NO, window 0x0,
keys: 77 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

ButtonRelease event, serial 28, synthetic NO, window 0x3000001,
root 0x4d, subw 0x3000002, time 809964889, (39,36), root:(891,261),
state 0x400, button 3, same_screen YES

LeaveNotify event, serial 28, synthetic NO, window 0x3000001,
root 0x4d, subw 0x0, time 809964889, (39,36), root:(891,261),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 0

ButtonPress event, serial 28, synthetic NO, window 0x3000001,
root 0x4d, subw 0x3000002, time 809991744, (39,36), root:(891,261),
state 0x0, button 2, same_screen YES

EnterNotify event, serial 28, synthetic NO, window 0x3000001,
root 0x4d, subw 0x0, time 809991744, (39,36), root:(891,261),
mode NotifyGrab, detail NotifyInferior, same_screen YES,
focus YES, state 512

KeymapNotify event, serial 28, synthetic NO, window 0x0,
keys: 77 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

ButtonRelease event, serial 28, synthetic NO, window 0x3000001,
root 0x4d, subw 0x3000002, time 809991978, (39,36), root:(891,261),
state 0x200, button 2, same_screen YES

LeaveNotify event, serial 28, synthetic NO, window 0x3000001,
root 0x4d, subw 0x0, time 809991978, (39,36), root:(891,261),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 0
User avatar
haveanotherpuff
Level 1
Level 1
 
Posts: 17
Joined: Sun Apr 22, 2007 5:04 pm
Location: Canada

Postby haveanotherpuff on Thu Apr 26, 2007 9:18 pm

This somehow fixed it,only problem is is that when I rebooted the only buttons that worked were the right.left.and wheel,button,side buttons stopped.

echo -e "pointer = 1 2 3 6 7 8 9 10 11 12 4 5\n" > ~/.Xmodmap

echo -e "pointer = 1 3 2 4 5 8 9 6 7\n" > ~/.Xmodmap

xmodmap -e "pointer = 1 3 2 4 5 6 7"
User avatar
haveanotherpuff
Level 1
Level 1
 
Posts: 17
Joined: Sun Apr 22, 2007 5:04 pm
Location: Canada

Postby haveanotherpuff on Fri Apr 27, 2007 11:49 am

I do not know what or why but all buttons are working this morning after a reboot,hopefully will stay working properly.
Thanks for everything.
User avatar
haveanotherpuff
Level 1
Level 1
 
Posts: 17
Joined: Sun Apr 22, 2007 5:04 pm
Location: Canada

Linux Mint is funded by ads and donations.
 

Return to Other topics

Who is online

Users browsing this forum: No registered users and 7 guests