LinuxQuestions.org
Help answer threads with 0 replies.
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 05-02-2006, 01:00 PM   #1
m_memmory
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
Intellimouse Explorer in Ubuntu


I've tried searching and reading other threads/sites and I'm still having trouble so I'll start a thread and see if anyone can assist.

I'm using Ubuntu 6.06 with all the latest downloads/patches for it. I have (pretty much) everything running as I want apart from my mouse - I want the back/forward buttons to work as back/forward buttons in Firefox (if it could work in anything else as well cool but I'd be happy with just Firefox)

I've got imwheel installed and I've set up xorg.conf as follows:
Quote:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection
I've altered the file /bin/X11/imwheel/startup.conf so that imwheel should start with X.

I've created a file /home/user/.imwheelrc as follows:
Quote:
".*"
None, Up, Alt_L|Left
None, Down, Alt_L|Right

"(null)"
None, Up, Alt_L|Left
None, Down, Alt_L|Right
And I have a file that runs at startup with the following command in it:
Quote:
exec xmodmap -e "pointer = 1 2 3 6 7 4 5" &
exec imwheel -k -b "67" &
exec $REALSTARTUP
But when ubuntu starts up my side buttons work exactly the same as my left mouse button and if I roll the wheel then I get the forward/back button functionality (up goes back in my URL history and down goes forwards)

If I run the command xmodmap -e "pointer = 1 2 3 6 7 4 5" then I get the following output:
Quote:
xmodmap: commandline:1: bad number of buttons, must have 11 instead of 7
xmodmap: 1 error encountered, aborting.
This confuses me as I can understand my mouse being considered as a 7 button mouse (left, middle, right, wheelup, wheeldown, sidebutton1, sidebutton2) but I can't understand where the other 4 buttons would come into play.

I'm totally stuck now and have no more ideas. Although I'm a total newbie when it comes to using Linux I'm a fairly competent computer user and this is just something that I want to be able to get past as this is just one of a couple of minor iritations that is stopping me from dumping XP altogether.

Any help would be greatful
 
Old 05-02-2006, 01:46 PM   #2
m_memmory
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Original Poster
Rep: Reputation: 0
No need to bother now - I seemed to have fixed it.

For anyone else having a similar problem - here's what did it.

I went back into the xorg.conf with the idea that I'd set the ZAxis back to "4 5" as I figured that I'd use the scrolling function a lot (and accidently backing you way through your history is really annoying!) but I left everything else the same so that I wouldn't have to alter it all over again.

I then pressed Ctrl Alt & Backspace to restart X.... this led me to a text only screen to log-in (which I seem to get a few times when I try that... but that's another story)

So reboot - back into Ubuntu with no problems - and the mouse works as expected. Scroll works again (phew...) but also the back and forward buttons are working as they would be expected to in Firefox! Joy!!
 
Old 05-02-2006, 04:15 PM   #3
SweetLou
Member
 
Registered: Oct 2004
Distribution: Debian Testing
Posts: 171

Rep: Reputation: 30
I have my Microsoft Intillimouse and the software set up like this:
Code:
XF86Config-4:
Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"ZAxisMapping"		"6 7"
	Option		"Buttons"		"7"
EndSection
My .imwheelrc is like:
Code:
".*"
 None, Up,   Alt_L|Left
 None, Down, Alt_L|Right
 None, Left, Page_Up
 None, Right, Page_Down
Then for a startup script, I have xmodmap like:
Code:
xmodmap -e "pointer = 1 2 3 6 7 4 5"
and start imwheel like:
Code:
imwheel -k -b "6745"
I do it a little differently than others that I see. Notice the "6745" when starting imwheel and the difference in the .imwheelrc file. It must by "6745", I did it first as "4567" and that didn't work. I did it for a couple of reasons, I added the 4th and 5th buttons for imwheel to modify along with the 6th and 7th buttons. This allows me to go forward and backwards as well as scroll by page in Firefox. But that was easy, you don't need to do that for Firefox. What I did need it for is in Gnome, so that Nautilus would go back and forth as well as scroll. The same when I used KDE for Konqueror. I also needed this for Opera to work the way I wanted it to work. If I remember correctly, Konqueror didn't scroll by page, but it was better than before when using it as a file browser.

Last edited by SweetLou; 05-02-2006 at 04:19 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
MS Intellimouse 4 Explorer GrafMagermilch SUSE / openSUSE 3 11-16-2005 08:08 AM
intellimouse explorer 3.0 on linux roYal Linux - Hardware 1 06-04-2004 04:47 PM
IntelliMouse Explorer 3.0A hyperriven Linux - Hardware 5 03-20-2004 02:20 PM
MS Intellimouse Explorer Scrolling acjt Linux - Hardware 8 07-20-2003 10:47 AM
Intellimouse Explorer JHuizingh Linux - General 5 07-04-2003 11:26 PM

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

All times are GMT -5. The time now is 05:26 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