Table of Contents
VjControl has a number of user-configurable options. On startup, it will attempt to load these preferences from the file $HOME/.vjconfig/vjcontrol.cfg. If that file does not exist, VjControl falls back to its hard-coded defaults.
The preferences can be accessed from "Preferences" in the Options menu. "Edit Preferences" brings up a window to (surprise) edit the preferences. This is the same as the usual window used for editing ConfigChunks. The "Save Preferences" option saves the current preferences to $HOME/.vjconfig/vjcontrol.cfg, where they will be loaded from the next time VjControl starts.
Look and Feel
This option lets the user change the overall look-and-feel (L&F) of the GUI, using the Java Swing classes. The possible options are: Java (the default, also called "Metal"), Motif, Windows, and Macintosh. Note that the Windows and Mac L&Fs are only available when running on their respective platforms. VjControl will revert to Java/Metal if the requested L&F is unavailable.
Most of the differences between L&Fs are cosmetic, but you may wish to experiment. The Windows L&F performs slightly better than Java/Metal under W98/NT. The Java/Metal L&F has been most extensively tested.
Default Host and Default Port
These options are the default host name and port number that will appear in the Connections panel. See Chapter 11 for more information.
Preload ChunkDesc Files
Here you can specify one or more Chunk Description files that will be loaded automatically when VjControl starts up. The arguments are simply pathnames to files. If the strings $VJ_BASE_DIR or $HOME are included in a path name, they will be replaced with the value of the $VJ_BASE_DIR environment variable or the user's home directory, respectively.
It is suggested that you include $VJ_BASE_DIR/share/Data/chunksDesc, the main Chunk Description file.
You can override the automatic loading of files at startup by using the -noautoload command-line argument (refer to Chapter 6 for more information).
Preload Configuration Files
This lets you specify one or more Configuration files to load at startup (The details are similar to the option above).
Default ConfigChunk Files
This lets you specify one or more Configuration files which contain default values for new ConfigChunks. When you create a new ConfigChunk in VjControl, it checks the default files for a Chunk of that type. If found, it copies that value into the new Chunk.
Font Name and Font Size
This specifies the name and size of font to use for all of VjControl's windows. Note that currently only a small number of fonts are available (this is a limitation of JDK 1.1, and will be fixed at a later date).