Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Difference between revisions of "$FG HOME"

From FlightGear wiki
Jump to: navigation, search
(Common paths: clarify Windows)
(more additions from P.)
Line 6: Line 6:
 
* '''Windows:''' <tt>%APPDATA%\flightgear.org\</tt>
 
* '''Windows:''' <tt>%APPDATA%\flightgear.org\</tt>
 
: %APPDATA% is another environment variable that depends on your Windows version. On XP and older, it can be found under <tt>C:\Documents and Settings\{username}\Application Data</tt>. On Vista and later it can be found under <tt>C:\Users\{username}\AppData</tt>. The folder is hidden by default; see [http://windows.microsoft.com/en-US/windows-vista/show-hidden-files these instructions] to unhide the folder.
 
: %APPDATA% is another environment variable that depends on your Windows version. On XP and older, it can be found under <tt>C:\Documents and Settings\{username}\Application Data</tt>. On Vista and later it can be found under <tt>C:\Users\{username}\AppData</tt>. The folder is hidden by default; see [http://windows.microsoft.com/en-US/windows-vista/show-hidden-files these instructions] to unhide the folder.
* '''Mac OS X:''' <tt>~/Library/Application Support/FlightGear</tt>
+
* '''Mac OS X:''' <tt>~/Library/Application Support/FlightGear</tt> (to learn more about viewing hidden folders, see [http://www.mikesel.info/show-hidden-files-mac-os-x-10-7-lion/])
 
* '''Linux:''' <tt>~/.fgfs/</tt>
 
* '''Linux:''' <tt>~/.fgfs/</tt>
 
* '''Windows:''' %APPDATA%\flightgear.org\
 
* '''Windows:''' %APPDATA%\flightgear.org\

Revision as of 03:30, 21 March 2013

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