Previous: , Up: Getting started   [Contents]


3.9 Command-line GUI

You can start Msc-generator in the command line with the --gui switch. This opens a GUI, where you can work with charts. Most of the GUI is quite straightforward, here we just list a few things you may not discover by yourself at first.

MscGen-CL-GUI
MscGen-CL-GUI-Settings

There are also a few settings to tweak.

You can use the following command-line switches alongside --gui.

-S <chart type>

Adding this will skip the welcome screen and start the GUI with a fresh copy of the specified chart. If you also specify a filename, then here you can force its type.

<input filename>

The file specified will be opened. Its chart type will be deduced from its extension or its content if it is a PNG file containing a chart (saved by Msc-generator).

--nodesigns

This will skip loading the design libraries as usual.

Some other switches will abort (such as --utf16 to force a UTF-16 encoded input), because the GUI does not support them, but some switches will just be silently ignored (such as -q for quiet output).

The GUI has a settings file .msc-generator-ini, which stores window positions, settings and the recently opened file list. On Linux it is placed into $HOME/.msc-genrc by default or to $MSC_GEN_RC/.msc-genrc. On Windows it is in the AppData\Roaming\Msc-generator folder. You can freely delete this file to erase settings and history.


Previous: Command-line Tool, Up: Getting started   [Contents]