You may download the latest version of FXred from my homepage.
You need:
In order to get FXred working, you need to make X11 recognize the red button as button 4. The following sections explain this for different X-Servers.
Edit the file
XF86Config
On my SuSE 7.0 system this is
/etc/X11/XF86Config
Change the section
Section "InputDevice" Driver "mouse"to contain this entry:
Option "Protocol" "MouseManPlusPS/2" Option "Buttons" "4"
From Version 4.1 on the following configuration allows you to use the red button without fxred.
Section "InputDevice" Driver "mouse" Identifier "Mouse0" Option "Device" "/dev/psaux" Option "Name" "AutoDetected" Option "Protocol" "MouseManPlusPS/2" Option "Vendor" "AutoDetected" Option "Buttons" "4" Option "XAxisMapping" "6 7" Option "YAxisMapping" "4 5" Option "EmulateWheel" "1" Option "EmulateWheelButton" "4" EndSection
The advantage here is that you don't need an additional program to use the red button. The disadvantage is that you can only send scroll events. fxred allows to send different kind of key strokes depending on the used modifier keys. So you may scroll in terminal programs (e.g. vi) that have no conception of scroll events.
In order to compile and install FXred on your system, type the following in the base directory of the FXred distribution:
% ./configure
% make
% make install
Since FXred uses
autoconfyou should have not trouble compiling it. Should you run into problems please report them to the the author at Lars Krueger
In case your X Server is not the same as your X Client (e.g. you have an X Terminal or logged into another system), fxred needs to run on machine you log into. If you run it on the machine where the X Server runs fxred is not able to handle the red button.
The best place for the configuration file is
/etc/fxredrc
A sample configuration file is included as
fxredrc. This will be installed as
prefix/etc/fxredrcwhere
prefixis what you told the
configure
command.