![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#241 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2006
Beans: 5
|
This may have been covered by one of the other million posts in this thread, but a rehash with slightly different wording can only help for the loveable lost Googlers out there!
To get my Logitech MX510 working from a base Dapper Drake Flight 6 install (with some acceleration tweaks done through UI configuration tools in Gnome), I tried following several over-complicated (for my particular case) guides, then realised I could do away with all their stuff and make only a few small changes. My current /etc/X11/xorg.conf contains an InputDevice section as follows: Code:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "10"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7"
# Option "Emulate3Buttons" "true"
EndSection
Code:
Section "InputDevice"
Option "Buttons" "10"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7"
# Option "Emulate3Buttons" "true"
EndSection
ZAxisMapping specifies which buttons to treat as the scroll-wheel. ButtonMapping specifies, in order of physical buttons, a list of button signals to send. So mine tells it that buttons 4 and 5 'pretend' to be 6 and 7 respectively. My other buttons are working as expected too (auto-scroll buttons are fine, window switch button just acts as another left button), so I presume they're implicitly mapped to their 'natural' signals (i.e. 8 to 8, 9 to 9, 10 to 10). (???) This works fine for me in Firefox, but not other apps such as Nautilus. Does anyone know if this is expected (i.e. that you need to emulate keystrokes like ALT+{LEFT | RIGHT} from mouse clicks anyway)? |
|
|
|
|
|
#242 |
|
A Carafe of Ubuntu
![]() |
Re: Configuring Logitech mice (mx500, etc)
I've asked this before, and i'll try once more.
I'm doing this on a laptop. These instructions work mostly fine for me. Except there are some catches. 1. I cannot get the mouse to work if it is not plugged in when X starts. 2. If the laptop goes into sleep/screensaver mode, it doesnt wake up and work with the mouse anymore (only the touchpad works at this point). 3. I have a dual monitor setup (I plug a monitor into my laptop) and all the functionality in this thread only works on the laptop lcd screen. As soon as my mouse travels to the other monitor, it loses all its power (beyond just normal point and click). I made my synaptic touchpad my corepointer because it was the only way i saw to make X start at all without having the mouse plugged in at all times. please help. Thanks |
|
|
|
|
|
#243 |
|
First Cup of Ubuntu
![]() |
Re: Configuring Logitech mice (mx500, etc)
hi! does anyone know how to get mx700 work in Dapper?
|
|
|
|
|
|
#244 | ||
|
Just Give Me the Beans!
![]() Join Date: Sep 2005
Location: Montreal, Canada
Beans: 72
|
Re: Configuring Logitech mice (mx500, etc)
Quote:
Quote:
Many thanks to you, "PsychoBrat". That was EXACTLY what I was looking for. Works perfectly with my Logitech MX500, on Debian Etch (KDE 3.5.2).
__________________
"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow." -Bruce Lee |
||
|
|
|
|
|
#245 | |
|
Just Give Me the Beans!
![]() |
Re: Configuring Logitech mice (mx500, etc)
Quote:
I'll try the xbindkeys method next but I'm not sure it works with dapper 64.
__________________
Blind luck and good fortune... LanParty ut nF4 Ultra-D - Opteron 165 - EVGA 7600gt - iriver T10 |
|
|
|
|
|
|
#246 |
|
Just Give Me the Beans!
![]() |
Re: Configuring Logitech mice (mx500, etc)
Ok the xbindkeys method does work with 64 bit dapper.
__________________
Blind luck and good fortune... LanParty ut nF4 Ultra-D - Opteron 165 - EVGA 7600gt - iriver T10 |
|
|
|
|
|
#247 | |||
|
Ubuntu Espresso Roast
![]() Join Date: Oct 2004
Location: London
Beans: 42
Ubuntu 9.10 Karmic Koala
|
Re: Configuring Logitech mice (mx500, etc)
I should start reading howto threads backwards!
Thanks PsychoBrat.. This worked fine for my MX518 under Dapper Flight 6: Quote:
Quote:
Quote:
|
|||
|
|
|
|
|
#248 | |
|
A Carafe of Ubuntu
![]() |
Re: Configuring Logitech mice (mx500, etc)
Quote:
Edit: xbindkeys has an optional parameter in which it allows you to specify the displays. for my dual monitor system, i simply have two programs execute (using Startup Programs). I use: Code:
xbindkeys -X :0.0 xbindkeys -X :0.1 Last edited by makhand; May 10th, 2006 at 04:02 PM.. |
|
|
|
|
|
|
#249 |
|
Dipped in Ubuntu
![]() Join Date: Oct 2005
Location: California
Beans: 583
Kubuntu 9.04 Jaunty Jackalope
|
Re: Configuring Logitech mice (mx500, etc)
I got evdev working on Dapper perfectly (requires xmodmap and xbindkeys).
WARNING: This is not a full guide, please refer to post one in this thread for 800dpi resolution, back/forward in nautilus, etc. First I did this to find out the name of my mouse: Code:
cat /proc/bus/input/devices Code:
I: Bus=0010 Vendor=001f Product=0001 Version=0100 N: Name="PC Speaker" P: Phys=isa0061/input0 S: Sysfs=/class/input/input0 H: Handlers=kbd event0 B: EV=40001 B: SND=6 I: Bus=0003 Vendor=046d Product=c025 Version=1800 N: Name="Logitech USB-PS/2 Optical Mouse" P: Phys=usb-0000:00:1d.1-1/input0 S: Sysfs=/class/input/input1 H: Handlers=mouse0 event1 ts0 B: EV=7 B: KEY=ff0000 0 0 0 0 0 0 0 0 B: REL=103 I: Bus=0003 Vendor=049f Product=000e Version=0100 N: Name="Compaq Compaq Internet Keyboard" P: Phys=usb-0000:00:1d.1-2/input0 S: Sysfs=/class/input/input2 H: Handlers=kbd event2 B: EV=120003 B: KEY=10000 7 ff87207a c14057ff febeffdf ffefffff ffffffff fffffffe B: LED=7fff I: Bus=0003 Vendor=049f Product=000e Version=0100 N: Name="Compaq Compaq Internet Keyboard" P: Phys=usb-0000:00:1d.1-2/input1 S: Sysfs=/class/input/input3 H: Handlers=kbd event3 B: EV=3 B: KEY=20000 87a 5000d000 1e0000 0 0 0 Code:
sudo gedit /etc/udev/rules.d/19-local.rules Code:
KERNEL=="event[0-9]*", SYSFS{../name}=="Logitech USB-PS/2 Optical Mouse", NAME="input/mx500"
Code:
Section "InputDevice" Identifier "Configured Mouse" Driver "evdev" Option "CorePointer" Option "Device" "/dev/input/mx500" #this should be that underlined name from 19-local.rules EndSection Code:
pointer = 1 3 2 4 5 8 9 6 7 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 Download this file: http://bg.rifetech.com/click.tgz untar it to ~/click (or wherever you want, just remember the dir, you'll need it in the .xbindkeysrc) then compile it: Code:
cd ~/click make Code:
"~/click/click 4" m:0x0 + b:11 "~/click/click 5" m:0x0 + b:12 Let me know if I made any typos or mistakes. EDIT: I don't think this works in Xgl, I haven't tried, but I doubt it will.
__________________
aka anime4christ (I'm a guy, btw.) My personal boring website ^_^ Jesus has changed your life. Save changes? (Y/N) Last edited by detyabozhye; April 25th, 2006 at 01:06 AM.. |
|
|
|
|
|
#250 | |
|
100% Pure Ubuntu
![]() Join Date: Dec 2005
Beans: 755
Ubuntu 6.06
|
Re: Configuring Logitech mice (mx500, etc)
I ahve a MS INTELLI MOUSE OPTICAL. And my side 2buttons work great in FIREFOX. But I still want them to work in NAUTILUS so I followed the following guide to the letter:
Quote:
This is my XEV output when pressing the side buttons: Code:
ButtonPress event, serial 26, synthetic NO, window 0x3600001,
root 0x4c, subw 0x0, time 3488431120, (86,50), root:(493,393),
state 0x10, button 6, same_screen YES
ButtonRelease event, serial 26, synthetic NO, window 0x3600001,
root 0x4c, subw 0x0, time 3488431272, (86,50), root:(493,393),
state 0x10, button 6, same_screen YES
ButtonPress event, serial 26, synthetic NO, window 0x3600001,
root 0x4c, subw 0x0, time 3488431560, (86,50), root:(493,393),
state 0x10, button 7, same_screen YES
ButtonRelease event, serial 26, synthetic NO, window 0x3600001,
root 0x4c, subw 0x0, time 3488431712, (86,50), root:(493,393),
state 0x10, button 7, same_screen YES
Code:
Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ExplorerPS/2" Option "ZAxisMapping" "4 5" #for IntelliMouse's 7 buttons Option "Buttons" "7" Option "ButtonMapping" "1 2 3 6 7" ps2. In NAUTILUS I checked if ALT_L and ALT_D if they go back and forth and they do
__________________
Notebook Compaq Evo N610c Pentium 4 1,8 * 512MB RAM * 80GB HDD * Radeon 7500 32MB dedicated vRAM. http://folding.extremeoverclocking.c...shrack&t=37766 Last edited by ashrack; April 25th, 2006 at 02:51 PM.. |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|