previous   Configuration DialogThe Basics   next


Configuration Directory

When you quit Jpgfdraw, the current settings will be saved in Jpgfdraw's configuration directory.3.2 This directory is determined (and created if necessary) as follows: if the environment variable JDRSETTINGS exists and is a directory, that directory is used, otherwise if the operating system supports hidden directories starting with a dot and the environment variable HOME exists, the directory $HOME/.jpgfdraw will be used, otherwise the directory $HOME/jpgfdraw-settings will be used. If the environment variable HOME does not exist, then the directory $HOMEPATH/jpgfdraw-settings will be used, if HOMEPATH is defined, otherwise it will attempt to create a subdirectory called settings/$USER or settings/$USERNAME (or just settings if the environment variables USER or USERNAME are not defined) in Jpgfdraw's installation directory and use that.

The configuration directory may also contain the list of recent files (this file is created by Jpgfdraw) as well as the LaTeX font mappings (which you can create in any text editor). For more information on the font mappings, see Font Family.

In addition, the configuration directory is used to save the log file, jpgfdraw.log, in the event that F10 is used (or Debug->Write Log if the command line option -debug is used). The emergency save all function F11 (or Debug->Dump All if the command line option -debug is used) will create a subdirectory (using the current date and time to construct the name) and will save all open images to that directory with filenames of the form image<n>.jdr.



Footnotes

... directory.3.2
unless you have selected the use current settings option in the Startup Settings panel, in which case it will save the current settings at that point.

previous   Configuration DialogThe Basics   next