$FG ROOT: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (Robot: Automated text replacement (-$FG_HOME/ +$FG_HOME, -$FG_ROOT/ +$FG_ROOT/, -$FG_SCENERY/ +$FG_SCENERY/, - $FG_HOME + $FG_HOME, - $FG_ROOT + $FG_ROOT, - $FG_SCENERY + $FG_SCENERY))
(Cleanup)
Line 1: Line 1:
'''$FG_ROOT''' is refered to as the main directory of [[FlightGear]], containing the so called ''base package'' (default [[aircraft]] and [[scenery]], [[Menubar|GUI]] files etc). When running FlightGear from a [[command line]], you can set [[$FG_ROOT]] via <tt>--fg-root=path/to/root</tt>. In [[FGRun]], it is set on the paths page, previous to the aircraft selection page.
'''$FG_ROOT''' is refered to as the main directory of [[FlightGear]], containing the so called ''base package'' (default [[aircraft]] and [[scenery]], [[Menubar|GUI]] files etc). When running FlightGear from a [[command line]], you can set $FG_ROOT via <tt>--fg-root=path/to/root</tt>. In [[FGRun]], it is set on the paths page, previous to the aircraft selection page.


As of FlightGear 2.4, it is advised to install additional scenery and aircraft in [[$FG_SCENERY]] and [[$FG_AIRCRAFT]] directories outside $FG_ROOT. This allow for maintaining the additional stuff when installing a new version of FlightGear.


===Common paths===
=== Common paths ===
 
* '''Mac OS X:''' <tt>Applications/FlightGear.app/Contents/Resources/data/</tt>
* '''Mac OS X:''' <tt>Applications/FlightGear.app/Contents/Resources/data/</tt>
: $FG_ROOT is not installed automatically. See [[New to FlightGear#Installing on Mac OS X|New to FlightGear]] for an installation manual.
* '''Ubuntu:''' <tt>/usr/share/games/flightgear/</tt>
* '''Ubuntu:''' <tt>/usr/share/games/flightgear/</tt>
* '''Windows:''' <tt>Program Files\FlightGear\data\</tt> (default, '''see note!''')
* '''Windows:''' <tt>Program Files\FlightGear\data\</tt> (default, '''see note!''')
 
: Newer Windows versions are very, very protective about the <tt>Program Files</tt> folder and installing FlightGear into this folder makes it prone to any problems relating to file read/write permissions. Hence, installing FlightGear into <tt>Program Files</tt> on Windows Vista and later is not recommended.
 
=== Notes ===
 
* Newer Windows versions are very, very protective about the "Program Files" folder and installing FlightGear into this folder makes it prone to any problems relating to file read/write permissions! Hence, installing FlightGear into '''"Program Files"''' on '''Windows Vista/7/8''' is '''not recommended(!)''', unless...
** ...you are logged in as administrator!
** ...you have disabled [http://en.wikipedia.org/wiki/User_Account_Control User Account Control]!
 
* On '''Mac OS X''', [[$FG_ROOT]] is not installed automatically. See [[New to FlightGear#Installing on Mac OS X|New to FlightGear]] for an installation manual.
 
* As of FlightGear 2.4.0, it is advised to install additional scenery and aircraft in [[$FG_SCENERY]] and [[$FG_AIRCRAFT]] directories outside [[$FG_ROOT]]. This allow for maintaining the additional stuff when installing a new version of FlightGear.
 


[[Category:Special directories|ROOT]]
[[Category:Special directories|ROOT]]

Revision as of 19:45, 21 March 2013

$FG_ROOT is refered to as the main directory of FlightGear, containing the so called base package (default aircraft and scenery, GUI files etc). When running FlightGear from a command line, you can set $FG_ROOT via --fg-root=path/to/root. In FGRun, it is set on the paths page, previous to the aircraft selection page.

As of FlightGear 2.4, it is advised to install additional scenery and aircraft in $FG_SCENERY and $FG_AIRCRAFT directories outside $FG_ROOT. This allow for maintaining the additional stuff when installing a new version of FlightGear.

Common paths

  • Mac OS X: Applications/FlightGear.app/Contents/Resources/data/
$FG_ROOT is not installed automatically. See New to FlightGear for an installation manual.
  • Ubuntu: /usr/share/games/flightgear/
  • Windows: Program Files\FlightGear\data\ (default, see note!)
Newer Windows versions are very, very protective about the Program Files folder and installing FlightGear into this folder makes it prone to any problems relating to file read/write permissions. Hence, installing FlightGear into Program Files on Windows Vista and later is not recommended.