ICEWM-WINOPTIONS(5)
β¨ NAME β¨
okay so bestie, welcome to the ICEWM-WINOPTIONS(5) manual page β it's the IceWM window options configuration file. slay, you found it π
πΈ SYNOPSIS πΈ
Here's where this little icon can live, no cap:
$ICEWM_PRIVCFG/winoptions
$XDG_CONFIG_HOME/icewm/winoptions
$HOME/.icewm/winoptions
/usr/etc/icewm/winoptions
/usr/share/icewm/winoptions
π¦ DESCRIPTION π¦
The IceWM winoptions file is where you tell IceWM how each app's window should look and act β aka application specific window appearance and behavior. For instance, these settings control the window border, placement and size, the window layer, its workspace, its visibility on the task bar and its focus behavior. it's giving per-app window customization β¨
The winoptions are established when icewm(1) starts. However, they can be overridden later using icesh(1) or icewmhint(1). The command icesh winoptions instructs icewm to reload the winoptions file, while icewmhint tunes a specific application instance when it starts.
π FORMAT π
Each line in the file must be in one of these formats, fr fr:
NAME.CLASS.OPTION: VALUE
CLASS.ROLE.OPTION: VALUE
NAME.ROLE.OPTION: VALUE
CLASS.OPTION: VALUE
NAME.OPTION: VALUE
ROLE.OPTION: VALUE
.OPTION: VALUE
Here NAME and CLASS are from the WM_CLASS property of the window. This can be found in the output of icesh -a getClass.
While ROLE refers to the WM_WINDOW_ROLE property of the window, which is the application instance specific name. Only a minority of windows have it. See the output of icesh -a list prop WM_WINDOW_ROLE.
In rare cases, a name, class or role may contain a period. If it does, the period should be escaped by a single backslash (\).
Lastly, the OPTION: VALUE pair refer to the options and values described below. tiny but iconic warning: a line with just a dot, followed by an option/value pair, applies to all windows.
π¨ bestie, that dot is doing main character energy β it means all windows, not one specific app.
π OPTIONS π
There are four categories: general, function, decor and feature.
π§Έ GENERAL OPTIONS π§Έ
These control general characteristics of windows:
iconNAME (default: none) β specifies the icon name for the window.NAMEis the icon name, likeutilities-terminal. It can also be a file, likexterm.png, a full path, or a prefix of a path without sizes or suffix.workspaceWORKSPACE (default: current) β specifies the default workspace for the window.WORKSPACEis the workspace number counting from zero (0).layer{LAYER|NUMBER}(default: Normal) β specifies the default layer for the window. Layer can be one of the following names or a number from zero to fifteen:Desktop(0) β Desktop window.Below(2) β Below the default layer.Normal(4) β Default layer for windows.OnTop(6) β Above the default layer.Dock(8) β Docked windows at edge of screen.AboveDock(10) β Windows above the dock.Menu(12) β The layer for menu's.Fullscreen(14) β When fullscreen and focused.AboveAll(15) β Always above anything.
geometrygeometry (default: WM_SIZE_HINTS property) β the default geometry for the window. This geometry should be specified in a format that can be parsed byXParseGeometry(3):
[=][<width>{xX}<height>][{+-}<xoffset>{+-}<yoffset>]
The default geometry is taken from the WM_SIZE_HINTS property of the window or else from the initial window geometry. This option overrides the default.
tray{Ignore|Minimized|Exclusive|NUMBER}(default: 0) β the default tray option for the window. This affects both the tray and the task pane. Tray can be one of the following three strings or a number from zero (0) to two (2):Ignore(0) β No icon is added to the tray.Minimized(1) β Add to tray, no task when minimized.Exclusive(2) β Add to tray, no task button.
orderNUMBER (default: 0) β the sorting order for task buttons, tray icons, quick switch and window list. The default value is zero. Increasing positive values go right, while decreasing negative values go left.opacityNUMBER (default: 0) β set the_NET_WM_WINDOW_OPACITYproperty ifNUMBERis a value between1and100.NUMBERis interpreted as percentage of maximum opaqueness.keyboardlayout (default: none) β specifies the keyboard layout to use for this window. The layout is the name of a keyboard layout. It can be a space-separated list of arguments to thesetxkbmapprogram. Please note thatsetxkbmapmust be installed for this to work. Also define a default keyboard layout in preferences.framelabel (default: none) β all windows with the same frame label become tabs in a single frame.
π FUNCTION OPTIONS π
Function options enable/disable (1/0) the ability to take an action on the window. The normal default for all options is enabled (1) unless overridden by the application:
fClose{0|1}β can be closed. (default: 1)fHide{0|1}β can be hidden. (default: 1)fMaximize{0|1}β can be maximized. (default: 1)fMinimize{0|1}β can be minimized. (default: 1)fMove{0|1}β can be moved. (default: 1)fResize{0|1}β can be resized. (default: 1)fRollup{0|1}β can be shaded. (default: 1)
π¦ DECOR OPTIONS π¦
Decor options enable/disable (1/0) decorations on the window. The normal default for all options is enabled (1) unless overridden by the application or the theme:
dBorder{0|1}β has border. (default: 1)dClose{0|1}β has close button. (default: 1)dDepth{0|1}β has depth button. (default: 1)dHide{0|1}β has hide button. (default: 1)dMaximize{0|1}β has maximize button. (default: 1)dMinimize{0|1}β has minimize button. (default: 1)dResize{0|1}β has resize grips. (default: 1)dRollup{0|1}β has shade button. (default: 1)dSysMenu{0|1}β has window menu. (default: 1)dTitleBar{0|1}β has title bar. (default: 1)
π₯ FEATURE OPTIONS π₯
Feature options enable/disable (1/0) additional features of the window. The normal default for all options is disabled (0) unless overridden by the application:
allWorkspaces{1|0}β show it on all workspaces.appTakesFocus{1|0}β let the application take focus.doNotCover{1|0}β don't place other windows over it.doNotFocus{1|0}β do not give it focus.doNotManage{1|0}β do not manage at all.forcedClose{1|0}β no close confirmation dialog.fullKeys{1|0}β don't install icewm key bindings.ignoreNoFocusHint{1|0}β focus even when no-input is set.ignorePagerPreview{1|0}β do not show in pager preview.ignorePositionHint{1|0}β always let icewm place the window.ignoreQuickSwitch{1|0}β not on the quick switch.ignoreTaskBar{1|0}β not on the task bar.ignoreUrgentHint{1|0}β ignore urgent hints.ignoreWinList{1|0}β not on the window list.ignoreActivationMessages{1|0}β only user can focus window.ignoreOverrideRedirect{1|0}β ignore the override redirect flag.ignoreUserTime{1|0}β ignore wm_user_time and startup_id.noFocusOnAppRaise{1|0}β no automatic focus on raise.noFocusOnMap{1|0}β do not focus when mapped.noIgnoreTaskBar{1|0}β always show on task bar.startClose{1|0}β close the window immediately.startFullscreen{1|0}β start full screen.startMaximized{1|0}β start maximized.startMaximizedHorz{1|0}β start maximized horizontal.startMaximizedVert{1|0}β start maximized vertical.startMinimized{1|0}β start minimized.
π EXAMPLES π
This example uses the WM_WINDOW_ROLE property value "pop-up" to deny input focus to Chrome pop-ups and asks to close them immediately.
google-chrome.pop-up.doNotFocus: 1
google-chrome.pop-up.forcedClose: 1
google-chrome.pop-up.ignorePagerPreview: 1
google-chrome.pop-up.ignoreUrgentHint: 1
google-chrome.pop-up.layer: Below
google-chrome.pop-up.noFocusOnAppRaise: 1
google-chrome.pop-up.noFocusOnMap: 1
google-chrome.pop-up.startClose: 1
google-chrome.pop-up.startMinimized: 1
IceWM places dockapps in a container automatically, but for those that fail to comply with the protocol it can also be emulated. An emulated dockapp should appear on all workspaces, have no decorations, and always be visible in a fixed location.
wmtime.wmtime.allWorkspaces: 1
wmtime.wmtime.ignoreTaskBar: 1
wmtime.wmtime.ignoreQuickSwitch: 1
wmtime.wmtime.ignoreWinList: 1
wmtime.wmtime.layer: Below
wmtime.wmtime.dTitleBar: 0
wmtime.wmtime.dBorder: 1
wmtime.wmtime.geometry: 64x64-74-100
Following shows how a shaped output-only application is shown without titlebar and minimal functionality.
xeyes.tray: Exclusive
xeyes.ignoreWinList: 0
xeyes.ignoreTaskBar: 1
xeyes.allWorkspaces: 1
xeyes.dTitleBar: 0
xeyes.dBorder: 0
xeyes.dSysMenu: 0
xeyes.dResize: 0
xeyes.dClose: 0
xeyes.dMinimize: 0
xeyes.dMaximize: 0
π FILES π
Locations for the winoptions file are as follows:
$ICEWM_PRIVCFG/winoptions
$XDG_CONFIG_HOME/icewm/winoptions
$HOME/.icewm/winoptions
/usr/etc/icewm/winoptions
/usr/share/icewm/winoptions
The locations are searched in the order listed; the first file found is read and the remainder ignored.
π«Ά SEE ALSO π«Ά
π 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.
π that's the whole page, bestie β brought to you by icewm 4.1.0, dated 2026-08-06, aka ICEWM-WINOPTIONS(5). mwah π
π¦ where this page comes from
- arch rolling: icewm 4.1.0-1 Β· LGPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms