Jump to content

MX700 side buttons


ralph1976
 Share

Recommended Posts

i tried out nearly everything so far, but i can't get this mouse to work correctly.

all i want is to map my two sides buttons with "back" and "forward" commands for konqueror and use my scroll wheel like it is supposed to be.

 

i'm completely new to mandrake and maybe someone can give me a step by step instruction what to do exactly.

Link to comment
Share on other sites

The mouse wheel should work, start MCC and choose the correct mouse. The sidebuttons are a no go though, I never got the two sidebuttons of my MS Intelli Explorer to work. Eventually I gave up and bought a Logitech Cordless Desktop with a mouse with only two buttons and a wheel.

Edited by D'Espice
Link to comment
Share on other sites

This can work quite easily, follow the instructions on my site.

Ralph, if you're the one who mailed me, could you please post what I replied to you exactly (I can't since I'm at work now -- don't have that message), and indicate which step you don't get?

 

The mx500/700 side buttons do work, and it's not that hard either, if you can follow my instructions.

Edited by aRTee
Link to comment
Share on other sites

@arTee: when i run xmodmap -pp all seven buttons are found.

 

the .imwheelrc is in /home/ralph/ (my username) and another imwhreelrc (without . at the beginning) is in /etc/X11/ - i left that one unchanged.

 

the mouesexmap (file with a shell symbol) is in /home/ralph/.kde/Autostart/

 

however when i start mandrake 9.2 the wheel doesn't scroll. instead up and down (wheel) works as back and forward in konqueror (web) and the side buttons do nothing. in konqueror (filebrowsing) the wheel and thumb buttons manouvers left and right between files.

 

so the buttons actually work, but they don't do what they are supposed to do.

 

my files:

 

.imwheelrc

".*"

None, Down, Alt_L|Left

None, Up, Alt_L|Right

 

mousexmodmap

#!/bin/sh

killall /usr/bin/imwheel

xmodmap -e "pointer = 1 2 3 6 7 4 5"

imwheel -k -b "67"

 

XF86Config-4

Section "InputDevice"

Identifier "Mouse1"

Driver "mouse"

Option "Protocol" "ExplorerPS/2"

Option "Device" "/dev/usbmouse"

Option "ZAxisMapping" "6 7"

Option "Buttons" "7"

EndSection

 

XF86Config

Section "Pointer"

Protocol "IMPS/2"

Device "/dev/usbmouse"

ZAxisMapping 4 5

EndSection

Link to comment
Share on other sites

Looks like you are close...

 

Can you execute and tell the output of the following commands:

ll /home/ralph/.kde/Autostart

 

execute each line of mousexmodmap individually:

killall /usr/bin/imwheel

xmodmap -e "pointer = 1 2 3 6 7 4 5"

imwheel -k -b "67"

(and copy the feedback here)

 

 

I think you may need to take the line

Option "Buttons" "7"

out of your xfconfig, not sure there.. first tell me the result of the commands above..

Link to comment
Share on other sites

[ralph@localhost ralph]$ killall /usr/bin/imwheel

[ralph@localhost ralph]$ xmodmap -e "pointer = 1 2 3 6 7 4 5"

// scrollwheel works now

[ralph@localhost ralph]$ imwheel -k -b "67"

WARNING: imwheel process could not be verified, it may not be running anymore, that's OK!

: No such file or directory

WARNING: imwheel pid file could not be removed.

Perhaps you want the -p option.

Or SUID root the imwheel executable...

: Operation not permitted

ERROR: Couldn't write pid to pid file

Perhaps you want the -p option to avoid this...

Otherwise you may SUID root the imwheel executable.

: Permission denied

[ralph@localhost ralph]$

 

when trying killall /usr/bin/imwheel again:

[ralph@localhost ralph]$ killall /usr/bin/imwheel

/usr/bin/imwheel: Kein Prozess abgebrochen (means "no process killed" or something likewise

[ralph@localhost ralph]$

 

when trying imwheel -k -b "67" as root:

[root@localhost ralph]# imwheel -k -b "67"

WARNING: imwheel process could not be verified, it may not be running anymore, that's OK!

: No such file or directory

INFO: imwheel started (pid=2399)

/root/.imwheelrc: No such file or directory

[root@localhost ralph]#

Edited by ralph1976
Link to comment
Share on other sites

how exactly do i do that? open the console, switch to root with su, killall /usr/lib/imwheel, open new console as ralph do the rest? if thats true, then after xmodmap -e "pointer = 1 2 3 6 7 4 5" the wheel works, but not the buttons. and after imwheel -k -b "67" (as ralph) i get the following output:

 

[root@localhost ralph]# imwheel -k -b "67"

WARNING: imwheel process could not be verified, it may not be running anymore, that's OK!

: No such file or directory

INFO: imwheel started (pid=2627)

/root/.imwheelrc: No such file or directory

[root@localhost ralph]#

 

i hope and i guess it's getting warmer and thanx for patience...

Link to comment
Share on other sites

ok, i still don't know what you exactly mean to become "root" (pleas tell me like talking to a child - maybe that helps), but i figured something else out. in my /root/ i made another .imwheelrc with the modifications. when i then put in your commands everything works fine: scrolling and buttons. but how do i correct things, that i have all the candy from startup?

 

when i do it as user:

[ralph@localhost ralph]$ imwheel -k -b "67"

WARNING: imwheel process could not be verified, it may not be running anymore, that's OK!

: No such file or directory

WARNING: imwheel pid file could not be removed.

Perhaps you want the -p option.

Or SUID root the imwheel executable...

: Operation not permitted

ERROR: Couldn't write pid to pid file

Perhaps you want the -p option to avoid this...

Otherwise you may SUID root the imwheel executable.

: Permission denied

[ralph@localhost ralph]$

 

as user i only get the wheel to work

 

and when i do it as root:

root@localhost ralph]# imwheel -k -b "67"

WARNING: imwheel process could not be verified, it may not be running anymore, that's OK!

: No such file or directory

INFO: imwheel started (pid=3954)

[root@localhost ralph]#

 

as root everything (buttons and wheel work)

Edited by ralph1976
Link to comment
Share on other sites

If you do:

ll /usr/bin/imwheel

do you also get:

-rwxr-xr-x 1 root root 52216 Jul 23 2003 /usr/bin/imwheel*

??

 

can you do, as root:

killall imwheel

and then, as user ralph:

imwheel -k -b "67"

??

 

you may also try :

imwheel -p -k -b "67"

but that's just a wild guess, and I wouldn't know why that would be necessary.

Link to comment
Share on other sites

If you do:

ll /usr/bin/imwheel:

 

[ralph@localhost ralph]$ ll /usr/bin/imwheel

-rwxr-xr-x 1 root root 52216 Jul 23 2003 /usr/bin/imwheel*

[ralph@localhost ralph]$

 

can you do, as root:

killall imwheel

 

[root@localhost ralph]# killall imwheel

[root@localhost ralph]#

 

and then, as user ralph:

imwheel -k -b "67"

 

 

[ralph@localhost ralph]$ imwheel -k -b "67"

WARNING: imwheel process could not be verified, it may not be running anymore, that's OK!

: No such file or directory

WARNING: imwheel pid file could not be removed.

Perhaps you want the -p option.

Or SUID root the imwheel executable...

: Operation not permitted

ERROR: Couldn't write pid to pid file

Perhaps you want the -p option to avoid this...

Otherwise you may SUID root the imwheel executable.

: Permission denied

[ralph@localhost ralph]$

 

you may also try :

imwheel -p -k -b "67"

 

 

[ralph@localhost ralph]$ imwheel -p -k -b "67"

WARNING: imwheel process could not be verified, it may not be running anymore, that's OK!

: No such file or directory

WARNING: imwheel pid file could not be removed.

Perhaps you want the -p option.

Or SUID root the imwheel executable...

: Operation not permitted

WARNING: imwheel is not checking/writing a pid file, BE CAREFUL!

An imwheel may be running already.

Two or more imwheel processes on the same X display,

or simultaneously using a wheel fifo,

will not operate as expected!

INFO: imwheel started (pid=2505)

[ralph@localhost ralph]$

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...