Page 1 of 1

Left-Handed Mouse click in KDE

Posted: Fri Aug 06, 2004 5:54 am
by shedt
Does anyone know how to change this ?

Its greyed out and I can't check it. my scroll wheel works great, both buttons work fine, but I can't switch the left and right click....

it's not a big deal, but it's annoying !

btw- this is my first post on the forums as far as i can remember from within Gentoox !

yeah !

Posted: Fri Aug 06, 2004 10:09 pm
by nobspangle
you should be able to do

Code: Select all

xmodmap -e "pointer = 3 2 1"

Posted: Sat Aug 07, 2004 5:31 am
by shedt
nobspangle wrote:you should be able to do

Code: Select all

xmodmap -e "pointer = 3 2 1"
thanks for the reply !

but where and how do i do this ? from the terminal ? would I have to do this ever boot ?

Posted: Sat Aug 07, 2004 8:04 am
by nobspangle
put it in a script that get's run when xfree starts I think .xinitrc is the one you need

Posted: Sat Aug 07, 2004 7:14 pm
by shedt
thanks again ! i will look into editing script files and try to find where .xinitrc is.

I'm really really new to this but i am learning. I installed limewire the other night.

Posted: Sun Aug 08, 2004 9:49 am
by nobspangle
.xinitrc is in your home folder
/root for the root user
/home/gentoox for the gentoox user

Posted: Sun Aug 08, 2004 11:09 pm
by shedt
ok, if this is a hidden file do i have too, unhide it ?

i will try editing it tonight like this?
man .xinitrc

or should i just try one of the editors with kde? i will try both hehe

Posted: Mon Aug 09, 2004 7:05 am
by nobspangle
just do

Code: Select all

nano .xinitrc
man is just for reading manuals (not editing text files)

Posted: Wed Aug 11, 2004 5:00 am
by shedt
OK I used kate to edit the file, and I had to use

Code: Select all

xmodmap -e "pointer = 3 7 1 4 5 6 2"
everything works great !

left click is what right click was, and my scroll wheel works.

Its not a biggy, but where can I find out which number maps to which mouse button?

I guess i have to find out which mouse button is which heheh

pressing down on the scroll wheel as a button does nothing now, but that is better then it being my primary click.

i have a two button optical mouse from logitech if anyone was wondering, with the scrollwheel that is like a third button.

many many thanks to nobspangle!!!

Posted: Thu Aug 12, 2004 5:10 pm
by nobspangle
In linux the 3rd button is usually used for paste