Left-Handed Mouse click in KDE

A place to ask all newbie questions and not get flamed, though you will get beaten down if you post a newbieish question outside of these walls.
Post Reply
shedt
Adept
Posts: 53
Joined: Mon Aug 02, 2004 7:20 pm

Left-Handed Mouse click in KDE

Post 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 !
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

you should be able to do

Code: Select all

xmodmap -e "pointer = 3 2 1"
If you keep an open mind, will your brain fall out?
shedt
Adept
Posts: 53
Joined: Mon Aug 02, 2004 7:20 pm

Post 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 ?
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

put it in a script that get's run when xfree starts I think .xinitrc is the one you need
If you keep an open mind, will your brain fall out?
shedt
Adept
Posts: 53
Joined: Mon Aug 02, 2004 7:20 pm

Post 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.
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

.xinitrc is in your home folder
/root for the root user
/home/gentoox for the gentoox user
If you keep an open mind, will your brain fall out?
shedt
Adept
Posts: 53
Joined: Mon Aug 02, 2004 7:20 pm

Post 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
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

just do

Code: Select all

nano .xinitrc
man is just for reading manuals (not editing text files)
If you keep an open mind, will your brain fall out?
shedt
Adept
Posts: 53
Joined: Mon Aug 02, 2004 7:20 pm

Post 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!!!
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

In linux the 3rd button is usually used for paste
If you keep an open mind, will your brain fall out?
Post Reply