Next Previous Contents

10. Preferences

This section shows preferences that can be set in  /.icewm/preferences. Themes will not be able to override these settings. Default values are shown following the equal sign.

10.1 Focus and Behavior

The following settings can be set to value 1 (enabled) or value 0 (disabled).

ClickToFocus = 1

Enables click to focus mode.

RaiseOnFocus = 1

Window is raised when focused.

FocusOnClickClient = 1

Window is focused when client area is clicked.

RaiseOnClickClient = 1

Window is raised when client area is clicked.

RaiseOnClickTitleBar = 1

Window is raised when titlebar is clicked.

RaiseOnClickButton = 1

Window is raised when title bar button is clicked.

RaiseOnClickFrame = 1

Window is raised when frame is clicked.

PassFirstClickToClient = 1

The click which raises the window is also passed to the client.

AutoRaise = 0

Windows will raise automatically after AutoRaiseDelay when focused.

StrongPointerFocus = 0

When focus follows mouse always give the focus to the window under mouse pointer - Even when no mouse motion has occured. Using this is not recommended. Please prefer to use just ClickToFocus=0.

FocusOnMap = 1

Window is focused after being mapped.

FocusOnMapTransient = 1

Transient window is focused after being mapped.

FocusOnAppRaise = 1

The window is focused when application raises it.

PointerColormap = 0

Colormap focus follows pointer.

SizeMaximized = 0

Window can be resized when maximized.

MinimizeToDesktop = 0

Window is minimized to desktop area (in addition to the taskbar).

QuickSwitch = 1

enable Alt+Tab window switcher.

QuickSwitchToMinimized = 1

Alt+Tab switches to minimized windows too.

QuickSwitchToAllWorkspaces = 1

Alt+Tab switches to windows on any workspace.

ShowMoveSizeStatus = 1

Move/resize status window is visible when moving/resizing the window.

ShowWorkspaceStatusAfterSwitch = 1

Show name of current workspace while switching workspaces.

ShowWorkspaceStatusAfterActivation = 1

Show name of current workspace after explicit activation.

WarpPointer = 0

Pointer is moved in pointer focus move when focus is moved using the keyboard.

OpaqueMove = 1

Window is immediately moved when dragged, no outline is shown.

OpaqueResize = 0

Window is immediately resized when dragged, no outline is shown.

Win95Keys = 0

Makes 3 additional keys perform sensible functions. The keys must be mapped to MetaL,MetaR and Menu. The left one will activate the start menu and the right one will display the window list.

ManualPlacement = 0

Windows must be placed manually by the user.

IgnoreNoFocusHint = 0

Ignore no-accept-focus hint set by some windows.

MenuMouseTracking = 0

If enabled, menus will track the mouse even when no mouse button is pressed.

SnapMove = 1

Snap to nearest screen edge/window when moving windows.


Distance in pixels before windows snap together

EdgeSwitch = 0

Workspace switches by moving mouse to left/right screen edge.

AutoReloadMenus = 1

Reload menu files automatically if set to 1.

ShowThemesMenu = 1

Show themes submenu.

ShowHelp = 1

Show the help menu item.

MsgBoxDefaultAction = 0

Preselect to Cancel (0) or the OK (1) button in message boxes


Bitmask of root window button click to use in window manager


Bitmask of buttons that raise the window when pressed

EdgeResistance = 32

Resistance to move window with mouse outside screen limits. Setting it to 10000 makes the resistance infinite.

10.2 Task Bar

The following settings can be set to value 1 (enabled) or value 0 (disabled).

ShowTaskBar = 1

Task bar is visible.

TaskBarAtTop = 0

Task bar is located at top of screen.

TaskBarKeepBelow = 1

Keep the task bar below regular windows

TaskBarAutoHide = 0

Task bar will auto hide when mouse leaves it.

TaskBarShowStartMenu = 1

Show button for the start menu on the task bar.


Show button for window list menu on taskbar.

TaskBarShowWorkspaces = 1

Show workspace switching buttons on task bar.

TaskBarShowAllWindows = 0

Show windows from all workspaces on task bar.

TaskBarShowClock = 1

Task bar clock is visible.

TaskBarShowMailboxStatus = 1

Display status of mailbox (determined by $MAIL environment variable).

TaskBarMailboxStatusBeepOnNewMail = 0

Beep when new mail arrives.

TaskBarMailboxStatusCountMessages = 0

Display mail message count as tooltip.


Path to a mbox file. Remote mail boxes are accessed by specifying an URL using the Common Internet Scheme Syntax (RFC 1738):

Supported schemes are "pop3", "imap" and "file". When the scheme is omitted "file://" is prepended silently. IMAP subfolders can be access by using the path component.

Reserved characters like slash, at and colon can be specified by using escape sequences using a hexadecimal encoding like %2f for the slash or %40 for the at sign.



TaskBarDoubleHeight = 0

Double height task bar

TaskBarShowCPUStatus = 1

Show CPU status on task bar.


format for the taskbar clock (time) (see strftime(3) manpage)


format for the taskbar clock tooltip (date+time) (see strftime(3) manpage).


mouse wheel support


similar to delayed auto raise.

10.3 Timings

ClickMotionDistance = 5

Movement before click is interpreted as drag.

MultiClickTime = 400

Time (ms) to recognize for double click.

AutoRaiseDelay = 400

Time to auto raise (must enable first with AutoRaise)

AutoHideDelay = 300

Time to auto hide taskbar (must enable first with TaskBarAutoHide).

ToolTipDelay = 5000

Time before showing the tooltip.

ToolTipTime = 60000

Time before tooltip window is hidden (0 means never)


Initial scroll bar autoscroll delay


Scroll bar autoscroll delay


Auto scroll start delay


Auto scroll delay

10.4 Workspaces


List of workspace names, for example

WorkspaceNames=" 1 ", " 2 ", " 3 ", " 4 "

10.5 Paths


Path to the icewm/lib directory.


Path to the icon directory. Multiple paths can be entered using the colon (UNIX) or semicolon (OS/2) as the separator.


Path to the icewm/lib directory.

10.6 Programs


program to run when the clock is double clicked.


program to run when mailbox icon is double clicked.


program to run to lock the screen.


program to run when Run is selected from the start menu.

10.7 Window Menus


Items to show in the window menus, posible values are:

r=Restore, m=Move, s=Size, n=miNimize, x=maXimize, f=Fullscreen, h=Hide, u=roolUp, a=rAise, l=Lower, y=laYer, t=moveTo, i=trayIcon, c=Close, k=Kill, w=WindowsList


WinMenuItems=rmsnxfhualyticw   #Default menu
WinMenuItems=rmsnxfhualytickw  #Menu with all possible options
WinMenuItems=rmsnxc            #MS-Windows menu

Next Previous Contents