Re: [newbie] imwheel button mapping

2003-10-04 Thread HaywireMac
On Fri, 03 Oct 2003 17:56:43 -0500
Kelly McCormick [EMAIL PROTECTED] uttered:

 
 Please tell me your kidding. OK, I'll assume your not. You seem to be 
 one of the few for whom this mysteriously works. What you have is what
 I started with before my first post about this.

LOL! And I don't even care to use it, how's that for irony?! Howsabout
we just trade comps?
 
 Here's what I found:
 
 without the xmodmap -e pointer = 1 2 3 6 7 4 5 command, my thumb 
 buttons scroll up and down and wheel does nothing. OK, makes sense.
 With this line in xinitrc it never seems to be executed,

sounds like it is being overridden by something, possibly what you
describe below. I would try commenting that out in xinit.d and instead
having it run when *your user* starts X, rather than when the system
starts X, maybe that's the difference? Shouldn't be, I know, but hey,
this is X we're talking about...can be a whacko kinda thing at the best
of times.

BTW, do you start from runlevel 3, ie. textmode? I would highly
recommend it, makes jumping in and out of X a breeze. Also, if you set
vga=794 in your /etc/lilo.conf, you get a nice high res text mode with
lotsa room on a big monitor, if ya got one. There are other modes, of
course, set it depending on your screensize:

# VESA framebuffer console @ 1024x768x64k
# vga=791
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769

notice mine is not listed there, I discovered 794 just by playing with
it. (I have a 19 monitor, and 794 sets it to 1280x1024 I believe.

 but I have it in a file under /etc/X11/xinit.d where it works fine.
 So, with this command enabled, xev recognizes the thumb buttons as 6
 and 7. With imwheel running xev sees these buttons as left and right.
 Without imwheel, mozilla and konq respond to the thumb buttons as if I
 were pressing the left and right arrow keys. The same applies when
 imwheel is running. The only difference I see, is that without
 imwheel, holding alt while pressing arrow keys does nothing, but with
 imwheel, this results in sliding the entire page left and right.
 However, at no point has anything I've tried resulted in a back button
 press.

That is truly odd. As I say, the only difference I can see is that i am
running xmodmap as a user, rather than as system.

 A couple of questions, are you using this mouse in ps2 port or USB? 

It's a USB mouse, but I have it connected to PS/2 via an adapter.

 Also, I am running a vanilla 9.1 install with the exception of
 switching to ATI's video driver. Have you upgraded anything related to
 XFree, that might be affecting this? Only other thing I can think of
 is that maybe the window manager makes a difference, I guess I'll look
 into that next.

Well, I *did* upgrade to the latest XFree when advised to, I'm a
religious updater for all security and bug advisories, so I'm running:

[EMAIL PROTECTED]:~/downloads/sylpheed-0.9.5-gtk2-20030906]$rpm -qa | grep
XFree XFree86-100dpi-fonts-4.3-8.2mdk
XFree86-libs-4.3-8.2mdk
XFree86-server-4.3-8.2mdk
XFree86-xfs-4.3-8.2mdk
XFree86-4.3-8.2mdk
XFree86-devel-4.3-8.2mdk
XFree86-75dpi-fonts-4.3-8.2mdk

but that shouldn't make any diff, nor should my WM.

The important parts, so far as I can see, are:

Section InputDevice
Identifier Mouse1
Driver mouse
Option Protocol ExplorerPS/2
Option Device /dev/psaux
Option ZAxisMapping 6 7
Option Buttons 7
EndSection

and the xmodmap -e added to your .xinitrc. In Mozilla and Galeon, what I
find is that the side buttons indeed work as left and right arrow,
without mod (alt), ie. scrolling left and right. With mod (alt), they
act as forward and back in history. But since I load all links in a new
window, and have them autogrouped into one frame, I can move between
pages with the mousewheel, for me preferable to anything else.

-- 
HaywireMac
Registered Linux user #282046
Homepage: www.orderinchaos.org
++
Mandrake HowTo's  More: http://twiki.mdklinuxfaq.org
++
The more laws and order are made prominent, the more thieves and
robbers there will be.
-- Lao Tsu

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] imwheel button mapping

2003-10-04 Thread HaywireMac
On Fri, 03 Oct 2003 22:55:08 -0500
Kelly McCormick [EMAIL PROTECTED] uttered:

 Well, that's an improvement. Holding alt and scrolling the mouse 
 actually does the same thing.

Hy, I didn't notice that! Now *that* is cool! Screw the side
buttons, I'll be happy if they are now recognized in games or
something...

-- 
HaywireMac
Registered Linux user #282046
Homepage: www.orderinchaos.org
++
Mandrake HowTo's  More: http://twiki.mdklinuxfaq.org
++
There are no accidents whatsoever in the universe.
-- Baba Ram Dass

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] imwheel button mapping

2003-10-03 Thread Kelly McCormick
HaywireMac wrote:

When I start imwheel with X, it messes my scroll-thru-my-desktops
function in my WM, mapped to button 5 and 6. In my XF config, the wheel
is mapped to those,
How exactly did you do that? Is it a function of your window manager? I 
assume your not using KDE? And does that mean you do not have the 
normal window up and down window scrolling capability? Perhaps there's 
an option in XFconfig to do what I want? Just grasping at straws here.

Dax


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] imwheel button mapping

2003-10-03 Thread Kelly McCormick
Heather/Femme wrote:
On Thu, 02 Oct 2003 14:08:38 -0500
Kelly McCormick [EMAIL PROTECTED] wrote:
snip
Thanks for taking a stab at it, apparently nobody is using this mouse?
Any other ideas are welcome!
Dax



I'm using that mouse... I sort of gave up on the other buttons
though..they work great in windows..but in linux? Forget it.
least that was what I found after about 3 months off  on of screwing
around.
if you find a better answer pls tell me.
Femme




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Hi, Femme, rest assured if I find a way to get this to work I'll post 
the answer.

Once apon a time I had this working with Mandrake 7.2 but IIRC it was 
with a logitech mouse with one thumb button, and it only really worked 
in netscape. Also at the time I believe that you actually needed to use 
imwheel just to get the scroll wheel working. What's really bugging me 
is that in my searches I have found several posts by people claiming 
that the setup I am using worked for them but for every one of those 
there are atleast ten who say it didn't work.

For what it's worth there are a host of apps that do accept keyboard 
shortcuts mapped to these buttons see the following link for an idea of 
the possibilities.
 http://jcatki.no-ip.org/imwheel/imwheelrc

Dax


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] imwheel button mapping

2003-10-03 Thread HaywireMac
On Fri, 03 Oct 2003 02:49:14 -0500
Kelly McCormick [EMAIL PROTECTED] uttered:

 How exactly did you do that? Is it a function of your window manager?
 I assume your not using KDE? And does that mean you do not have the 
 normal window up and down window scrolling capability? Perhaps
 there's an option in XFconfig to do what I want? Just grasping at
 straws here.

Well, Stephen's gonna kill me, but ya, it's Pekwm. It's one of a few
window managers that lets you scroll through your desktops by
mousewheeling on the background. XFCE does this, though poorly IMHO, and
I think so does Fluxbox, but Flux Sux.

Anyway, no it does not mess with scrollin' otherwise. The only option in
XFConfig I'm aware of is the one you already know about:

Option ZAxisMapping 4 5

but you can also use xmodmap, as I mentioned, to tweak it further when
start X, like so:

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

I think you saw that already too, no? someone reposted my post with this
link:

http://www.deadman.org/X/xbuttons.html

Who knew the mouse could get so complicated? I won't complain tho, those
poor bastards on Mac's with only one button... ;-)

-- 
HaywireMac
Registered Linux user #282046
Homepage: www.orderinchaos.org
++
Mandrake HowTo's  More: http://twiki.mdklinuxfaq.org
++
It's hard to drive at the limit, but it's harder to know where the
limits are.
-- Stirling Moss

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] imwheel button mapping

2003-10-03 Thread HaywireMac
On Fri, 03 Oct 2003 02:49:14 -0500
Kelly McCormick [EMAIL PROTECTED] uttered:

 How exactly did you do that? Is it a function of your window manager?
 I assume your not using KDE? And does that mean you do not have the 
 normal window up and down window scrolling capability? Perhaps
 there's an option in XFconfig to do what I want? Just grasping at
 straws here.

Deadman links to this page:

http://koala.ilog.fr/colas/mouse-wheel-scroll/

and *it* has links to a discussion forum on exactly this topic if I am
reading correctly.

-- 
HaywireMac
Registered Linux user #282046
Homepage: www.orderinchaos.org
++
Mandrake HowTo's  More: http://twiki.mdklinuxfaq.org
++
Reality is just a crutch for people who can't handle science fiction.

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] imwheel button mapping

2003-10-03 Thread HaywireMac
On Tue, 30 Sep 2003 23:55:22 -0500
Kelly McCormick [EMAIL PROTECTED] uttered:

 Does anybody know the correct way to get side thumb buttons on a 
 microsoft intellimouse explorer working as back and forward in mozilla
 under 9.1?

K, got it working in Mozilla, *without* imwheel I might add.

Leave your XF config the way it is, but add this to your .xinitrc or
whatever startup script:

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

and I can scroll through my workspaces, documents, mails, etc. and also
go forward and back in Mozilla and Galeon. For some weird reason, the
forward and back in Mozilla is *reversed* (?).

-- 
HaywireMac
Registered Linux user #282046
Homepage: www.orderinchaos.org
++
Mandrake HowTo's  More: http://twiki.mdklinuxfaq.org
++
It's today! said Piglet.
My favorite day, said Pooh.

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] imwheel button mapping

2003-10-03 Thread HaywireMac
On Fri, 3 Oct 2003 07:40:59 -0400
HaywireMac [EMAIL PROTECTED] uttered:

 For some weird reason, the
 forward and back in Mozilla is *reversed* (?).

change it to this and all is well (ie. alt-button left=back, etc.)

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


-- 
HaywireMac
Registered Linux user #282046
Homepage: www.orderinchaos.org
++
Mandrake HowTo's  More: http://twiki.mdklinuxfaq.org
++
It's not reality that's important, but how you perceive things.

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] imwheel button mapping

2003-10-03 Thread Heather/Femme
On Fri, 03 Oct 2003 03:14:19 -0500
Kelly McCormick [EMAIL PROTECTED] wrote:
giant elephant size neuter
 For what it's worth there are a host of apps that do accept keyboard 
 shortcuts mapped to these buttons see the following link for an idea
 of the possibilities.
   http://jcatki.no-ip.org/imwheel/imwheelrc
 
 Dax
 
 

thx Dax.  FWIW, I use the buttons in windows for exactly the same
purpose you want them working... and it frustrates the hell out of me
that I can't go back  forward in my browser with a button click!

pisses me right off in fact...sigh

Thx alot

Femme-in-a-box 

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] imwheel button mapping

2003-10-03 Thread Kelly McCormick
Heather/Femme wrote:
On Fri, 03 Oct 2003 03:14:19 -0500
Kelly McCormick [EMAIL PROTECTED] wrote:
giant elephant size neuter
For what it's worth there are a host of apps that do accept keyboard 
shortcuts mapped to these buttons see the following link for an idea
of the possibilities.
 http://jcatki.no-ip.org/imwheel/imwheelrc

Dax




thx Dax.  FWIW, I use the buttons in windows for exactly the same
purpose you want them working... and it frustrates the hell out of me
that I can't go back  forward in my browser with a button click!
pisses me right off in fact...sigh

Thx alot

Femme-in-a-box 





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Hi femme,

I hear ya!
Same here!
Ditto!
Etc. Etc. Etc.
Seems like such a simple thing, huh?

Have you tried Haywires solution?

Dax


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] imwheel button mapping

2003-10-03 Thread HaywireMac
On Fri, 3 Oct 2003 16:10:55 -0400
Heather/Femme [EMAIL PROTECTED] uttered:

 thx Dax.  FWIW, I use the buttons in windows for exactly the same
 purpose you want them working... and it frustrates the hell out of me
 that I can't go back  forward in my browser with a button click!
 
 pisses me right off in fact...sigh

sure ya can...

I posted the sol'n just below, use xmodmap.

Worked for me anyhow.

Alt-left mouse button and alt-right mouse button on the Intellimouse
explorer takes you back and forth in either Galeon or Mozilla.

-- 
HaywireMac
Registered Linux user #282046
Homepage: www.orderinchaos.org
++
Mandrake HowTo's  More: http://twiki.mdklinuxfaq.org
++
Even the best of friends cannot attend each other's funeral.
-- Kehlog Albran, The Profit

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] imwheel button mapping

2003-10-03 Thread Kelly McCormick
HaywireMac wrote:
On Fri, 3 Oct 2003 07:40:59 -0400
HaywireMac [EMAIL PROTECTED] uttered:

For some weird reason, the
forward and back in Mozilla is *reversed* (?).


change it to this and all is well (ie. alt-button left=back, etc.)

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





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Please tell me your kidding. OK, I'll assume your not. You seem to be 
one of the few for whom this mysteriously works. What you have is what I 
started with before my first post about this.

Here's what I found:

without the xmodmap -e pointer = 1 2 3 6 7 4 5 command, my thumb 
buttons scroll up and down and wheel does nothing. OK, makes sense. With 
this line in xinitrc it never seems to be executed, but I have it in a 
file under /etc/X11/xinit.d where it works fine. So, with this command 
enabled, xev recognizes the thumb buttons as 6 and 7. With imwheel 
running xev sees these buttons as left and right. Without imwheel, 
mozilla and konq respond to the thumb buttons as if I were pressing the 
left and right arrow keys. The same applies when imwheel is running. The 
only difference I see, is that without imwheel, holding alt while 
pressing arrow keys does nothing, but with imwheel, this results in 
sliding the entire page left and right. However, at no point has 
anything I've tried resulted in a back button press.

A couple of questions, are you using this mouse in ps2 port or USB? 
Also, I am running a vanilla 9.1 install with the exception of switching 
to ATI's video driver. Have you upgraded anything related to XFree, that 
might be affecting this? Only other thing I can think of is that maybe 
the window manager makes a difference, I guess I'll look into that next.

Dax


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] imwheel button mapping

2003-10-03 Thread Heather/Femme
On Fri, 03 Oct 2003 17:37:33 -0500
Kelly McCormick [EMAIL PROTECTED] wrote:

snip
 I hear ya!
 Same here!
 Ditto!
 Etc. Etc. Etc.
 
 Seems like such a simple thing, huh?
 
 Have you tried Haywires solution?
 
 Dax
 

TBH No.  I've been doing email  IRC all freaking day... and I have to
work soon on jewellery...sigh...

so won't have time till maybe sunday to futz with it. :|

oh well

Lemme know if you get something ..

Fun-Femme

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] imwheel button mapping

2003-10-03 Thread Heather/Femme
On Fri, 3 Oct 2003 18:51:50 -0400
HaywireMac [EMAIL PROTECTED] wrote:

 On Fri, 3 Oct 2003 16:10:55 -0400
 Heather/Femme [EMAIL PROTECTED] uttered:
 
  thx Dax.  FWIW, I use the buttons in windows for exactly the same
  purpose you want them working... and it frustrates the hell out of
  me that I can't go back  forward in my browser with a button click!
  
  pisses me right off in fact...sigh
 
 sure ya can...
 
 I posted the sol'n just below, use xmodmap.
 
 Worked for me anyhow.
 
 Alt-left mouse button and alt-right mouse button on the Intellimouse
 explorer takes you back and forth in either Galeon or Mozilla.
 
 -- 
 HaywireMac

k thx I'll try it when I get time...

Femme

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] imwheel button mapping

2003-10-03 Thread Kelly McCormick
HaywireMac wrote:

Alt-left mouse button and alt-right mouse button on the Intellimouse
explorer takes you back and forth in either Galeon or Mozilla.
lol, I just saw this post Haywire. I didn't realize you meant it worked 
using alt button to modify the mouse button. Your absolutely right. 
Because of the button reversal you mentioned earlier, It didn't seem to 
be doing anything when I clicked back because it was trying to go forward.

Well, that's an improvement. Holding alt and scrolling the mouse 
actually does the same thing. Now I wonder if that is what was happeing 
in imwheel as well. With imwheel it should be possible to map both the 
alt and left into one button press. A little more tinkering and maybe 
things will actually work the way I planned. :)

Dax



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] imwheel button mapping

2003-10-03 Thread Aron Smith
On Fri, 2003-10-03 at 15:37, Kelly McCormick wrote:
 Heather/Femme wrote:
  On Fri, 03 Oct 2003 03:14:19 -0500
  Kelly McCormick [EMAIL PROTECTED] wrote:
  giant elephant size neuter
  
 For what it's worth there are a host of apps that do accept keyboard 
 shortcuts mapped to these buttons see the following link for an idea
 of the possibilities.
   http://jcatki.no-ip.org/imwheel/imwheelrc
 
 Dax
 
 
  
  
  thx Dax.  FWIW, I use the buttons in windows for exactly the same
  purpose you want them working... and it frustrates the hell out of me
  that I can't go back  forward in my browser with a button click!
  
  pisses me right off in fact...sigh
  
  Thx alot
  
  Femme-in-a-box 
  
  
  
  
  
  Want to buy your Pack or Services from MandrakeSoft? 
  Go to http://www.mandrakestore.com
 Hi femme,
 
 I hear ya!
 Same here!
 Ditto!
 Etc. Etc. Etc.
 
 Seems like such a simple thing, huh?
 
 Have you tried Haywires solution?
 
 Dax
Bong?
 
 
 
 __
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] imwheel button mapping

2003-10-03 Thread Kelly McCormick
Aron Smith wrote:

Have you tried Haywires solution?

Dax
Bong?

lol, would probably help with the frustration level anyway!


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] imwheel button mapping

2003-10-02 Thread Kelly McCormick
Kelly McCormick wrote:
Kelly McCormick wrote:

Kelly McCormick wrote:

Does anybody know the correct way to get side thumb buttons on a 
microsoft intellimouse explorer working as back and forward in 
mozilla under 9.1? 
clip

Does anyone know why this doesn't work?

imwheel rpm from 9.1 discs is installed.
imwheel process is getting started by logged in user.
side buttons work for side to side scrolling in mozilla and konquerer so 
 they are being recognized as the left arrow key and the right arrow key.
What I want is for them to be working as LeftAlt+left arrow key 
combination, and LeftAlt+right arrow key combo respectively.
clip

One more note, I just noticed that the thumb buttons do seem to work as 
alt left arrow and alt right arrow in konquerer and kterm but still work 
only as left arrow and right arrow in mozilla.

Dax


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] imwheel button mapping

2003-10-02 Thread Kelly McCormick
HaywireMac wrote:
On Thu, 02 Oct 2003 00:48:18 -0500
Kelly McCormick [EMAIL PROTECTED] uttered:

From XF86Config-4:

Identifier  Mouse1
Driver mouse
Option Protocol   ExplorerPS/2
Option Device /dev/psaux
Option ZAxisMapping 6 7
Option Buttons 7


In the imwheel manpage, it specifies that you must use the IMPS/2
protocol, could that be the prob?




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Hi, Haywire, thanks for trying, but I'm afraid the short answer is no, 
that's not it. I tried it again just to make sure, but it only prevents 
the side buttons from working at all. I believe that protocol is for the 
Intellimouse version rather than the Intellimouse Explorer version.

I am getting the results that I want and expected from konquerer, but 
mozilla seems to be interpreting the button mapping differently for some 
reason.

If you have mozilla open and the window set narrow enough that you get a 
scroll bar on the bottom of the window, and press the left or right 
arrows on the keyboard, it scrolls the page left and right a few steps 
at a time. This is exactly what my mouse thumb buttons are doing. If you 
hold down the left alt key and press the left or right arrow keys in 
mozilla, it moves you back and forward a page in the history. This is 
what I want the mouse thumb buttons to do. Since the thumb buttons are 
already working as arrow keys in mozilla you would think that holding 
down the left alt key and pressing the thumb buttons would work the same 
as alt-left arrow, but instead it side scrolls by a whole page instead 
of a few steps. Mozilla seems to be the only program where they behave 
this way, in other programs the thumb buttons get the same action as 
holding left alt and using the arrow keys.

Thanks for taking a stab at it, apparently nobody is using this mouse?
Any other ideas are welcome!
Dax


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] imwheel button mapping

2003-10-02 Thread HaywireMac
On Thu, 02 Oct 2003 14:08:38 -0500
Kelly McCormick [EMAIL PROTECTED] uttered:

 Hi, Haywire, thanks for trying, but I'm afraid the short answer is no,
 
 that's not it. I tried it again just to make sure, but it only
 prevents the side buttons from working at all. I believe that protocol
 is for the Intellimouse version rather than the Intellimouse Explorer
 version.

I believe you are correct.

 
 Thanks for taking a stab at it, apparently nobody is using this mouse?
 Any other ideas are welcome!

I actually do have that same mouse, the one with the side buttons, I've
played with various settings off and on, here and there, but I've never
gotten them to work. 'Course, I didn't know about imwheel before either.

When I start imwheel with X, it messes my scroll-thru-my-desktops
function in my WM, mapped to button 5 and 6. In my XF config, the wheel
is mapped to those, so maybe I'll play with starting imwheel, and
changing the mapping to 6 and 7 and add an xmodmap line to my .xinitrc
and see what happens.

I don't use the forward and back buttons much at all in my browser, so I
guess that's why I've never really bothered much with those extra
buttons, but now that I think of it, they might come in handy for other
things. My mitts are a bit big to access those things easily though...

-- 
HaywireMac
Registered Linux user #282046
Homepage: www.orderinchaos.org
++
Mandrake HowTo's  More: http://twiki.mdklinuxfaq.org
++
God made everything out of nothing, but the nothingness shows through.
-- Paul Valery

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] imwheel button mapping

2003-10-01 Thread Kelly McCormick
Eric Huff wrote:
Does anybody know the correct way to get side thumb buttons on a

microsoft intellimouse explorer working as back and forward in
mozilla under 9.1?


   Option Device /dev/psaux


I have never tried this (just saved joe's post cuz it looked
helpful).  Anyway, here is a post from way back.
I notice you have /dev/psaux and he had mouse:
Subject: Re: [newbie] How do I use all buttons on MS Explorer mouse?


I dropped deadman a quick question on this mouse, but would be
interested to know if any of you have input or experiences to
add...


the instructions on his site should apply to any mouse with 5
buttons or
even 7. you are using xmodmap, like this (in your .xinitrc):
xmodmap -e pointer = 1 2 3 6 7 4 5 

plus an entry in your XF86Config:

Section InputDevice
Identifier Mouse0
Driver mouse
Option Protocol ExplorerPS/2
Option Device /dev/mouse
Option Buttons 7
Option ZAxisMapping 6 7
EndSection
now, you can let go of the Explorer part and give it a shot, to my
mind it shouldn't matter. of course if it doesn't work, just put it
back
to normal (your system even keeps a backup of your old XF86Config
for
you to rename and use).
Personally, it seemed to wreak havoc with my WM and mousewheeling
thru
desktops, so I commented it out for now. I'll give it a shot later.

Thanks eric, but as far as I can tell what you told me will make x see 
that there are 7 buttons, 5 actual, and 2 for the wheel, and map the 
scrolling to the wheel (buttons 6 and 7) what I'm looking for is 
getting the buttons 4 and 5 (thumb buttons) to perform a specific 
function. The first part I believe I have working already. It seems like 
I just need to find the correct systax for the mozilla entry in the 
imwheelrc file, but since none of the entries that I have found on the 
web seem to work the way they should, I'm not entirely sure that I have 
imwheel set up correctly or that imwheel is even the way to do this 
anymore. Anyway, I'll keep looking, thanks for the response.

Dax


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] imwheel button mapping

2003-10-01 Thread Kelly McCormick
Kelly McCormick wrote:
Kelly McCormick wrote:

Does anybody know the correct way to get side thumb buttons on a 
microsoft intellimouse explorer working as back and forward in mozilla 
under 9.1? 
clip

Does anyone know why this doesn't work?

imwheel rpm from 9.1 discs is installed.
imwheel process is getting started by logged in user.
side buttons work for side to side scrolling in mozilla and konquerer so 
 they are being recognized as the left arrow key and the right arrow key.
What I want is for them to be working as LeftAlt+left arrow key 
combination, and LeftAlt+right arrow key combo respectively.

From XF86Config-4:

Identifier  Mouse1
Driver mouse
Option Protocol   ExplorerPS/2
Option Device /dev/psaux
Option ZAxisMapping 6 7
Option Buttons 7
(note that /dev/psaux and /dev/mouse are both links to /dev/misc/psaux)

Contents of both /etc/X11/imwheelrc and ~/.imwheelrc :

.*
None, Left, Alt_L|Left
None, Right, Alt_L|Right
(note, have also tried several other combos including replacing Left and 
Right with Up and Down)

Contents of /etc/X11/xinit.d/imwheel :

#!/bin/sh
#---
# Project : Mandrake
# Module  : imwheel
# File: imwheel.xinit
# Version : $Id$
# Author  : Frederic Lepied
# Created On  : Tue Apr 11 14:13:43 2000
#---
[ -r /etc/sysconfig/mouse ]  . /etc/sysconfig/mouse

BINARY=$(which imwheel)

[ $WHEEL = yes -a -n $BINARY ]  $BINARY -p -b 0067

# imwheel ends here

(note -b 0067 option seems to be the only way to keep imwheel from 
screwing up the wheel scrolling function)

Contents of /etc/X11/xinit.d/mouse_buttons

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

From everything that I have been able to find on this subject, this 
should work the way I want it to, but still no luck. Please help if you 
can, I have run out of things to try.

Dax



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com