LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Microsfot Intellimouse - Side Buttons? (https://www.linuxquestions.org/questions/linux-hardware-18/microsfot-intellimouse-side-buttons-21303/)

TruckStuff 02-28-2003 11:15 AM

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.

Aussie 02-28-2003 08:11 PM

Quote:

Originally posted by Eyecannon
Surely there is a way to rebind all 3 at once! They all work, just not at the same time... I can get the mousewheel button to do Home, just not at the same time as I can get the right sidebutton to be Escape.

Yes, but linux uses three buttons by default, thats why you need to emulate three buttons with a two button mouse, you could set the wheel button to something else but you will break any actions that are coded for the middle button....such as pasting from the clipboard for example.

Beelzebub 03-01-2003 10:12 PM

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)

Aussie 03-01-2003 11:13 PM

Try doing the xmodmap -e "pointer = 1 2 3 6 7 4 5" command manually.

Beelzebub 03-02-2003 08:18 PM

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

auslander 03-03-2003 12:52 AM

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:

Originally posted by eggs
I've got an odd problem... my MS Intellimouse Explorer's wheel is buttons 4 and 5, I think its a version 1 so maybe thats the problem. Meaning my mouse section looks like this:



And the wheel does not work if I put the zaxis on 6 7 like everyone else's mouse.

So needless to say the xmodmap "pointer = 1 2 3 6 7 4 5" broke the wheel so I assumed that the 4th and 5th number are for the wheel and made mine 'xmodmap "pointer = 1 2 3 4 5 6 7"' and the wheel worked again but the side buttons still didn't work in xev.


Aussie 03-03-2003 01:42 AM

G'day auslander, welcome to LQ.

Post the pointer section of your XF86Config(-4) for us to look at.

auslander 03-03-2003 08:17 AM

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:

Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "ButtonNumber" "7"
Option "Device" "/dev/input/mice"
Option "InputFashion" "Mouse"
Option "Name" "USB-Mouse"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
EndSection
my shell script, called xmouse is thus:

Quote:

#!/bin/sh
xmodmap -e "pointer = 1 2 3 4 5 6 7"
and my imwheelrc script is thus:

Quote:

!#/bin/sh
imwheel -k -b "67"
Any idea what might be happening here? I know that my Intellimouse Explorer is 'old school', so I thought that maybe the same thing that the previous poster 'eggs' was experiencing was happening to me--<shrug>

Thanks again!

auslander

mbatalla82 03-09-2003 08:14 PM

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

Aussie 03-09-2003 08:31 PM

Install LaTeX, it should be on your distro CD(s) somewhere.

mbatalla82 03-14-2003 05:21 PM

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.

Aussie 03-14-2003 07:01 PM

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.

mbatalla82 03-14-2003 10:09 PM

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.

Aussie 03-14-2003 10:33 PM

Try "chmod 755 /PATH-TO/imwheel".

trn 03-14-2003 11:32 PM

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"

mbatalla82 03-15-2003 11:32 AM

the -p option did it, thanks trn.
thanks for the help too, Aussie

Anxiety 04-19-2003 03:59 PM

.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.

bax 04-20-2003 12:38 AM

Put the exact command you want to run in /etc/rc.local

Anxiety 04-20-2003 06:27 AM

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.

tslugmo 04-22-2003 11:50 AM

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?

zaphraud 05-02-2003 11:52 PM

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..

asommer 06-02-2003 01:04 PM

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.

dilbert622 08-08-2003 12:37 PM

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!

bigcletus 08-14-2003 02:37 PM

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.

red_five 08-30-2003 09:53 PM

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.

pPcG5 08-31-2003 06:14 AM

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

pPcG5 08-31-2003 06:35 AM

Lol my smilie don't work last post
So here it is :confused:

Koiman 09-07-2003 10:41 AM

Quote:

Originally posted by dorward
Righty, I have a Intellimouse Explorer hocked up to the USB port and I use the side buttons. This works perfectly.

From XF86Config-4
Code:

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ExplorerPS/2"
        Option          "ZAxisMapping"          "6 7"
        Option          "Buttons"              "7"
EndSection

From ~/.xsession (the script that runs when I log in to X or run startx):
Code:

xmodmap -e "pointer = 1 2 3 6 7 4 5"
imwheel -k -b "67"

Note the "-e" part, it won't work without it.

From ~/.imwheelrc (the config file for imwheel which deals with the side buttons):
Code:

".*"
None, Up, Alt_L|Left
None, Down, Alt_L|Right


As a total noob I somehow managed to find, and edi,t the xf86 config but where do I find ~/.imwheelrc to edit it ?

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.....

Ferenan 09-12-2003 04:30 PM

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?

hugoX79 09-16-2003 02:32 AM

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

FearPasion710 09-16-2003 03:56 PM

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!

Aussie 09-16-2003 04:10 PM

What version of imwheel are you using?

FearPasion710 09-16-2003 05:04 PM

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

Aussie 09-16-2003 05:12 PM

OK, uninstall pre5 and try it with pre1.

FearPasion710 09-16-2003 05:37 PM

I dont know how to?
 
i dont know how to uninstall files installed from source or tgz packages?

please help

Aussie 09-16-2003 05:43 PM

Change to the directory where you did "make install" and do "make uninstall" (as root).

FearPasion710 09-16-2003 10:39 PM

k thanks
 
Thanks

FearPasion710 09-16-2003 10:44 PM

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:

Aussie 09-17-2003 12:14 AM

One would think so, but pre5 seems to be broken in some way that stops this trick from working.

fridgehead 09-19-2003 04:42 AM

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!!

Ferenan 09-22-2003 01:52 PM

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... >.>

Toker 10-06-2003 01:53 AM

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...

Tyir 10-23-2003 12:15 PM

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?

Tyir 10-23-2003 12:58 PM

with a bit of experimentation...i found that both wheel buttons act as a left mouse button!
Curious and Curiouser!

Tyir 10-23-2003 01:30 PM

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.....

kkant 10-24-2003 03:10 PM

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.

Ferenan 10-27-2003 03:53 PM

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...

Menteco 11-01-2003 04:48 PM

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 :-)

aton111 11-05-2003 03:49 AM

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

mattsday 11-05-2003 08:45 PM

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"
        Driver "mouse"
        Identifier "Mouse0"
        Option "ButtonNumber" "7"
        Option "Device" "/dev/input/mice"
        Option "InputFashion" "Mouse"
        Option "Name" "USB-Mouse"
        Option "Protocol" "ExplorerPS/2"
        Option "ZAxisMapping" "6 7"
        Option "Buttons" "7"
EndSection

.imwheelrc
Code:

".*"
None, Left, Alt_L|Left
None, Right, Alt_L|Right

I run the following commands upon starting X:
Code:

xmodmap -e "pointer = 1 2 3 6 7 4 5"
imwheel -k -b -p "67"

(Yes, I have tried it manually). I am using 1.0Pre5, although have tried using pre1 too - pre5 at least lets me pageup/pagedown pre1 doesn't seem to give any output at all. I have an intellimouse explorer 3.0.

--Matt


All times are GMT -5. The time now is 07:27 AM.