Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Microsoft IntelliMouse Optical Configuration
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
brainlock
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2002
Posts: 110

PostPosted: Wed Jan 29, 2003 6:30 pm    Post subject: Reply with quote

I've got some problems with imwheel... Here is what I have done so far :

Like other people here I had some problems with the placement of the xmodmap instruction. Finally, I read my /etc/rc.conf file and found that since I have DISPLAYMANAGER=gdm and XSESSION=Gnome, the script that really gets loaded in my case is /etc/X11/Sessions/Gnome.

Now if you read that script, you will see that for system-wide use of the 7 buttons with the wheel working properly, you need to make a file called /etc/X11/Xmodmap in which u put this line:

Code:
pointer = 1 2 3 6 7 4 5


After u restart X, your mouse wheel will work as expected. Now here is where I run into problems... where do I put the imwheel -k -b "67" command? I have tried putting it in the /etc/X11/Sessions/Gnome script after it loads the Xmodmap file but that doesn't work.

Furthermore, when I type it in the console, this is what I get:

Code:
bash-2.05b$ 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


What is the problem here?

Any help appreciated,

Brainlock
Back to top
View user's profile Send private message
vibidoo
Guru
Guru


Joined: 27 Nov 2002
Posts: 409

PostPosted: Mon Feb 03, 2003 10:54 am    Post subject: Reply with quote

Ok I have mu usb mouse working

But I would like to impove it

I have put this on my /etc/X11/Sessions/kde3.1 file

Code:


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



On a web page I can use the wheel , but to use it I have to push on the wheel and turn it .

What I would like to do is just to turn the wheel it without to have to push it .

I hope you understand my request

Sorry for my english
Back to top
View user's profile Send private message
TelMarien
n00b
n00b


Joined: 21 Jan 2003
Posts: 26
Location: Largo, FL

PostPosted: Thu Feb 20, 2003 4:28 am    Post subject: Reply with quote

Think in the desktop install guide say's you are only suppose to use one or the other never both (hid or usbmouse). I have hid loaded seems to work fine.
Back to top
View user's profile Send private message
stig
Apprentice
Apprentice


Joined: 03 Sep 2002
Posts: 289
Location: Bærum, Norway

PostPosted: Sun Feb 23, 2003 11:20 am    Post subject: Reply with quote

Here is some extra info that might help someone...
When I tried to get the buttons to work with mozilla (1.2.1-r3) I encountered som problems. The nice little app "xev" told me that all the buttons were working (Intellimouse Explorer PS/2) but it didn't do anything in the browser.
After having followed this useful thread, I put (amongst other things)
Code:
imwheel -k -b "67"

in my /etc/X11/Sessions/fluxbox.
When I excecuted the command manually, It worked fine with mozilla, but when put in the startup file, it didn't.
When I changed the line in /etc/X11/Sessions/fluxbox to:
Code:
imwheel -p -k -b "67"
thus adding an additional "-p" made it work fine.
Hope it helps someone.
_________________
Allting har en ende, pølsen den har to.


Last edited by stig on Sat Oct 25, 2003 8:50 pm; edited 2 times in total
Back to top
View user's profile Send private message
Bowyakka
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2002
Posts: 142
Location: London

PostPosted: Sun Feb 23, 2003 3:09 pm    Post subject: Reply with quote

I cheated and just made imwehll suid root :(

brainlock wrote:
I've got some problems with imwheel... Here is what I have done so far :

Like other people here I had some problems with the placement of the xmodmap instruction. Finally, I read my /etc/rc.conf file and found that since I have DISPLAYMANAGER=gdm and XSESSION=Gnome, the script that really gets loaded in my case is /etc/X11/Sessions/Gnome.

Now if you read that script, you will see that for system-wide use of the 7 buttons with the wheel working properly, you need to make a file called /etc/X11/Xmodmap in which u put this line:

Code:
pointer = 1 2 3 6 7 4 5


After u restart X, your mouse wheel will work as expected. Now here is where I run into problems... where do I put the imwheel -k -b "67" command? I have tried putting it in the /etc/X11/Sessions/Gnome script after it loads the Xmodmap file but that doesn't work.

Furthermore, when I type it in the console, this is what I get:

Code:
bash-2.05b$ 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


What is the problem here?

Any help appreciated,

Brainlock

_________________
glows in the dark
Back to top
View user's profile Send private message
stig
Apprentice
Apprentice


Joined: 03 Sep 2002
Posts: 289
Location: Bærum, Norway

PostPosted: Mon Feb 24, 2003 8:31 am    Post subject: Reply with quote

...but did you try adding "-p" to imwheel when putting it in /etc/X11/Sessions/Gnome?
_________________
Allting har en ende, pølsen den har to.
Back to top
View user's profile Send private message
sun_downsi
n00b
n00b


Joined: 22 Feb 2003
Posts: 5

PostPosted: Thu Feb 27, 2003 3:57 am    Post subject: Reply with quote

K... I've read through this board.. Great tips!
:!: Please note though. Mozilla on it's own DOES NOT RECOGNIZE THE TWO SIDE BUTTONS ON THE INTELLIMOUSE EXPLORER! This is fluent through the Windows, Mac, and Linux versions.

Later
_________________
"A gun and a sharpie... What more could one want?" ~Twap from Untitled!
Back to top
View user's profile Send private message
vibidoo
Guru
Guru


Joined: 27 Nov 2002
Posts: 409

PostPosted: Fri Feb 28, 2003 1:32 pm    Post subject: Reply with quote

I would like to come back to 3 buttons instead of 5

I just bought a new Optcal wireless blue mouse .

my XF86Config was

Code:

Identifier  "Mouse0"
    Driver      "mouse"
    Option "Protocol"    "ExplorerPS/2"
    Option "Device"      "/dev/usbmouse"
    Option "Buttons" "7"
    Option "ZaxisMapping" "6 7"
    Option "Resolution" "1200"
 

This configuration work with my previous Usb Intellimouse Explorer .

But now to get my blue Optical mouse working I try

Code:

Identifier  "Mouse0"
    Driver      "mouse"
    Option "Protocol"    "ExplorerPS/2"
    Option "Device"      "/dev/usbmouse"
    Option "Buttons" "3"
    Option "ZaxisMapping" "4 5"
    Option "Resolution" "1200"
 

But I can just move verticaly

please what is the right configuration ?

My usb wireless receiver is well recognize as
Code:

input0 : Microsoft Microsoft Wireless Optical Mouse 1.0A on usb1:2.0
Back to top
View user's profile Send private message
jetblack
Guru
Guru


Joined: 15 Jan 2003
Posts: 340
Location: Evanston, IL, USA

PostPosted: Fri Feb 28, 2003 2:38 pm    Post subject: Reply with quote

vibidoo wrote:
I would like to come back to 3 buttons instead of 5

But now to get my blue Optical mouse working I try

Code:

Identifier  "Mouse0"
    Driver      "mouse"
    Option "Protocol"    "ExplorerPS/2"
    Option "Device"      "/dev/usbmouse"
    Option "Buttons" "3"
    Option "ZaxisMapping" "4 5"
    Option "Resolution" "1200"
 

But I can just move verticaly

please what is the right configuration ?



Is this a wheel mouse? Even if it's only a "3 button" wheel mouse (where the wheel is the middle button), you will need to tell X that it has 5 buttons. Change Option "Buttons" "3" to Option "Buttons" "5". Otherwise, it won't recognize that there are buttons 4 and 5 to map the scroll wheel to.

Not sure if this addresses the problem you are currently having, but it should make the mouse behave more like you'd expect.
Back to top
View user's profile Send private message
vibidoo
Guru
Guru


Joined: 27 Nov 2002
Posts: 409

PostPosted: Fri Feb 28, 2003 2:56 pm    Post subject: Reply with quote

yes it's a wheel mouse

I change from 3 to 5 buttons
still the same problem
Back to top
View user's profile Send private message
vibidoo
Guru
Guru


Joined: 27 Nov 2002
Posts: 409

PostPosted: Fri Feb 28, 2003 3:32 pm    Post subject: Reply with quote

Here my test with the usb -> PS2 adaptor

Code:

Identifier  "Mouse0"
    Driver      "mouse"
    Option "Protocol"    "ExplorerPS/2"
    Option "Device"      "/dev/mouse"
    Option "Buttons" "5"
    Option "ZaxisMapping" "4 5"
    Option "Resolution" "1200"

The mouse is working very well and the wheel run well on Mozilla.

Now connect directly to the USB
Code:

Identifier  "Mouse0"
    Driver      "mouse"
    Option "Protocol"    "ExplorerPS/2"
    Option "Device"      "/dev/usbmouse"
    Option "Buttons" "5"
    Option "ZaxisMapping" "4 5"
    Option "Resolution" "1200"


I still can only move verticaly
Back to top
View user's profile Send private message
vibidoo
Guru
Guru


Joined: 27 Nov 2002
Posts: 409

PostPosted: Fri Feb 28, 2003 3:52 pm    Post subject: Reply with quote

I fix it by

ismod hid

rather than

insmod usbmouse

So now my mouse is working , but I can not use the wheel

What do I have to modify on xmodmap ?
I tried this
Code:

xmodmap -e "pointer = 1 5 3 2 4"
imwheel -k b "45"
Back to top
View user's profile Send private message
vibidoo
Guru
Guru


Joined: 27 Nov 2002
Posts: 409

PostPosted: Fri Feb 28, 2003 4:11 pm    Post subject: Reply with quote

Everything is fixed

I just have to put this

Code:

xmodmap -e "pointer = 1 2 3 4 5"
#imwheel -k -b "45"


No need imwheel :?
Back to top
View user's profile Send private message
Sastraxi
Apprentice
Apprentice


Joined: 25 Feb 2003
Posts: 258

PostPosted: Sat Mar 01, 2003 5:02 am    Post subject: Reply with quote

'twill it work on the MX5/700s from Logitech? (I picked me up one of these MX500 beauties :)).
Back to top
View user's profile Send private message
Ric
n00b
n00b


Joined: 11 Oct 2002
Posts: 8

PostPosted: Tue Mar 04, 2003 3:53 pm    Post subject: Gtk2 Apps? Reply with quote

I noticed after i installed imwheel, that nautilus would never go back in directorys when i used the side button, but mozilla and phoenix worked find. Then i finally got around to compiling moz with GTK2, and the side buttons stopped working with there as well (same with ephiphany).
Anyone else having problems with GTK2 apps?
Back to top
View user's profile Send private message
Sastraxi
Apprentice
Apprentice


Joined: 25 Feb 2003
Posts: 258

PostPosted: Tue Mar 04, 2003 10:29 pm    Post subject: Reply with quote

Just so anyone knows, it works beautifully on my MX500. Mouse4/5 work flawlessly in RtCW, soon I will try it in WineX/CS.
Back to top
View user's profile Send private message
Kodama
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jan 2003
Posts: 85
Location: Linköping, Sweden

PostPosted: Wed Mar 05, 2003 8:43 pm    Post subject: Reply with quote

Great! Thanks for the info Knight and Megatron.
Back to top
View user's profile Send private message
grant.mcdorman
Apprentice
Apprentice


Joined: 29 Jan 2003
Posts: 295
Location: Toronto, ON, Canada

PostPosted: Fri Mar 07, 2003 11:37 pm    Post subject: Thumb button: I have a program that makes it a double-click Reply with quote

Anybody interested?

I don't have a web site, and I feel it's too small for a SourceForge project all on its own.

Drop me a message if you're interested.
Back to top
View user's profile Send private message
doalwa
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2003
Posts: 130
Location: Old Europe

PostPosted: Sun Mar 09, 2003 11:40 am    Post subject: Reply with quote

Yeah, you guys totally rule, my mouse works perfect now 8)

Quake 3 , here I come :lol:
Back to top
View user's profile Send private message
buckets
n00b
n00b


Joined: 25 Mar 2003
Posts: 2

PostPosted: Mon Mar 31, 2003 11:59 pm    Post subject: Reply with quote

Alex_K wrote:
i'm useing GDM, and it's not possible for me to execute the xmodmap and imwheel command automatically.

i have tried to write these commands in following files:

~/.xinitrc
~/.Xmodmap
~/.xmodmap
~/.xsession
/etc/X11/Xmodmap
/etc/X11/gdm/Sessions/Xsession
/etc/X11/gdm/Sessions/Gnome

if i run the commands manualy it works ...

i don't know what the problem could be.


I had the exact same problem, I fixed it by adding -p to the imwheel arguments:
Code:
imwheel -k -p -b "67"

I guessing here but I think my problem was that users didn't have rights to change the PID file so -p means ignore the PID file and just run the program.
Back to top
View user's profile Send private message
cytrox
n00b
n00b


Joined: 21 Aug 2002
Posts: 13

PostPosted: Tue Apr 01, 2003 5:42 pm    Post subject: Reply with quote

Great Tip! :)

Just an additional note, you can make your imwheel config working on a per-application basis, mine looks like this:

~/.imwheelrc:
Code:

"konqueror"
None, Up, Alt_L|Right
None, Down, Alt_L|Left

"kmail"
None, Up, plus
None, Down, minus


that way, in konqueror the two buttons act as Back and Forward buttons, whereas in kmail they act as "previous unread message" and "next unread message".

Just put the window class or window name as regex in .imwheelrc (instead of the generic ".*") and have a look which keyboad shortcut performs the desired action (in kmail "+" and "-" for prev and next unread msg), and bind them to the buttons in .imwheelrc.
Back to top
View user's profile Send private message
Drewgrange
Guru
Guru


Joined: 29 Mar 2003
Posts: 483
Location: Ohio, US

PostPosted: Wed Apr 02, 2003 9:20 pm    Post subject: Reply with quote

I love this thread :) I've always wanted to be able to use these nice little side buttons in linux. I've got one small problem though. They work as intended in konq, but in mozilla they work just like the mouse wheel.

Is it safe to just erase everything in the mozilla sections "Left RIght & Thumb stuff" section except for the needed None, Up, ..... None, Down, .... lines? I guess I could always just try and see if my mouse breaks :)
Back to top
View user's profile Send private message
Drewgrange
Guru
Guru


Joined: 29 Mar 2003
Posts: 483
Location: Ohio, US

PostPosted: Wed Apr 02, 2003 9:41 pm    Post subject: Reply with quote

No dice. Maybe its because I just upgraded to 1.4a. Oh well, thats what I downloaded mouse gestures for
Back to top
View user's profile Send private message
Vache
n00b
n00b


Joined: 17 Oct 2002
Posts: 45
Location: Springboro, Ohio

PostPosted: Thu Apr 03, 2003 12:36 am    Post subject: Reply with quote

I've gone through all the steps I've found in this post regarding the mouse configuration, but all my mouse does is scroll vertically now. Any clicks of the buttons send the mouse a few inches over to the right at a time. Perhaps someone could do a quick summary of all the information that has been presented here (?)
_________________
Fool me once, shame on you. Fool me twice... you can't fool me again
Back to top
View user's profile Send private message
capran
n00b
n00b


Joined: 01 Apr 2003
Posts: 48

PostPosted: Thu Apr 10, 2003 3:48 pm    Post subject: Reply with quote

Quote:

i'm useing GDM, and it's not possible for me to execute the xmodmap and imwheel command automatically.

i have tried to write these commands in following files:

~/.xinitrc
~/.Xmodmap
~/.xmodmap
~/.xsession
/etc/X11/Xmodmap
/etc/X11/gdm/Sessions/Xsession
/etc/X11/gdm/Sessions/Gnome

if i run the commands manualy it works ...

i don't know what the problem could be.



I'm having the same issue. I have the following my .xsession (copied to both my user and root home dirs:
#! /bin/bash
/usr/X11R6/bin/xmodmap -e "pointer = 1 2 3 6 7 4 5"
/usr/bin/imwheel -k -b "67"
/usr/X11R6/bin/xmodmap .Xmodmap

I've chmod +x it, copied it to .kderc, but it still doesn't load at startup. I'm wondering if anyone has had any luck.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 2 of 6

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum