1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!-- $Id: environment.xml,v 1.2 2007/08/07 10:11:05 griph Exp $ -->
3 <!DOCTYPE part PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
4 "../docbook-xml/docbookx.dtd"
6 <!ENTITY % myents SYSTEM "../fvwm.ent" >
11 <section id='environment'>
12 <title>Environment</title>
13 The environment variables that have an effect on how fvwm operates
17 <term><envar>DISPLAY</envar></term>
19 <para>Fvwm starts on this display unless the <option>-display</option>
20 option is given.</para>
24 <term><envar>FVWM_MODULEDIR</envar></term>
26 <para>Set by fvwm to the directory containing the standard fvwm
31 <term><envar>FVWM_USERDIR</envar></term>
33 <para>Used to determine the user's data directory for reading and
34 sometimes writing personal files. If this variable is not already
35 set, it is set by fvwm to <filename>$HOME/.fvwm</filename>, which
36 is the default user's data directory.</para>
40 <term><envar>SESSION_MANAGER</envar></term>
42 <para>Fvwm tries to contact this session manager.</para>
46 <term><envar>SESSION_MANAGER_NAME</envar></term>
48 <para>This is used mainly to determine xsm running to work around its
49 bug. If this variable is set to "xsm", DiscardCommand is set as
50 xsm expects it and not as XSMP requires. If you run fvwm under
51 xsm, you should set this variable to "xsm", otherwise old state
52 files are not removed.</para>
56 <term><envar>SM_SAVE_DIR</envar></term>
58 <para>If this is set, fvwm saves its session data in this
59 directory. Otherwise it uses <envar>$HOME</envar>.
60 Note, the state files are named <filename>.fs-??????</filename>
61 and normally are removed automatically when not used anymore.</para>