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 » Fri Aug 06, 2004 5:54 am

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 !

User avatar
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle » Fri Aug 06, 2004 10:09 pm

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 » Sat Aug 07, 2004 5:31 am

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 ?

User avatar
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle » Sat Aug 07, 2004 8:04 am

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 » Sat Aug 07, 2004 7:14 pm

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.

User avatar
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle » Sun Aug 08, 2004 9:49 am

.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 » Sun Aug 08, 2004 11:09 pm

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

User avatar
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle » Mon Aug 09, 2004 7:05 am

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 » Wed Aug 11, 2004 5:00 am

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!!!

User avatar
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle » Thu Aug 12, 2004 5:10 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests