LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-16-2004, 07:00 PM   #1
CluelessSteve
LQ Newbie
 
Registered: Dec 2004
Distribution: Mandrake 10.1 official + KDE 3.2
Posts: 25

Rep: Reputation: 15
Left-handed and lost (mouse issue)


I have seriously tried to solve this issue myself, but I'm very new to Linux and the solution is not coming to me.

I am using Mandrake 10.1 with the KDE 3.2 desktop. I have a very serious need to use a left-handed mouse, i.e., the main button is the right button.

I can find no way to configure the mouse to be left-handed. The system/configure menu, while it shows a window for various mouse adjustments, has the "Left-handed" option greyed out and unavailable. I have tried using the command xmodmap -e "pointer = 321" command both at the root menu and at ~/etc/X11, as I have seen suggested in a few places. It returns an error.

Is mouse button remapping possible to do in the KDE environment, or do I have to switch to GNOME? If it is possible, how is it done? If not, how can I switch to GNOME now that I've downloaded and installed KDE?

Thanks for any help! This is my first day with Linux, so sorry if this is a very "newbie" question.
 
Old 12-16-2004, 07:02 PM   #2
ror
Member
 
Registered: May 2004
Distribution: Ubuntu
Posts: 583

Rep: Reputation: 33
What error does it return?

If you have more buttons than 3, just swap buttons 1 and 3.
 
Old 12-16-2004, 07:21 PM   #3
CluelessSteve
LQ Newbie
 
Registered: Dec 2004
Distribution: Mandrake 10.1 official + KDE 3.2
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks for answering, ROR.

The error the xmodmap command returns is: "bad value 3216745 given for numbers list"

The current mapping of my buttons under the heading "button code" obtained with the xmodmap -pp command is 1236745, and the syntax I am using is to switch 1 and 3, as suggested (xmodmap -e "pointer = 3216745")
 
Old 12-16-2004, 07:36 PM   #4
ror
Member
 
Registered: May 2004
Distribution: Ubuntu
Posts: 583

Rep: Reputation: 33
you'll need spacers between the numbers
 
Old 12-16-2004, 07:45 PM   #5
CluelessSteve
LQ Newbie
 
Registered: Dec 2004
Distribution: Mandrake 10.1 official + KDE 3.2
Posts: 25

Original Poster
Rep: Reputation: 15
Woo-hoo! Thank you very, very much! It never occured to me that spaces would be significant.

Now on to my next project--creating a start-up script so this happens automatically on loading. I want to try myself first, but I'll post back if I have any questions.
 
Old 12-16-2004, 08:42 PM   #6
CluelessSteve
LQ Newbie
 
Registered: Dec 2004
Distribution: Mandrake 10.1 official + KDE 3.2
Posts: 25

Original Poster
Rep: Reputation: 15
OK, I wrote a script, saved it to the /.kde/Autostart file, and ... IT WORKS! I have a left-handed mouse on startup, and the pain along the length of my arm from using a "backwards" mouse has dissapeared.

Thanks, ROR, for putting me on the right track.
 
Old 12-16-2004, 08:57 PM   #7
ror
Member
 
Registered: May 2004
Distribution: Ubuntu
Posts: 583

Rep: Reputation: 33
If you want that permanent for any window manager you can shove it in ~/.xinitrc or ~/.xsession (I think it depends whether you get to X from startx or from going to init 3)
 
Old 12-16-2004, 09:02 PM   #8
CluelessSteve
LQ Newbie
 
Registered: Dec 2004
Distribution: Mandrake 10.1 official + KDE 3.2
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks! I will try that.
 
Old 12-16-2004, 11:44 PM   #9
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
make sure you append a & to it so your X session doesnt terminate there when you type startx
 
Old 12-17-2004, 09:32 AM   #10
CluelessSteve
LQ Newbie
 
Registered: Dec 2004
Distribution: Mandrake 10.1 official + KDE 3.2
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks, Scuzzman!
 
  


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
left-handed mouse nogetfx Linux - Hardware 2 07-30-2005 08:59 AM
Left-handed mouse Nighthawk4 Mandriva 9 07-21-2005 04:51 AM
switching mouse from right handed to left handed niverson Linux - Hardware 5 03-18-2004 09:32 PM
2.6 kernel and left handed mouse nlfiedler Linux - Hardware 11 03-07-2004 06:54 PM
Fluxbox and left handed mouse. asklepios Linux - General 4 02-14-2004 02:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:10 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