|This article is a stub. You can help the wiki by|
Note: Most (all?) settings used by FlightGear can be set without using environment variables - for example configuring settings from the Qt launcher, the GUI inside the simulator, or the command-line. However, parts of FlightGear like 3rd party opensource libraries such as OSG, or parts like SimGear, may have advanced or experimental settings that can only be set using environment variables - these types of settings are only useful for power users and developers.
Setting environment variables from your Operating System
Windows allows you to set environment variables from a graphical user interface (GUI) dialog box or the command-prompt.
Windows allows you to set user or system environment variables. User environment variables (docs - archive Feb 2020) are only visible to programs run by the current user, you should probably just define the environment variables for FlightGear settings here.
Open the Advanced System settings dialog box:
Right click on My Computer on the desktop > click Properties > click Advanced System Settings link
Control Panel > System > click Advanced System Settings link
Add a new environment variable for a FlightGear setting, and assign a value to it
Click environment variables > User variables for [your account name here] > click New
- Enter the name of the Environment variable, Enter the value of the environment variable
Open command-prompt. Type
Enter to show all defined environment variables. Type
set [variable_name for the setting]=[value to set]to define an environment variable and set it to a value.