Magic Smoke Client Help Menu

Per default the Help menu of the client shows three "About" entries, which are fixed, and one help entry which points at a default location. The latter can be replaced by one or more custom entries.

You can customize the help menu of the MagicSmoke client to point at the documentation you chose to show to your users.

Config Locations

MagicSmoke checks two locations for configuration of the help menu: its data directory (Linux/Mac: $HOME/.magicSmoke2; Windows: %APPDATA%/.magicSmoke2) and the installation directory where the executable is located. In both locations it checks for a file named helpMenu.xml - if found each file is parsed and read into the help menu. If none is found the default entry is used.

Config Syntax

The configuration files allow to define active menu items and separators (with optional labels). The syntax is quite simple:

        <Item label="&Help Index">default:/</Item>
        <Item label="Help &Client">default:/client/index.html</Item>
        <Separator label="external"/>
        <Item label="Heise"></Item>
The Item tag defines an active menu item. The label attribute defines what is shown as menu entry - if it contains an ampersand the following letter is used as shortcut. The text of the item is the URL of the help file (usually HTML) to be displayed. MagicSmoke uses the default browser for this type of URL to display the help file - usually file: and http: type URLs in combination with HTML files will work regardless of operating system - other URL types or file types may or may not work. The default: URLs are a special case, if a doc directory is present in the installation directory then help files are sought there, otherwise they refer to a default URL that is compiled into MagicSmoke (defined in src/

The Separator tag defines a simple separator line in the menu. The optional label attribute defines a label shown on the separator. Whether the label is actually visible depends on GUI style (e.g. the default Linux style "cleanlooks" does show them, while the default Windows style does not).

Items and Separators are shown in exactly the order they are listed, first the ones from data directory then those from the installation directory.