LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   imwheel Configuration problems (https://www.linuxquestions.org/questions/linux-software-2/imwheel-configuration-problems-100354/)

enigma Z 10-04-2003 11:08 PM

imwheel Configuration problems
 
Hey, I've got an M$ Intellimouse Optical, and I would like to use the extra side buttons

I've edited my XF86Config-4 file to include the two extra buttons, but how can I set up a script to load the xmodmap command each time I boot??

Furthermore, I downloaded imwheel, but when I go into the terminal to run imwheel, I get an error that there is no configuration file. Is there some shell script that I can run to give myself a config file to work with so that I can run imwheel??

apberzerk 10-10-2003 05:20 PM

First of all, make sure you have the following in XF86Config-4:

Option "Buttons" "7"
Option "ZAxisMapping" "6 7"

and that the protocol for your mouse is something compatibility with imwheel.... Uh, i think ExplorerPS/2 and IMPS/2 are ok (i know the first one is).

Then, I use a script to run xmodmap and imwheel at startup... it's in my ~/.kde/Autostart directory and looks like this:

#!/bin/sh

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

imwheel -k -b "67"


Then, I create ~/.imwheelrc (the imwheel configuration file) and include the following:

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

The ".*" tells it to apply to everything, not just a certain program.

apberzerk 10-10-2003 05:21 PM

My problem is that everytime I try to setup imwheel it always takes me several days before I get it right! Even right now as I type this, I don't have it working!

enigma Z 10-10-2003 06:41 PM

The prob that I am having is that I don't kno how to create the file manually or with a scirpt. I have no confiuration file. Is there a script that I am supposed to run or something, or have I just missed something??

apberzerk 10-10-2003 06:43 PM

Just create it the way you would any file. Type "vi .imwheelrc" from within your home directory. Then press 'i' to be able to edit the file and ':wq' to save and quit when you are done

enigma Z 10-10-2003 09:56 PM

But I don't know what tp put in it. I have zero experience with imwheel, and don't know how to properly make a config file

apberzerk 10-17-2003 04:53 PM

i explained what goes in the configuration file in my first post :-)

enigma Z 10-17-2003 06:15 PM

Oh. Sry, you said that you include the following, and I thought that you meant that there should be other stuff other than what you put as well


All times are GMT -5. The time now is 05:29 PM.