Mnenhy 
| resources: | Home Download & Installation Documentation Bugs Source Code Version History Spinoffs |
|---|
| Contents | Contents | Custom Headers, incl. X-Faces |
Introduction
- What's Mnenhy?
- Download & Installation
- Preferences & Files
- Uninstallation
- Tips & Tricks
- Debug
- Bugs
- History
- Contact
What's Mnenhy?
The primary goal of the Mnenhy project is to make some enhancements to SeaMonkey/Mozilla MailNews, since there're still plenty of comfort functions missing when compared to Netscape 4.x and other mail and news clients. Meanwhile, the Mozilla Foundation has released a stand-alone mail and news client named Thunderbird that is built upon the same core (despite some modification in the UI), so most of Mnenhy's features, especially the Custom Headers and the Folder Storage, are available there also.
But Mnenhy has more features that will enhance your browsing experience (various Text Codecs like ROT-13, Kenny, Unicode and more) with Mozilla and even Firefox or help you in developing for the Mozilla platform (Chrome Manager for manipulating the Mozilla chrome registry and Registry Viewer for viewing registry.dat type files).
By the way: The project name Mnenhy is an acronym based upon MailNews-Enhancements.
The y has been added just for fun. :-)
And, lo!, it's pronounced like mn+any...
Download & Installation
The current Mnenhy version is always available for download and installation from http://mnenhy.mozdev.org/. The package contains all Mnenhy modules and several locales like English, German, Polish, Italian and French.
More translations are welcome! If you want to translate Mnenhy into your locale, please contact me!
Upgrading an extension via the Extension Manager of Thunderbird and Firefox may (though seldomly) result in a misconfigured chrome registry, so uninstalling an old version of Mnenhy before installing a new one is recommended.
Advanced Installation
When installing Mnenhy in SeaMonkey or Mozilla, Mnenhy's installer provides some advanced, though purely optional, configuration options not available in an Extension Manager installation. Just access the XPI from the browser URL bar by:
scheme://path/to/mnenhy.xpi?arguments
where scheme is something like http or file. arguments must be the string representation of an array of objects, with these possible members:
- lang:
The language code of the language to use during the installation process. Only the last lang argument will be used, currently supported values are- en-US (English, default if lang is missing)
- de-DE, de-AT (German)
- pl-PL (Polish)
- it-IT (Italian)
- fr-FR (French)
- locale:
The language code of the language pack to install, currently supported values are the same as for lang. If locale is missing, all contained languages will be installed. - content:
The name of a Mnenhy subpackage to install, currently supported values are- mnenhy: The base package; will be installed always, if any other content is requested.
- headers: Custom Headers & X-Faces
- folderstore: Folder Storage
- codecs: Text Codecs
- sidebar: MailNews Sidebar
- chroman: Chrome Manager
- regrig: Registry Viewer
- junk: Junk Tools
- overwrite:
Installing content can only be done if no Mnenhy installation exists yet. Hence trying to install a new Mnenhy version without uninstalling the old one first or after an otherwise failed uninstallation attempt will result in failure.
To solve this, you can either- locate all files named mnenhy*.jar in your profile's or application's chrome subdirectory and delete them; or
- set the overwrite configuration argument to true.
Example:
The following (rather long) line will install the base content package, plus the codecs
subpackage, plus the locales de-DE and en-US. It will use de-DE for the
installation dialogs (because that lang argument came last) and will not check if Mnenhy
is already installed:
file:///mnenhy.xpi?[{lang: "pl-PL", locale: "de-DE", content: "codecs"}, {lang: "de-DE", locale: "en-US", overwrite: true}]
Preferences & Files

Mnenhy main preferences panel
Mnenhy provides its own set of preferences panels that are available from the main level of the standard Mozilla preferences dialog or from the Thunderbird/Firefox Extension Manager. While the main panel allows to activate each Mnenhy module individually, some modules bring along their own subpanels.
Generally, Mnenhy stores its configuration in the Mozilla preferences system, in its own preferences hierarchy named extensions.mnenhy.*. But since some of the modules may produce large amounts of data, other files are created in the user's profile directory and, depending upon user interaction, possibly somewhere below the subdirectories chrome or extensions.
Mnenhy's package files are stored in the usual locations, i.e. the user profile's or application's chrome directory or the Extension Manager's file repository.
All these files will have names starting with "mnenhy"; they can be deleted after uninstalling if you plan to abandon Mnenhy.
Uninstallation
Mnenhy has its own uninstaller that can be accessed via its main preference panel. While using the Extension Manager is of course possible (in Thunderbird or Firefox), it is recommended to use the Mnenhy uninstaller, because it reverts the modifications Mnenhy has made.
Currently, uninstalling Mnenhy will not delete the customization files mnenhy.rdf and mnenhy-folderstore.rdf in your profile, so any new Mnenhy installation can pick up your old settings. If you don't intend to use future Mnenhy versions, you can safely delete both these files.
Tips & Tricks
-
Mnenhy adds itself to the User-Agent string of the Mozilla application it is installed into. This can be turned off by adding the following line to your user.js:
user_pref("extensions.mnenhy.useragent.nooverride", true);You may also need to delete the preference entries for extensions.mnenhy.useragent.fake and general.useragent.override to restore the original behaviour.
Please don't turn this setting off! The User-Agent string currently provided by Thunderbird violates Usefor rules and hampers support enormously, especially of localized versions, because it does not provide enough information (but Mozilla still does). Mnenhy restores the format used by Mozilla.
-
Per default, Mnenhy backups any files it changes during uninstallation to a special directory named .mnenhy.bak in your profile's or application's chrome or extensions subdirectory. This can be turned off by adding the following line to your user.js:
user_pref("extensions.mnenhy.uninstall.nobackup", true); -
Per default, Mnenhy tries to shutdown your Mozilla application after making changes to the chrome directory, so that the chrome cache will not get out of sync with reality. This can be turned off by adding the following line to your user.js:
user_pref("extensions.mnenhy.noshutdown", true);It is strictly not recommended to turn this off! Your Mozilla application may enter invalid states and crash!
- If you get the Mnenhy installation complaining about old versions, please refer to the section on Advanced Installation, override argument above.
Debug
- If all else fails, make a log...
Most of the Mnenhy modules support logging of debug information, either to a file, the console or the JavaScript console. Add the following line to your user.js:
user_pref("extensions.mnenhy.log", "$mode");
where $mode is one of these values:
| $mode | log target |
|---|---|
| file | The file mnenhy.log in the user profile. |
| shell | The text console. Start your Mozilla application with -console if your system does not provide a text console by default. |
| console | The JavaScript console. |
| anything else | No logging. |
Activating logging for Mnenhy will also set these preferences to get even more debug output (event though that is not written to mnenhy.log):
user_pref("javascript.options.strict", true);
user_pref("javascript.options.showInConsole", true);
user_pref("browser.dom.window.dump.enabled", true);
Logging is turned off for Mnenhy modules by default, so you have to activate it for each module explicitly. See the respective module documentation for details.
You can activate logging of the uninstall process by adding the following line to your user.js:
user_pref("extensions.mnenhy.log.uninstall", true);
Bugs
If you find a bug in Mnenhy or if you have suggestions for enhancements, please open a report in the Mozdev Bugzilla. Make sure that it hasn't already been filed!
You may also contact me.
History
An extensive overview over past Mnenhy development can be found here.
Contact
If you have questions, corrections or suggestions, either post them to the newsgroup public.mozdev.mnenhy (mozdev/maduser) or email me directly.
And if you like Mnenhy, please send me a postcard: :-)
Karsten Düsterloh — Hohe Egge Oberweg 6 — D-45549 Sprockhövel (Germany)