Doh... Amazinf the stupid things you miss that should be obvious. Thanks.
Is there a good page with details on hwo to configure the .imwheelrc file? I haven't been able to figure it all out with the man page. I wanted to bind the small thumb button to F5 (refresh) rather than forward. Wound up having to do imwheel -b "4567" and calling the side buttons "Left" and "Right" in my .imwheelrc file. Very odd... there are a couple of other tweaks I would like to make though. For example, I would like to bind the wheel button to be a double-click that simply opens in the same window rather than opening in a new window. Can this be done in imwheel or should I look elsewhere? From reading the man page, it doesn't appear that I can. |
Quote:
|
Ack and double Ack
Redhat Linux 8.0
MS Intellimouse Explorer XF86Config : Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/input/mice" Option "Buttons" "7" Option "ZAxisMapping" "6 7" EndSection .xinitrc : #!/bin/bash xmodmap -e "pointer = 1 2 3 6 7 4 5" imwheel -k -b "67" .imwheelrc : ".*" None, Up, Alt_L|Left None, Down, Alt_L|Right At the moment my 2 side buttons work correctly in web browsers, yet my wheel buttons do not scroll. The output from xev... Mouse Wheel Up returns as Left (not working right) Mouse Wheel Down returns as Right (not working right) Mouse Wheel Button returns as nothing (can't tell what it does) Thumb Button 1 (closest to you) returns as Alt_L (works perfectly) Thumb Button 2 (farthest away) returns as Alt_L (works perfectly) |
Try doing the xmodmap -e "pointer = 1 2 3 6 7 4 5" command manually.
|
I got it to work by manually typing the following
imwheel -k -b "67" Guess I should have checked to see if imwheel was actually running :D |
any info? I seem to have the same problem :(
Hi all,
Any insight on the following? I seem to have the same problem with mine :( Thanks, auslander Quote:
|
G'day auslander, welcome to LQ.
Post the pointer section of your XF86Config(-4) for us to look at. |
Ahhh yes, that would have helped :)
I'm using SuSE 8.1 Pro btw and my X is 4.2 Here's the snippet from /etc/X11/XFree86Config: Quote:
Quote:
Quote:
Thanks again! auslander |
tex: command not found
Hi,
I'm getting the following error when doing make. Any help would be appreciated. Thanks. [root@localhost imwheel-1.0.0pre4]# make make all-recursive make[1]: Entering directory `/home/mario/imwheel-1.0.0pre4' Making all in jax make[2]: Entering directory `/home/mario/imwheel-1.0.0pre4/jax' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/mario/imwheel-1.0.0pre4/jax' Making all in gpm-1.19.3 make[2]: Entering directory `/home/mario/imwheel-1.0.0pre4/gpm-1.19.3' make[3]: Entering directory `/home/mario/imwheel-1.0.0pre4/gpm-1.19.3/doc' sed -f /home/mario/imwheel-1.0.0pre4/gpm-1.19.3/doc/infofilter doc.gpm > gpm.texinfo chmod 400 gpm.texinfo touch gpm.oo if test "x`ls gpm.?? gpm.aux 2>/dev/null`" != "x"; then \ for i in `ls gpm.?? gpm.aux 2>/dev/null`; do \ cp $i $i~; \ done; \ fi tex gpm.texinfo make[3]: tex: Command not found make[3]: *** [gpm.dvi] Error 127 rm gpm.texinfo make[3]: Leaving directory `/home/mario/imwheel-1.0.0pre4/gpm-1.19.3/doc' make[2]: *** [do-all] Error 1 make[2]: Leaving directory `/home/mario/imwheel-1.0.0pre4/gpm-1.19.3' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mario/imwheel-1.0.0pre4' make: *** [all] Error 2 |
Install LaTeX, it should be on your distro CD(s) somewhere.
|
Hi,
I have a script that executes when i login, like this #!/bin/sh xmodmap -e "pointer = 1 2 3 6 7 4 5" imwheel -k -b "67" If i login under a non-root user, the wheel works, but the side buttons do not, until i su to root and run the command imwheel -k -b "67" How can i make the side buttons work when i login as a non-root user? Thanks a lot. |
Where is the script located?
You want it to run when you start the x server, and you want to have the .imwheelrc installed to your $HOME directory. |
I don't know where it is. I set it up in RH 8 by going to Menu -> Extras -> Preferences -> Sessions -> Startup programs.
It is being read because if I remove it, then the wheel doesn't work. The problem is that without being root, the command imwheel -k -b "67" seems to fail. .imwheelrc is in my home directory. |
Try "chmod 755 /PATH-TO/imwheel".
|
I had the same issues with premissions for imwheel, worked fine for root but did nada for user. I chmod'd the hell outa everything i could think of... still nothing. No clue why it did that but if you add the -p option in my script it works just fine.
#!/bin/sh xmodmap -e "pointer = 1 2 3 6 7 4 5" imwheel -k -p -b "67" |
the -p option did it, thanks trn.
thanks for the help too, Aussie |
.xinitrc won't run
I'm so close, but my .xinitrc won't run on startup. After statup I can run the two commands and the buttons and wheel all work fine.
I've got a new install of Redhat 9 and my .xinitrc script is in my ~/home directory. Is there a way to get it running, or another way to configure a startup script? Thanks. |
Put the exact command you want to run in /etc/rc.local
|
I had tried that, and no dice. I also tried adding a line to the Sessions editor in Redhat to run my script, to no avail.
After bootup I can run: sh MyDamnStartupScript and execute it with no problems, so I know it works, I just can't automate it. Is there someway I can put a debug line in there to see if it's even hitting my script? Or is there another way to check if my script is getting run? Even if you could point me to some good information I'd surely appreciate it. I've looked and looked but can't find anything pertinent. Thanks. |
I've gone through all these steps and got the mouse to work great. Then I did a Halt, and upon reboot, the mouse is not being recognized. In the bootup process the search for new hardware fails. I then removed xinitrc from the startup routine, but to no avail. When I run imwheel from the console, it warns me that imwheel is not checking/writing a pid file. Is this normal?
After bootup, I get the login window with the mouse cursor just sitting there. My optical mouse lights up when I move it, and it works in Windows, just not in Linux. Any suggestions? EDIT: Nevermind, reinstalled with newly burned CD's, and everything's well with the world again. However, has anybody tried versions later than 1.0.0 pre1? |
They all just sort of worked in RH9 with a compuse generic 5 button mouse. Not sure why. It just set itself up. I know thats not too helpful, but..
|
Is there a way to get the side buttons to make a browser like Konqueror go back and forward.
I tried editing the .imwheelrc to use None, Up, Alt_L|Back None, UP, Alt_L|Forward But that didn't work as planned. Should I change something else? BTW...I followed the steps above and got it to side scroll just fine. |
I just wanted to thank everyone that posted here in this thread. this info was more than enough for me to get my forward and back buttons working.
But, in case anyone else has the following problem, here is something I had trouble with. Putting things in the ~/.xdefaults and in the /kde/Autostart didn't seem to be working for me. I couldn't figure out what was going on. After restarting X, my wheel would act like forward and back buttons when I moved it up or down instead of scrolling up and down like I wanted and the extra buttons on the side of my mouse didn't seem to do anything. I could make it work manually though. Finally I realized imwheel was already getting loaded somewhere else. In order to get it to work, I had to kill it and then restart it. I am running Mandrake 9.1. I eventually found it in /etc/X11/xinit.d/imwheel There was a line there like this [ "$WHEEL" = yes -a -n "$BINARY" ] && $BINARY -p that I changed to [ "$WHEEL" = yes -a -n "$BINARY" ] && $BINARY -p -b "67" and now everything is working perfectly. I also moved None, Up, Alt_L|Left None, Down, Alt_L|Right from ~/.imwheelrc to /etc/X11/imwheelrc Thanks again everyone. This thread was very very helpful! |
err... I'm loosing my patience with getting this to work. I think I am having a problem with imwheel. First off, I can't start imwheel without being root, then the mouse buttons get all messed up. The side buttons only do up and down not back and forth and the wheel does some other weird functions.
I was unable to 'make' imwheel, it would stop at: tex gpm.texinfo make[3]: tex: Command not found So I installed an rpm for imwheel which seemed to work I guess but I'm not sure if that was a good idea or not. I read all of the instructions earlier on in this post and have had no luck. The xev program sees all of the buttons, its just some how not getting mapped properly. What can I do to fix this before I end up pulling all of my hair out? Thanks for any help in advance. If it helps, I am using red hat 9 and optical intellimouse explorer w/ 5 buttons. |
Slightly different config in .imwheelrc
I had to use a slightly different config in .imwheelrc, for my Trackball Optical v1.0, connected via USB.
XFConfig: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "ButtonNumber" "7" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "6 7" Option "Emulate3Buttons" "no" EndSection .imwheelrc: ".*" None, Left, Alt_R|Left None, Right, Alt_R|Right You'll note the use of Left and Right instead of Up and Down in the second portion of each line. In imwheel --config, it reported buttons 6 and 7 as Left and Right, and the wheel buttins as Up and Down. This got my Trackball Optical working perfectly. |
Hi !
Thanks for these configuration informations all Aussie, where do you find the meaning of the different protocol I have spent lots of time searching for manuals on my system SuSE 8.2, but they are very unconsistent on the subject... How do you know explorerPS/2 will handle buttons like that??? Even my linux book of 1000 pages don't mention it except the ZAxisMapping option and only one protocol http://www.linuxquestions.org/questions/ Best Regards |
Lol my smilie don't work last post
So here it is :confused: |
Quote:
This is all new to me. I do, however know Windows to the max...wish I didnt......:D 4 years wasted when I could have been a Linux guru instead..... |
Hi..
I'm having some trouble setting the side buttons of the intelli mouse... I want them to do "Enter(small top button)" and "Close(large inferior button)" I created the .imwheelrc in my home/user/ directory and it has this: ".*" None, Up, Alt_L|Left None, Down, Alt_L|Right But then I run imwheel 1.0.0pre5 like this... imwheel -k -b "67" and the side buttons dont work correctly, the small top one does "page down" and the large inferior one does "page up" :confused: like this its supposed to do "Forward" and "Backward" .. I dont know whats wrong, if you could help me to make them do "enter" and "close" or at least "Forward" and "backward" i would be very grateful, this is my info... I have in the .Xdefaults xmodmap -e "pointer = 1 2 3 6 7 4 5" and in /etc/X11/XF86Config Section "InputDevice" Driver "mouse" Identifier "Mouse[1]" Option "ButtonNumber" "7" Option "Device" "/dev/mouse" Option "Name" "Autodetection" Option "Protocol" "ExplorerPS/2" Option "Vendor" "Sysp" Option "ZAxisMapping" "6 7" EndSection Thats it, so what do I have wrong? ... *sighs* seems like I have another problem, when kde starts the wheel scroling works weird, does like page up and page down instead of smooth scroling... I fixed this runing xmodmap -e "pointer = 1 2 3 6 7 4 5" and runing imwheel -k -b "67" again.... So I'm wondering if the xmodmap that its in .Xdefaults actually works? Some made a script in kde/autostart/ doing the xmond and the imwheel... How do I do this? |
Same problem as the guy above - Using Microsoft Intellimouse Explorer (USB) / Using SLackware 9.0 / KDE
--- Side buttons does not work correctly, the small top one does "page down" and the large one does "page up" / its supposed to do "Forward" and "Backward" --- ( XF86Config-4 ) # Identifier and driver Identifier "Mouse1" Driver "mouse" Option "CorePointer" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/input/mice" Option "ZaxisMapping" "6 7" Option "Buttons" "7" ( ~/.imwheelrc ) ---- imwheel 1.0.0 pre5 ".*" None, Up, Alt_L|Left None, Down, Alt_L|Right ( KDE Autostart file ) #!/bin/sh /usr/bin/X11/xmodmap -e "pointer = 1 2 3 6 7 4 5" imwheel -k -b "67" Thanks |
Same Prob also Slackware 9.0
i dont know what's wrong. but check this out
# The available mouse protocols types that you can set below are: # Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2 # Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2 # MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse # ThinkingMouse ThinkingMousePS/2 Xqueue Option "Protocol" "ExplorerPS/2" The Protocol "ExplorerPS/2" is not in the list of acceptable Protocols???? :( and also in Kate... the Mouse Wheel Works Just Fine??? HOW COME!! but in Konqueror it dosent! |
What version of imwheel are you using?
|
Well the Mouse Wheel works :)
but the side buttons do scroll up and schroll down instead of back and fort?
im using imwheel 1.0.0pre5 thanks |
OK, uninstall pre5 and try it with pre1.
|
I dont know how to?
i dont know how to uninstall files installed from source or tgz packages?
please help |
Change to the directory where you did "make install" and do "make uninstall" (as root).
|
k thanks
Thanks
|
right on the money!!!
your a genious!!! :D
one question though shoulnd the pre5 be better the pre1? just asking thanks for everthing!!!!! :p :newbie: |
One would think so, but pre5 seems to be broken in some way that stops this trick from working.
|
sorted!!
i've sorted it!!
using pre5 i followed the original instructions to the letter. Had the same problem as everyone else, the scroll wheel worked but the other two buttons did pgup and pgdn. well, instead of using "imwheel -k -b "67"" i used imwheel -k -b 6745 and xmodmap -e "pointer = 1 2 3 4 5 6 7" christ knows why it works, but it does!! |
hey, I fixed it...
In fact I can do different things with the buttons and with different programs... for example, on all programs I have the small button do "enter" and the large button do "close" ... but with mozilla i set it up for the large button to do "ctrl+w" which instead of closing the entire program it closes just the current tab ;) very useful for quick browsing. I left pre5 installed just that in the .imwheelrc I have "^Mozilla" None, Left, Return None, Right, Ctrl_L|W ".*" None, Left, Return None, Right, Alt_L|F4 and also I had to put these xmodmap -e "pointer = 1 2 3 6 7 4 5" imwheel -k -b "67" in the ~/.xsession Hope that helps! I have full control of the mouse now, and searching for help I manage to work the keyboards extra buttons too :) Now if I could get this Lexmark z23 printer to work... >.> |
I'm running kde3.1.0, XFree4.3 and Mandrake9.1
My XF86Config-4 mouse section: Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/psaux" Option "Buttons" "7" Option "ZAxisMapping" "6 7" EndSection I have a file 'Autostart' in the Autostart directory of .kde that has: #!/bin/sh imwheel -k -p -b "67" #!/bin/bash xmodmap -e "pointer = 1 2 3 6 7 4 5" and I have /home/me/.imwheelrc with: ".*" None, Up, Alt_L|Left None, Down, Alt_L|Right I can't get any side button events to show in xev, I have tried both IMPS/2 and ExplorerPS/2 protocalls, with no results. Any fresh ideas? **Edit** I noticed a file in /etc/X11/imwheel/ that was imwheelrc, but that seems to be more of a configuration example/template file... Am I correct? I really didn't understand what was being said about the thumb buttons, and everything I'm seeing in this thread is with people that have the buttons working, but want to re-map them... |
I read the entire post a bunch, and I still can't get it to work...I'm very new so a lot fo this is hard for me...
Its a microsoft explorer, in a PS/2 slot Anyway, here is the relevent section of the XF86 config Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/psaux" Option "ZAxisMapping" "6 7" Option "Buttons" "7" Option "Emulate3Buttons" "no" Identifier "DevInputMice" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "6 7" Option "Buttons" "7" Option "Emulate3Buttons" "no" EndSection (sorry im not sure which is the right one) I made a .xinitrc file in /home and in /root ...I wasn't sure which was the right one #!/bin/bash xmodmap -e "pointer = 1 2 3 6 7 4 5" imwheel -k -b "67" then i installed the imwheel and created .imwheelrc in my home directory ".*" None, Up, Alt_L|Left None, Down, Alt_L|Right All 7 buttons check out in xev...........the side buttons are 4/5 and wheels are 6/7 but now, the side buttons scroll, and the wheel buttons do nothing! What did I do wrong? |
with a bit of experimentation...i found that both wheel buttons act as a left mouse button!
Curious and Curiouser! |
I ran the command xmodmap -e "pointer = 1 2 3 6 7 4 5" manually........and now the scroll works, but the side buttons do nothing, and sev says they are buttons 6&7.....
|
AAAAARGH!!!!!! After many hours of fruitless tweaking, I was about ready to toss the whole freaking computer out the window--before I chanced across this thread. I FINALLY have it working, with imwheel 1.0.0pre5. Thanks to everyone in this thread for all the pointers. The key was to use "Left" and "Right" instead or "Up" and "Down" in the imwheelrc. Here's the configuration I have:
imwheel 1.0.0pre5 MS Intellimouse Explorer USB (plugged into the USB port) Redhat 9 (un-updated) along with whichver XFree86 came with RH9 And here's what I did to the files: ~/.imwheelrc: ".*" None, Left, Alt_L|Left None, Right, Alt_L|Right /etc/X11/XF86Config: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ExplorerPS/2" Option "ZAxisMapping" "6 7" Option "Buttons" "7" EndSection NOTE: One thing to watch out for is the line "Identifier "Mouse0"". You have to make sure this identifier corresponds to the other line in XF86Config which references "Mouse0" (it is in section "ServerLayout" in my XF86Config file). The reference in ServerLayout (or whatever) may be different from Mouse0--in which case you have to set the identifier above to whatever that is. startup script (~/.kde/Autostart/blahblah.sh, .xsession, .xinitrc, or whatever else gets run automatically): xmodmap -e "pointer = 1 2 3 6 7 4 5" imwheel -k -b "67" Finally, I also copied ~/.imwheelrc to /etc/X11/imwheel/imwheelrc, but I don't think this is necessary. |
Gnome!
I got my mouse to work for kde, but I would like to get it to work on gnome
I did the same thing as in kde but it doesnt work, has anyone succeded in making the side buttons work in gnome? Note: the buttons work in some applications like amsn o.0 I have no idea why they do there but not normally... |
Intellimouse side buttons + Debian + Genome
Hi, I am using Debian Sid, gdm and Gnome 2.4. I got tired of trying every hack mentioned in this thread just to have both Intellimouse side buttons perform a page_up action.
I search the forums and other sites for "debian intellimouse" and no one seems to have the problem I have so I guess it's time to ask. The wheel works fine, the problem are the side buttons. None of .xinitrc, .xdefaults, .Xdefaults, rc.local, .xsession, .imwheelrc, imwheel, etc at their respective locations seem to be used when I start my session. The only way I could launch the xmodmap and imwheel commands is through a script file I launch from "startup programs" in Gnome session manager, and I juts get the page_up action on both side buttons. I tried deleting /etc/X11/imwheel/imwheelrc, leaving ~/.imwheelrc, and creating /etc/imwheel. None worked. My current configuration is this: nano /etc/X11/XF86Config-4 ------------------- Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mouse1" # Option "Protocol" "ImPS/2" Option "Protocol" "ExplorerPS/2" # Option "Emulate3Buttons" "true" Option "Buttons" "7" # Option "ZAxisMapping" "4 5" Option "ZAxisMapping" "6 7" EndSection ------------------- //create script file to be launch in session startup xmodmap -e "pointer = 1 2 3 6 7 4 5" imwheel -k -p -b "67" //make script file executable chmod u+x file //add the script to gnome session manager applications > desktop preferences > advanced > sessions > startup programs /home/menteco/docs1/debian/imouse nano /home/menteco/docs1/debian/imouse ~/.imwheelrc ---------- ".*" None, Up, Alt_L|Left None, Down, Alt_L|Right ---------- chmod a+x .imwheelrc I'll welcome your help :-) |
Has ANYONE gotten this crap to work? I still cant get it to work after trying everyones suggestions. All of my buttons worked to begin with, I could scroll up and down with the wheel, however the side buttons just were mapped to forward and backward in mozilla or anything for that matter. Can I just remap those to buttons somewhere? Ive been messing with linux for about 4 days so go easy on me please.
Thanks for any help |
I've been trying to get this to work, and like so many others, I can only get it to pageup/pagedown.
Here's my config: XF86Config Code:
Section "InputDevice" Code:
".*" Code:
xmodmap -e "pointer = 1 2 3 6 7 4 5" --Matt |
All times are GMT -5. The time now is 07:27 AM. |