ralph1976 Posted February 8, 2004 Report Share Posted February 8, 2004 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. Quote Link to comment Share on other sites More sharing options...
D'Espice Posted February 8, 2004 Report Share Posted February 8, 2004 (edited) 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 February 8, 2004 by D'Espice Quote Link to comment Share on other sites More sharing options...
aRTee Posted February 9, 2004 Report Share Posted February 9, 2004 (edited) 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 February 9, 2004 by aRTee Quote Link to comment Share on other sites More sharing options...
ralph1976 Posted February 9, 2004 Author Report Share Posted February 9, 2004 @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 Quote Link to comment Share on other sites More sharing options...
aRTee Posted February 9, 2004 Report Share Posted February 9, 2004 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.. Quote Link to comment Share on other sites More sharing options...
ralph1976 Posted February 9, 2004 Author Report Share Posted February 9, 2004 (edited) [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 February 9, 2004 by ralph1976 Quote Link to comment Share on other sites More sharing options...
aRTee Posted February 9, 2004 Report Share Posted February 9, 2004 You must run imwheel as user, not root. So kill as root, then start as user 'ralph'. Quote Link to comment Share on other sites More sharing options...
ralph1976 Posted February 9, 2004 Author Report Share Posted February 9, 2004 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... Quote Link to comment Share on other sites More sharing options...
aRTee Posted February 9, 2004 Report Share Posted February 9, 2004 Ok, you're still doing this as root. I can tell from the # sign in the above commands. Do it as user ralph and you're on your way. I really hope your next message will say so. :P Quote Link to comment Share on other sites More sharing options...
ralph1976 Posted February 9, 2004 Author Report Share Posted February 9, 2004 (edited) 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 February 9, 2004 by ralph1976 Quote Link to comment Share on other sites More sharing options...
aRTee Posted February 9, 2004 Report Share Posted February 9, 2004 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. Quote Link to comment Share on other sites More sharing options...
ralph1976 Posted February 9, 2004 Author Report Share Posted February 9, 2004 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]$ Quote Link to comment Share on other sites More sharing options...
aRTee Posted February 10, 2004 Report Share Posted February 10, 2004 Yes, but, does it work now?? Quote Link to comment Share on other sites More sharing options...
ralph1976 Posted February 10, 2004 Author Report Share Posted February 10, 2004 yes it works now. i get those messages i already postet, but everything works fine. ...but not on startup so far... Quote Link to comment Share on other sites More sharing options...
aRTee Posted February 10, 2004 Report Share Posted February 10, 2004 Ok, just add the -p part that made things work, to the file mousexmodmap in your .kde/Autostart then it should work at startup. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.