/ Markus Amersdorfer:home / university / about:me /
\ Say NO to Software-Patents! \


This page is all about Mozilla, IMHO the web-suite. (Install instructions here are for Debian GNU/Linux, but should work for any other distribution too.)
BTW: The site for "German Mozilla" is mozilla.kairo.at.

Table of contents:



Using the TrueType Font Engine FreeType2 - which is already part of Debian Sarge - and some TrueType fonts, you can easily teach your Mozilla to use Anti-Aliasing.
Credits: This trick is based on Debian's Mozilla configuration saved in /etc/mozilla/prefs.js. A more detailed description than this one can also be found in Debian Mozilla package which provides this file among others.

Install: (Tested on Debian Sarge with Mozilla 1.3, 1.4b, 1.4rc's, 1.4)
The configuration file you need to change is /opt/mozilla/defaults/pref/unix.js (for e.g. Mozilla 1.3 - 1.4) or /opt/mozilla/greprefs/all.js (for e.g. Mozilla 1.7b). Simply edit it as follows:

  // Change the following:
  //pref("font.FreeType2.enable", false);
  pref("font.FreeType2.enable", true);

  // And add (e.g. after "//pref("font.directory.truetype.3", "/u/sam/tt_font3");"):
  pref("font.directory.truetype.1", "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType");
  pref("font.directory.truetype.2", "/usr/share/fonts/truetype");
  pref("font.directory.truetype.3", "/usr/share/fonts/truetype/openoffice");

As already linked above, I use an officially available TrueType fonts package from Microsoft as well as the Debian package x-ttcidfont-conf.

Hint 1:
To benefit from these changes on pages which do not already set the font to an anti-aliasable one (e.g. using stylesheets), you should change Edit -- Preferences -- Appearance -- Fonts and e.g. use Mono-times new roman-iso8859-1 for "Serif" font and MONO-andale mono-iso8859-1 for the "Monospace" one.

Hint 2: (03-10-23)
As I found here, you should be able to make these changes permanent (in order to not have to perform them every time you upgrade your Mozilla) by editing the file user.js in your profile. (Using MozillaFirebird-0.7-xft currently which seems to make use of antialiasing by deafult already, I haven't tried this yet...)

Hint 3: (04-05-05)
If you're running Debian Sarge and are using its Mozilla-packages (version 1.6 currently), the easiest thing to do to get Mozilla use Anti-Aliasing is to install the package "mozilla-xft": Simply run "apt-get install mozilla-xft" -- and the next time you start your browser its gonna be in full anti-aliased beauty.
Once again Debian at its best ... :)


German articles on Firefox extensions: Mozilla-Stiftung kürt beste Erweiterungen für Firefox 1.5.
And the Winner is... - Extensions.


Smoothwheel enables smooth page scrolling (with "acceleration") using your mouse wheel.
Great! Many thanks to its creator "avih"!

Install: (Tested on Debian Sarge with Smoothwheel 0.2 on Mozilla 1.3, 1.4b, 1.4rc's, and Smoothwheel 0.31 on Mozilla 1.4)
Download the .xpi from the homepage (directly installing it from the web without temporarily saving it locally did not work here for some reason).
Next, install it by starting Mozilla as root, go to the directory you saved the .xpi into and click on it. This creates the directory /opt/mozilla/chrome/smoothwheel/ (or similar, depending on where your mozilla-binaries are located).
All you have to do to get Smoothwheel working with normal (non-root) users, is to make the files in this directory world-readable: chmod 644 /opt/mozilla/chrome/smoothwheel/content/*

For Smoothwheel 0.31 and Mozilla 1.4 in /opt/mozilla/chrome/smoothwheel/content/smoothwheel.js I changed the value of sw_PresetSettings to 3, as I like this scroll-behaviour more.

Sherlock/Microft Plugins

Wanna search fast for English <--> German translations on dict.leo.org?
Well, of course you could enter something like dict.leo.org/?searchpattern into your browser's URL, but not having to type the URL in any way would be great, wouldn't it...?

Just drop by mycroft.mozdev.org and use such a "Sherlock" (or "Mycroft") plugin for Mozilla and/or Mozilla Firefox. Search for "dict.leo.org" as the site name, install the plugin and change the search-engine next to your address bar to use "dict.leo.org".
This of course also works with wikipedia.org, CiteSeer, Debian Package Search, PHP functions, java.sun.com, etc. etc. etc. ...

BTW: The corresponding files can be located in your browser's install-directory, subdirectory searchplugins.


FAQs and HOWTOs, also covering Plugins.


The two most important solutions for a Mozilla Java-Plugin are to use Sun's official Java or the corresponding Blackdown version (which is a specifically for Linux "enhanced" build).
Mind -- Mozilla 1.4: From the Mozilla 1.4 Release Notes: The official Mozilla 1.4 binaries are compiled with GCC 3.2, thus you'll need the 3.2 version of Sun's or Blackdown's Java plugin. There are also some issues with Flash.

Basically it boils down to copying the file into the Mozilla's Plugins-directory:
cp /opt/java/jre/plugin/i386/ns610/libjavaplugin_oji.so /opt/mozilla/plugins/
(With Sun's Java, it also works to simply create a symlink. Blackdown's Java has a "mozilla" directory instead of "ns610".)
Of course you'll need to restart Mozilla before being able to use the Java plugin.



Wanna know which file does what in your Mozilla profile directory?
See http://gemal.dk/mozilla/files.html.


"Bookie is an application which keeps all your bookmarks on a central server so that you can access bookmarks from anywhere on the web."


"wwwampire is just funny looking name for project that will create an architecture for sharing extended bookmarks and using them for various purposes."


booksync is similar to wwwampire and bookie. Though, booksync is a batch script for the Windows user to keep their bookmark-files in sync.


Diggler adds a button next to the location bar which can clear the location bar (much like the one in Konqueror) but also drops down a menu with some useful actions such as being able to disable popup windows and navigate to parent directories in URLs.

Mozilla won't start after update?

If after a new installation Mozilla won't start (or e.g. the calender is "messy" and doesn't behave properly), delete the file cert7.db, history.*, XUL.mfl, localstore.rdf from the profile. (But make backups before in case you'd need them!! :) ...).

Startup Scripts

Startup scripts for Mozilla.

Backup your Mozilla data

Windows-Only: To backup and restore your profile-data, see Mozilla Backup - also works with Mozilla Firefox, Mozilla Thunderbird and Netscape.


A Brief Guide to Mozilla Preferences.

Externel Mail User Agent

Here is a thorough description of how to get Mozilla to open an external MUA (such as Sylpheed) if you click on a "mailto:..." link.

In essence, it boils down to pointing your browser to about:config, set the boolean option network.protocol-handler.external.mailto = true and the string option network.protocol-handler.app.mailto = mailto.sh. If they don't exist already, create them using right-click and new ...
For Sylpheed, mailto.sh looks like the following -- and don't forget the quotes ...:

  sylpheed --compose "$1"

Mozilla Firefox

"This page contains various tips and tricks for Mozilla Firefox."

With Mozilla Firefox 1.0 PR, the "find-as-you-type"-feature was disabled by default. In order to get it working again, go to the URL "about:config" and change the setting "accessibility.typeaheadfind" to "true".

A great page for knowledge about Mozilla Firefox is Firefox Help.
Here's a Plugin FAQ page.

Here's how to make Firefox a Kiosk Browser.

Here's an Interview with Mozilla President Mitchell Baker just after the Firefox 1.0 release.

Google-Toolbar für Firefox.

Mozilla Firefox 1.5, Java 5.0 and the Adblock extension

Yes, I know this page has not been updated for a ridiculous time period already. Still, just to make sure it doesn't get lost, a small update from the front:
If after your upgrade from Firefox 1.0.7 to Firefox 1.5 your Java applets are not shown anymore, check if you have the Adblock extension installed. If so, make sure to in the "Tools > Extensions > Adblock > Preferences > Adblock Options" deactivate the "Obj-Tabs". This should get your Java applets going again ...
BTW: The Java version I tested this with is jdk1.5.0_06.

List of currently installed Addons

Here's a short list of extensions I have installed with Firefox 2.0:

back to index

Valid HTML 4.01! Valid CSS! Created with Vim [Blue Ribbon Campaign icon]
© Markus Amersdorfer (markus<dott>amersdorfer<att>subnet<dott>at)
last modified: 2010-02-23 15:42:24
1900 hits