Frequently Asked Questions
As this thing grows, I will start to organise it. Submissions and requests to me.
Q. How do I get the wheel on my wheel mouse to work in X Windows?
A. Depends on which major version of XFree86 you are using, 3 or 4.
For XFree86 3.x, the "Pointer" section of the XF86Config file should look like this:
Section "Pointer" Protocol "Auto" Device "/dev/mouse" # Emulate3Buttons # Emulate3Timeout 50 # ChordMiddle is an option for some # 3-button Logitech mice # ChordMiddle ZAxisMapping 4 5 EndSection
Notice that the Emulate* and Chordmiddle options are commented out.
For XFree86 4.x, the "InputDevice" section for your mouse in your XF86Config file should look like this:
Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/mouse" Option "Buttons" "5" Option "ZAxisMapping" "4 5" EndSection
Q. The fonts in Netscape are terrible. How do I fix this?
A. Put the following lines in your ~/.Xdefaults file:
Netscape*documentFonts.sizeIncrement: 20 Netscape*documentFonts.xResolution*iso-8859-1: 100 Netscape*documentFonts.yResolution*iso-8859-1: 100
Q. How do I get the wheel on my wheel mouse to work in Netscape?
A. Add the following lines to your ~/.Xdefaults:
Netscape*drawingArea.translations: #replace\: ArmLink()\n\ : ArmLink()\n\ ~Shift : ActivateLink()\n\ ~Shift : ActivateLink(new-window)\ DisarmLink()\n\ Shift : ActivateLink(save-only)\ DisarmLink()\n\ Shift : ActivateLink(save-only)\ DisarmLink()\n\ : DisarmLinkIfMoved()\n\ : DisarmLinkIfMoved()\n\ : DisarmLinkIfMoved()\n\ : DescribeLink()\n\ : xfeDoPopup()\n\ : ActivatePopup()\n\ Ctrl : PageUp()\n\ Ctrl : PageDown()\n\ Shift : LineUp()\n\ Shift : LineDown()\n\ None : LineUp()LineUp()LineUp()\ LineUp()LineUp()LineUp()\n\ None : LineDown()LineDown()LineDown()\ LineDown()LineDown()LineDown()\n\ Alt : xfeDoCommand(forward)\n\ Alt : xfeDoCommand(back)\n Netscape*globalNonTextTranslations: #override\n\ Shift : LineUp()\n\ Shift : LineDown()\n\ None : LineUp()LineUp()LineUp()\ LineUp()LineUp()LineUp()\n\ None : LineDown()LineDown()LineDown()\ LineDown()LineDown()LineDown()\n\ Alt : xfeDoCommand(forward)\n\ Alt : xfeDoCommand(back)\n
This assumes you have already configured X Windows to work with your wheel mouse.
A. You will need to modify you /etc/mail/sendmail.cf, and set some environment variables.
In sendmail.cf you need to set the Smart Relay host to your service provider's outgoing SMTP server like so:
# "Smart" relay host (may be null) DSmail.kico1.on.home.com
You also need to set up your account as a trusted user so that you will be allowed to set your own name and account info on the outgoing message:
# this is equivalent to setting class "t" #Ft/etc/mail/trusted-users Troot Tdaemon Tuucp Tmark
By default, sendmail would use your local username and machine name when sending mail, and that would likely get bounced by the receiving server since your internal accounts and machine names are not legit on the global Internet.
A better solution would probably be a ruleset in sendmail.cf that munges the envelope and headers for you. If someone has such a ruleset, please send it to me!
Next you need to set three enviroment variables in your .profile or equivalent:
export MAILHOST=home.com export MAILUSER=bofh export MAILNAME="Mark Drummond"
And that is about it!
