---
name: "icewm-shutdown"
section: "5"
platform: "linux"
package: "icewm"
version: "4.1.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/icewm-shutdown"
---

# icewm-shutdown(5)

### NAME

```
 icewm-shutdown - icewm shutdown configuration file
```

### SYNOPSIS

```
 $ICEWM_PRIVCFG/shutdown
 $XDG_CONFIG_HOME/icewm/shutdown
 $HOME/.icewm/shutdown
 /usr/etc/icewm/shutdown
 /usr/share/icewm/shutdown
```

### DESCRIPTION

Contains commands to be executed on **icewm** shutdown.  This is an executable script with commands to be executed in the last stage of **icewm** termination.  Typically they may undo some of the effects of the *startup* script.  It is run by [**icewm-session**(1)](/icewm-session/1.md) when **icewm** terminates.

### FILES

Locations for the *shutdown* file are as follows:

```
 $ICEWM_PRIVCFG/shutdown
 $XDG_CONFIG_HOME/icewm/shutdown
 $HOME/.icewm/shutdown
 /usr/etc/icewm/shutdown
 /usr/share/icewm/shutdown
```

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

### SEE ALSO

[**icewm-session**(1)](/icewm-session/1.md), [**icewm-startup**(5)](/icewm-startup/5.md).

### AUTHOR

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

### LICENSE

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