ICEWM-ENV(5) Standards, Environments and Macros ICEWM-ENV(5)

icewm-env - icewm environment configuration file

$ICEWM_PRIVCFG/env
$XDG_CONFIG_HOME/icewm/env
$HOME/.icewm/env
/etc/icewm/env
/usr/share/icewm/env

icewm-session(1) loads additional environment variables from the file env before it does anything else. These variables are then propagated to all other processes, including icewm(1), via their environment.

Each line is subjected to POSIX shell expansion by wordexp(3). Comment lines starting by a hash-sign ("#") are ignored. icewm-session(1) will load those expanded lines that contain a name, followed by an equals sign, followed by the value (which may be empty).

The word unset begins a line with names to be removed from the environment.

# This is a comment.
# And another.
XDG_CURRENT_DESKTOP="ICEWM"
XDG_MENU_PREFIX="unexicon-"
START_DATE=`date`
START_FROM=`pwd`

icewm-session(1) looks for the env file in the following locations:

$ICEWM_PRIVCFG/env
$XDG_CONFIG_HOME/icewm/env
$HOME/.icewm/env
/etc/icewm/env
/usr/share/icewm/env

The locations are searched in the order listed; the first file found is read and the remainder ignored.

icewm(1), icewm-session(1), icewm-startup(5).

Brian Bidulock <mailto:bidulock@openss7.org>.

IceWM is licensed under the GNU Library General Public License. See the COPYING file in the distribution.

2024-06-16 icewm 3.6.0