LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-28-2002, 12:50 AM   #46
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58

The middle mouse button is already in use in linux, so I think thats where you problem lies, you only have the side buttons to play with.
 
Old 12-28-2002, 01:43 AM   #47
Eyecannon
LQ Newbie
 
Registered: Sep 2002
Location: Santa Monix
Distribution: Redhat 8.0
Posts: 12

Rep: Reputation: 0
Quote:
Originally posted by Aussie
The middle mouse button is already in use in linux, so I think thats where you problem lies, you only have the side buttons to play with.
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.

Can someone explain the UP and DOWN syntax in .imwheelrc?? I always have to mess with that to get it to work... this may be part of the problem.
 
Old 02-12-2003, 08:41 PM   #48
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Rep: Reputation: 31
fighting away my noob status, i installed blackbox.....

and after searching for 2 hrs......

how would i start a script in BB, or gnome?

i tried rc.local, but i'm not sure of how to write the commandsl

like the imwheell stuff

thanks

Last edited by spooge; 02-12-2003 at 11:03 PM.
 
Old 02-28-2003, 09:43 AM   #49
TruckStuff
Member
 
Registered: Apr 2002
Posts: 498

Rep: Reputation: 30
This thread seems to keep coming back from the dead, so I will do it to.

I have followed the instructions in this thread and I still cannot get my side buttons working. I know I have imwheel installed correctly (keep reading).

relevant /etc/X11/XF86Config:
Quote:
Section "InputDevice"
# Modified by mouseconfig
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/psaux"
Option "Protocol" "IMPS/2"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection
Other files:
Quote:
[steve@steve steve]$ cat ~/.imwheelrc
".*"
None, Up, Alt_L|Left
None, Down, Alt_R|Right

[steve@steve steve]$ cat ~/.xinitrc
#!/bin/bash
xmodmap -e "pointer = 1 2 3 6 7 4 5"
imwheel -k -b "67"
The wheel works just fine with my config like this, but the side buttons don't work. If I do an xmodmap -e "pointer = 1 2 3 4 5 6 7", then my wheel begins taking me forward and back (which is why I know imwheel is working properly). When I run xev, the side buttons do not send any signal at all (probably my biggest problem here). I have tried several combinations of buttons with xmodmap and imwheelrc to no avail. Can anyone give me some pointers? PS2 Intellimouse Explorer btw.

Last edited by TruckStuff; 02-28-2003 at 09:45 AM.
 
Old 02-28-2003, 09:57 AM   #50
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
You need to use Option "Protocol "ExplorerPS/2".
 
Old 02-28-2003, 11:15 AM   #51
TruckStuff
Member
 
Registered: Apr 2002
Posts: 498

Rep: Reputation: 30
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.

Last edited by TruckStuff; 02-28-2003 at 11:35 AM.
 
Old 02-28-2003, 08:11 PM   #52
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
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.
 
Old 03-01-2003, 10:12 PM   #53
Beelzebub
LQ Newbie
 
Registered: May 2002
Location: Anaheim, California
Distribution: Centos, Ubuntu, Mac OS X
Posts: 26

Rep: Reputation: 15
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)
 
Old 03-01-2003, 11:13 PM   #54
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Try doing the xmodmap -e "pointer = 1 2 3 6 7 4 5" command manually.
 
Old 03-02-2003, 08:18 PM   #55
Beelzebub
LQ Newbie
 
Registered: May 2002
Location: Anaheim, California
Distribution: Centos, Ubuntu, Mac OS X
Posts: 26

Rep: Reputation: 15
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
 
Old 03-03-2003, 12:52 AM   #56
auslander
LQ Newbie
 
Registered: Feb 2003
Location: /dev/null
Distribution: SuSE 9.3 Pro, Ubuntu, Gentoo, Debian
Posts: 14

Rep: Reputation: 0
Unhappy 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.
 
Old 03-03-2003, 01:42 AM   #57
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
G'day auslander, welcome to LQ.

Post the pointer section of your XF86Config(-4) for us to look at.
 
Old 03-03-2003, 08:17 AM   #58
auslander
LQ Newbie
 
Registered: Feb 2003
Location: /dev/null
Distribution: SuSE 9.3 Pro, Ubuntu, Gentoo, Debian
Posts: 14

Rep: Reputation: 0
Talking

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
 
Old 03-09-2003, 08:14 PM   #59
mbatalla82
LQ Newbie
 
Registered: Mar 2003
Posts: 9

Rep: Reputation: 0
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
 
Old 03-09-2003, 08:31 PM   #60
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Install LaTeX, it should be on your distro CD(s) somewhere.
 
  


Reply

Tags
mouseconfig



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSE 9.1 and Intellimouse Optical side buttons STuPiDiCuS Linux - Hardware 1 09-23-2004 10:23 PM
side mouse buttons on intellimouse Slack10 Earth Slackware 7 07-18-2004 11:50 AM
Intellimouse side buttons (yet again?) Toker Linux - Newbie 7 10-05-2003 01:55 AM
Intellimouse AND Side Buttons, HOW TO- Alternate Caoster Linux - Hardware 0 07-18-2003 04:53 AM
side-buttons. intellimouse ! sapilas Linux - Distributions 2 05-24-2002 04:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration