Two Linux Questions - Firefox and profiles and Mouse

Spleeze

Member
Jan 15, 2004
54
0
0
hey guys, i've got a two linux questions so i hope you guys can help me out!

1. i have a logitech mx500 mouse and i would like to know how to make all of the buttons work, i managed to get the scrollbar working but the other buttons are all recognized as just the 3rd mouse button, its driving me nuts!

2. i have this problem with firefox and mozilla, im using slackware 10.1 and if i click on a launcher for firefox/mozilla everything works fine, but if firefox/mozilla is already running i get this "profiles" dialog and i can't launch another window without creating a new profile, or if i have a download going and close the main window i now have to wait until the download is done so i can exit firefox/mozilla completely and then restart the app.... also any link from an external program will give me the stupid profiles window if i already have a window open... this one is really making me crazy
 

bersl2

Golden Member
Aug 2, 2004
1,617
0
0
1. In /etc/X11/xorg.conf, in the InputDevice section that describes your mouse, add the following lines:
Option "Buttons" "$BUTTONS" # Replace $BUTTONS with the number of them that your mouse has, including scroll up and scroll down
Option "ZAxisMapping" "$B1 $B2" # Find out which two button numbers control scrolling

You may also need an Option "Protocol" besides "auto", but I wouldn't know what to use for your mouse. Also, xmodmap will remap keys and mouse button presses.

2. It's supposed to do that. Theoretically, an application is supposed to detect whether any given Mozilla-based application is currently using a given profile. If it is not, then it should run the program as usual. If it is, then an application is supposed to issue commands to the currently running process using a -remote directive at the command line. Unfortunately, not all programs are aware of this.

Basically, what you can do is make your own shell script that will check for current running instances of Firefox and issue an appropriate command if so. Check http://www.mozilla.org/unix/remote.html for old but still relevant details.