---
name: "fgviewer"
section: "1"
platform: "linux"
package: "flightgear"
version: "1:2020.3.19+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/fgviewer"
---

# fgviewer(1)

An alternative FlightGear viewer application

## NAME

fgviewer - An alternative FlightGear viewer application

## SYNOPSIS

**fgviewer** \[**--fg-root** *rootdir*\] \[**--fg-scenery** *scenerydir*\] \[**--config** *configfile*\] \[**--prop** *property* *value*\] \[**--renderer** *rend*\] \[**--hla**\] \[**--federation** *fed*\]

## DESCRIPTION

**fgviewer** is a viewer application that allows you to examine FlightGear scenery and objects without starting [**fgfs**(1)](/fgfs/1.md).

## OPTIONS

- **--fg-root** *rootdir*

  Set the FlightGear data root directory (**$FG\_ROOT**) to *rootdir*. If this option is not set, **fgviewer** uses the path specified in the **FG\_ROOT** environment variable or, absent that, the FlightGear data directory chosen at the time the program was compiled.

- **--fg-scenery** *scenerydir*

  Set the FlightGear scenery directory (**$FG\_SCENERY**) to *scenerydir*. If this option is not set, **fgviewer** uses the path specified in the **FG\_SCENERY** environment variable or, absent that, the **Scenery** subdirectory inside **$FG\_ROOT**.

- **--config** *configfile*

  Read configuration directives from *configfile*.

- **--prop** *property* *value*

  Set the property named *property* to *value*.

- **--renderer** *rend*

  Use the renderer named *rend* to render the scenery. This option is currently not supported.

- **--hla**

  Enable HLA federation.

- **--federation** *fed*

  Enable a custom federation named *fed*.

## EXIT STATUS

**fgviewer** exits with **EXIT\_SUCCESS** on success, with **EXIT\_FAILURE** if the syntax of the command-line arguments is wrong or an error occurs.

## ENVIRONMENT

- **FG\_ROOT**

  If **FG\_ROOT** is set and **--fg-root** is not set, it specifies the root data directory to use.

- **FG\_SCENERY**

  If **FG\_SCENERY** is set and **--fg-scenery** is not set, it specifies the scenery directory to use.

## FILES

- *$FG\_ROOT/defaults.xml*

  Default preferences file loaded on startup.

## SEE ALSO

[**fgfs**(1)](/fgfs/1.md)
