public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Korthrun <korthrun@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Mouse Paste
Date: Sat, 8 Sep 2007 15:46:28 -0700	[thread overview]
Message-ID: <7d20977a0709081546k695315f8ucfd9ac9818d443cb@mail.gmail.com> (raw)

I've done some tweaking of my xorg.conf, .xbindkeysrc and .Xmodmap to
get my logitech mx1000 working. The forums/wiki helped a lot with
this.

Since making these changes I've lost my middleclick to paste
functionality, and pasting from terminal into a "GUI" app doesn't seem
to fly anymore either.

Here's what I've got.
#start xorg.conf snippet
Section "InputDevice"
	Identifier     "MX1000"
	Driver         "evdev"
	Option		"Dev Name" "Logitech USB RECEIVER"
	Option		"Dev Phys" "usb-0000:00:10.0-1/input0"
	Option		"Device" "/dev/input/event0"
	Option		"Buttons" "12"
	Option		"ZAxisMapping" "4 5"
	Option		"Resolution" "800"
EndSection
#end xorg.conf snippet

#start .Xmodmap
pointer = "1 2 3 4 5 6 7 8 9 10 11 12"
#end .Xmodmap

#start .xbindkeysrc
#forward and back bindings for side buttons
"/usr/bin/xvkbd -text "\[Alt_L]\[Left]""
m:0x0 + b:8
"/usr/bin/xvkbd -text "\[Alt_L]\[Right]""
m:0x0 + b:9
#PageUp anf PageDown bindings for cruise control
"/usr/bin/xvkbd -text "\[Page_Up]""
m:0x0 + b:11
"/usr/bin/xvkbd -text "\[Page_Down]""
m:0x0 + b:12
#Bindings for wheel left-right to switch tabs in opera
#and others. Configuration in programm is needed
"/usr/bin/xvkbd -text "\[Control_L]\[Page_Down]""
m:0x0 + b:13
"/usr/bin/xvkbd -text "\[Control_L]\[Page_Up]""
m:0x0 + b:14
"/usr/bin/xvkbd -text "\[Alt_L]\[F5]""
m:0x0 + b:10
#end .xbindkeysrc

So everything works as expected: Left button clicks, right button
"right clicks" horizontal buttons change browser tabs, the browser
forward/back buttons work. The "cruise control" buttons do 'page up'
and 'page down' just fine.

Just no middle click to paste, terminal to gui paste, or middle click
event in xev.
Xev tells me:
left button = 1
right button = 3
up wheel = 4
down wheel = 5
backbutton = 6
forwardbutton = 7
other = 10
up button = 11
down button = 12
horizontalleft = 13
horizontalright = 14

When I press the mouse wheel down (middle button) I get nothing in
xev. Well sometimes. The output on "soemtimes" looks like the same
output as using the "horizonal scroll" keys, but those keys are
pressing the wheel to the left or right, so when I get output I think
I'm just pushing the wheel to the left or right. When I very carefully
push the wheel straight down, I get nothing.

This _did_ work before I changed everything from the basic xmouse
config. Driver was mouse instead of evdev. Is there something with
evdev that needs done to support this?


Any pointers would be greaty appreciated.

Regards.
-- 
gentoo-user@gentoo.org mailing list



             reply	other threads:[~2007-09-08 23:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-08 22:46 Korthrun [this message]
2007-09-09 10:05 ` [gentoo-user] Re: Mouse Paste Alexander Skwar
2007-09-09 21:28 ` [gentoo-user] " Benno Schulenberg
2007-09-10 15:52   ` Korthrun
2007-09-14 17:11     ` Benno Schulenberg
2007-09-21  7:05       ` Joshua Kaprielian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7d20977a0709081546k695315f8ucfd9ac9818d443cb@mail.gmail.com \
    --to=korthrun@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox