---
name: "xdriver"
section: "1grass"
platform: "linux"
package: "grass-doc"
version: "6.4.4-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/xdriver"
---

# xdriver(1grass)

GRASS Monitor - driver to display GRASS maps in X11 environment. (drivers)

## NAME

**XDRIVER - GRASS Monitor**  - driver to display GRASS maps in X11 environment.\

*(drivers)*

## DESCRIPTION

The GRASS XDRIVER can be used to display GRASS maps in X11 environment.

## Usage in details

Variables:

-

  **GRASS\_WIDTH**\
   set the x size in pixel for the XDRIVER (default: 640)\

-

  **GRASS\_HEIGHT**\
   set the y size in pixel for the XDRIVER (default: 480)

-

  **XDRIVER\_TRUECOLOR=\[TRUE\|FALSE\]**\
   Look for a TrueColor visual (?)\

-

  **XDRIVER\_WINDOW**\
   ?\

-

  **XDRIVER\_PRIVATE\_CMAP**\
   Private color map (?)\

-

  **XDRIVER\_LEFT**\
   defines the left position of GRASS monitor (*removed?*)\

-

  **XDRIVER\_TOP**\
   define the upper position of GRASS monitor (*removed?*)\

### Set the XDRIVER size

`# bash shell syntax:`\
 `export GRASS_WIDTH=xxx`\
 `export GRASS_HEIGHT=yyy`\
\
 `# c shell syntax:`\
 `setenv GRASS_WIDTH xxx`\
 `setenv GRASS_HEIGHT yyy`\
 To control the XDRIVER, use the *d.mon* module.

The maximum color depth depends on the current X Server settings.

## SEE ALSO

*Display drivers*\
 *HTMLMAP driver,* *PNG driver,* *PostScript driver*\
 *d.frame,* *d.mon,* *g.region* *d.rast,*  *d.vect*

## AUTHORS

CERL\
 various improvements from several authors.\
 Rewritten 2001 by Glynn Clements

*Last changed: $Date: 2008-03-23 15:34:53 +0100 (Sun, 23 Mar 2008) $*

Full index

© 2003-2014 GRASS Development Team
