LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-04-2005, 04:55 PM   #1
ZaphyR
Member
 
Registered: Dec 2003
Distribution: Gentoo / Sabayon / Suse
Posts: 245

Rep: Reputation: 32
Question where are my mouse buttons??


trying to set up my MX510 mouse on a SuSE box, and i am using this as a reference.

when i try to run xmodmap, i get this error:

Code:
# xmodmap -e "pointer = 1 2 3 6 7 8 9 10 4 5"
xmodmap:  commandline:0:  bad number of buttons, must have 7 instead of 10
xmodmap:  1 error encountered, aborting.
my xorg.conf looks like this:

Code:
Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "10"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "Logitech MX510"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "9 10"
  Option       "Resolution" "800"
EndSection
i have seen other posts regarding this kind of issues, but with no solution to my problem...

help?!?

Last edited by ZaphyR; 01-05-2005 at 02:48 AM.
 
Old 01-04-2005, 06:16 PM   #2
ZaphyR
Member
 
Registered: Dec 2003
Distribution: Gentoo / Sabayon / Suse
Posts: 245

Original Poster
Rep: Reputation: 32
problem solved by doing this:

Code:
echo -e "pointer = 1 2 3 6 7 8 9 10 4 5\n" > ~/.Xmodmap
 
Old 01-05-2005, 02:47 AM   #3
ZaphyR
Member
 
Registered: Dec 2003
Distribution: Gentoo / Sabayon / Suse
Posts: 245

Original Poster
Rep: Reputation: 32
but when I try to do the same on my Gentoo box, it fails saying

Code:
# xmodmap -e "pointer = 1 2 3 6 7 8 9 10 4 5"
xmodmap:  commandline:0:  bad number of buttons, must have 3 instead of 10
xmodmap:  1 error encountered, aborting.
I also tried

Code:
echo -e "pointer = 1 2 3 6 7 8 9 10 4 5\n" > ~/.Xmodmap
but it did not work on on the Gentoo box as it did on the SuSe box...
 
  


Reply



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
xmodmap chrismiceli Linux - Software 2 06-29-2006 03:18 AM
xmodmap help pitt30 Slackware 11 01-14-2005 04:54 AM
xmodmap does not work Takalah Linux - Hardware 4 11-28-2004 11:24 AM
xmodmap snt Linux - Software 0 11-15-2004 08:59 AM
xmodmap ntilde Mandriva 0 07-27-2004 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:54 PM.

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
Open Source Consulting | Domain Registration