$FG HOME

From FlightGear wiki
Revision as of 07:30, 21 March 2013 by Hooray (talk | contribs) (more additions from P.)
Jump to navigation Jump to search
This article is a stub. You can help the wiki by expanding it.

$FG_HOME is an environment variable representing the path to where user-specific data is stored (not application data). Basically, it is a name for a directory that varies with the operating system and stores information between sessions: configuration/preferences, properties marked with the "user-archive" attribute, and aircraft-specific settings (using the data helper class in aircraft.nas).

Common paths

  • Windows: %APPDATA%\flightgear.org\
%APPDATA% is another environment variable that depends on your Windows version. On XP and older, it can be found under C:\Documents and Settings\{username}\Application Data. On Vista and later it can be found under C:\Users\{username}\AppData. The folder is hidden by default; see these instructions to unhide the folder.
  • Mac OS X: ~/Library/Application Support/FlightGear (to learn more about viewing hidden folders, see [1])
  • Linux: ~/.fgfs/
  • Windows: %APPDATA%\flightgear.org\
  • Mac OS X: ~/Library/Application Support/FlightGear
  • Linux: ~/.fgfs/

Notes