l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 2: Social Gathering
Next Installfest:
Sat. Sept. 27, 10am-6pm [Tentative]
Latest News:
Aug. 19: Siafoo slides and photos online
Page last updated:
2005 Sep 30 12:29
Events
 Meetings
 Installfests
 Demos
 Photos
Services
 Library
 LERT
 Jobs
 Documents
Interact
 Mailing Lists
 - Search
 - Archives
 Chat
About Us
 Members
 Projects
 Testimonials
 Call for Speakers
 Why Not MS?
 Finances
 Sponsors

^Home
?Search
?News & RSS
?Calendar
@Contact Us
$Buy Stuff
=Printable


The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] X pointer magic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] X pointer magic



Hi guys, I would like to know if something is possible. Unfortunately, I
don't know where to start looking for the answer. I was hoping you guys
might have clues. :)

I have a Logitech mouse with 6 buttons (MouseMan Dual Optical). Like most
modern mice, it only has two finger-sized buttons on the top, with a
depressable scroll wheel. I hate trying to use that as a middle 'button',
so I'd like to use the thumb-button for pasting.

The catch is I still want the middle button (button 2) to paste, since my
Thinkpad has a lovely middle button built in. Since my current .xmodmaprc
has the line "pointer = 1 2 3 6 4 5", my first thought was to change that
to "pointer = 1 2 3 2 4 5", but that gives errors:

    $ xmodmap -e 'pointer = 1 2 3 2 4 5'
    X Error of failed request:  BadValue (integer parameter out of 
    range for operation)
      Major opcode of failed request:  116 (X_SetPointerMapping)
      Value in failed request:  0x2
      Serial number of failed request:  9
      Current serial number in output stream:  9    

I think the ideal solution would be to tell X to map the paste function to
button 6. That way I wouldn't need to re-modify the mapping when I wanted
to make use of the sixth button in Quake. ;) Any idea how to do that?

-Bryan

-- 
Bryan Richter
System Administrator
-
iRadeon

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

CD Burns Wanted!

LUGOD: Linux Users' Group of Davis
1105 Kennedy Place, Suite 1, Davis, CA 95616
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
California Computer News
Who donated books and ad space.