Gentoo Archives: gentoo-user

From: Korthrun <korthrun@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Mouse Paste
Date: Sat, 08 Sep 2007 23:00:14
Message-Id: 7d20977a0709081546k695315f8ucfd9ac9818d443cb@mail.gmail.com
1 I've done some tweaking of my xorg.conf, .xbindkeysrc and .Xmodmap to
2 get my logitech mx1000 working. The forums/wiki helped a lot with
3 this.
4
5 Since making these changes I've lost my middleclick to paste
6 functionality, and pasting from terminal into a "GUI" app doesn't seem
7 to fly anymore either.
8
9 Here's what I've got.
10 #start xorg.conf snippet
11 Section "InputDevice"
12 Identifier "MX1000"
13 Driver "evdev"
14 Option "Dev Name" "Logitech USB RECEIVER"
15 Option "Dev Phys" "usb-0000:00:10.0-1/input0"
16 Option "Device" "/dev/input/event0"
17 Option "Buttons" "12"
18 Option "ZAxisMapping" "4 5"
19 Option "Resolution" "800"
20 EndSection
21 #end xorg.conf snippet
22
23 #start .Xmodmap
24 pointer = "1 2 3 4 5 6 7 8 9 10 11 12"
25 #end .Xmodmap
26
27 #start .xbindkeysrc
28 #forward and back bindings for side buttons
29 "/usr/bin/xvkbd -text "\[Alt_L]\[Left]""
30 m:0x0 + b:8
31 "/usr/bin/xvkbd -text "\[Alt_L]\[Right]""
32 m:0x0 + b:9
33 #PageUp anf PageDown bindings for cruise control
34 "/usr/bin/xvkbd -text "\[Page_Up]""
35 m:0x0 + b:11
36 "/usr/bin/xvkbd -text "\[Page_Down]""
37 m:0x0 + b:12
38 #Bindings for wheel left-right to switch tabs in opera
39 #and others. Configuration in programm is needed
40 "/usr/bin/xvkbd -text "\[Control_L]\[Page_Down]""
41 m:0x0 + b:13
42 "/usr/bin/xvkbd -text "\[Control_L]\[Page_Up]""
43 m:0x0 + b:14
44 "/usr/bin/xvkbd -text "\[Alt_L]\[F5]""
45 m:0x0 + b:10
46 #end .xbindkeysrc
47
48 So everything works as expected: Left button clicks, right button
49 "right clicks" horizontal buttons change browser tabs, the browser
50 forward/back buttons work. The "cruise control" buttons do 'page up'
51 and 'page down' just fine.
52
53 Just no middle click to paste, terminal to gui paste, or middle click
54 event in xev.
55 Xev tells me:
56 left button = 1
57 right button = 3
58 up wheel = 4
59 down wheel = 5
60 backbutton = 6
61 forwardbutton = 7
62 other = 10
63 up button = 11
64 down button = 12
65 horizontalleft = 13
66 horizontalright = 14
67
68 When I press the mouse wheel down (middle button) I get nothing in
69 xev. Well sometimes. The output on "soemtimes" looks like the same
70 output as using the "horizonal scroll" keys, but those keys are
71 pressing the wheel to the left or right, so when I get output I think
72 I'm just pushing the wheel to the left or right. When I very carefully
73 push the wheel straight down, I get nothing.
74
75 This _did_ work before I changed everything from the basic xmouse
76 config. Driver was mouse instead of evdev. Is there something with
77 evdev that needs done to support this?
78
79
80 Any pointers would be greaty appreciated.
81
82 Regards.
83 --
84 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Mouse Paste Benno Schulenberg <benno.schulenberg@×××××.com>
[gentoo-user] Re: Mouse Paste Alexander Skwar <listen@×××××××××××××××.name>