LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-13-2004, 08:22 AM   #1
asklepios
Member
 
Registered: Apr 2003
Distribution: Slackware 10.0
Posts: 46

Rep: Reputation: 15
Fluxbox and left handed mouse.


i currently use Fluxbox 0.9.8.
since i m left handed i want to change the mouse buttons but haven't found any documentation on how to do it. can someone help me please.
thanx for reading.
 
Old 02-13-2004, 09:05 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
I guess this relates to XFree86Config -configfile editing.. so check out this one for a full text: http://www.superant.com/cgi-bin/smalllinux.pl?SmallXFAQ

and here's the shortened text:

when you're running an X session, in terminal run

Code:
xmodmap -e "pointer = 2 1"
if you have a 2-button mouse....if you have a three-button, run instead

Code:
xmodmap -e "pointer = 3 2 1"
if you wish to get it in use in every X-session, create in your homedirectory a file (unless it's already there; then just append) called .Xmodmap and add there this line:

pointer = 2 1

if you have a two-button mouse, and if you have a three-button, then this:

pointer = 3 2 1

and that should do it (perhaps you need to restart X?)

note that if you happen to have a wheel (as many people do these days) or more than three buttons, it's quite unsure how things are done...but you can get a clue from the lines above.
 
Old 02-13-2004, 01:28 PM   #3
asklepios
Member
 
Registered: Apr 2003
Distribution: Slackware 10.0
Posts: 46

Original Poster
Rep: Reputation: 15
b0uncer: thanx for the reply mate but the thing did not work.
when i passed the xmodmap -e "pointer = 2 1"
it says
Code:
xmodmap:  commandline:0:  bad number of buttons, must have 5 instead of 2
xmodmap:  1 error encountered, aborting.
while when i passed that 3 2 1, it said that it must be 5 instead of 3.
then i passed 5 4 3 2 1 and it messed up everything. my primary mouse button was gone and everything was hay wire.
any other ideas?
 
Old 02-13-2004, 01:39 PM   #4
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
with a 3 buttons scroll mouse - it means 5 possible actions!! - something like that would work for left hand...
.
xmodmap -e "pointer = 3 2 1 4 5"
.

regards

slackie
 
Old 02-14-2004, 03:55 AM   #5
asklepios
Member
 
Registered: Apr 2003
Distribution: Slackware 10.0
Posts: 46

Original Poster
Rep: Reputation: 15
wow!!! talk about not thinking straight.
thanx a lot mate.
i shd have guessed that in first place. thanx once again
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
left-handed mouse nogetfx Linux - Hardware 2 07-30-2005 09:59 AM
Left-handed mouse Nighthawk4 Mandriva 9 07-21-2005 05:51 AM
setting up a left handed mouse n_hendrick Linux - Hardware 0 07-24-2004 12:22 AM
switching mouse from right handed to left handed niverson Linux - Hardware 5 03-18-2004 10:32 PM
2.6 kernel and left handed mouse nlfiedler Linux - Hardware 11 03-07-2004 07:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:45 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
Open Source Consulting | Domain Registration