Preferences
This section shows preferences that can be set in preferences. Themes will not be able to override these settings. Default values are shown following the equal sign.
Focus and Behavior
The following settings can be set to value 1 (enabled) or value 0 (disabled).
-
ClickToFocus = 1Enables click to focus mode.
-
RaiseOnFocus = 1Window is raised when focused.
-
FocusOnClickClient = 1Window is focused when client area is clicked.
-
RaiseOnClickClient = 1Window is raised when client area is clicked.
-
RaiseOnClickTitleBar = 1Window is raised when titlebar is clicked.
-
RaiseOnClickButton = 1Window is raised when title bar button is clicked.
-
RaiseOnClickFrame = 1Window is raised when frame is clicked.
-
LowerOnClickWhenRaised = 0Lower the active window when clicked again.
-
PassFirstClickToClient = 1The click which raises the window is also passed to the client.
-
FocusChangesWorkspace = 0Change to the workspace of newly focused windows.
-
AutoRaise = 0Windows will raise automatically after AutoRaiseDelay when focused.
-
StrongPointerFocus = 0When focus follows mouse always give the focus to the window under mouse pointer - Even when no mouse motion has occurred. Using this is not recommended. Please prefer to use just ClickToFocus=0.
-
FocusOnMap = 1Window is focused after being mapped.
-
FocusOnMapTransient = 1Transient window is focused after being mapped.
-
FocusOnMapTransientActive = 1Focus dialog window when initially mapped only if parent frame focused.
-
FocusOnAppRaise = 1The window is focused when application raises it.
-
RequestFocusOnAppRaise = 1Request focus (flashing in taskbar) when application requests raise.
-
MapInactiveOnTop = 1Put new windows on top even if not focusing them.
-
PointerColormap = 0Colormap focus follows pointer.
-
DontRotateMenuPointer = 1Don’t rotate the cursor for popup menus.
-
LimitSize = 1Limit size of windows to screen.
-
LimitPosition = 1Limit position of windows to screen.
-
LimitByDockLayer = 0Let the Dock layer limit the workspace (incompatible with GNOME Panel).
-
ConsiderHBorder = 0Consider border frames when maximizing horizontally.
-
ConsiderVBorder = 0Consider border frames when maximizing vertically.
-
ConsiderSizeHintsMaximized = 1Consider XSizeHints if frame is maximized.
-
CenterMaximizedWindows = 0Center maximized windows which can’t fit the screen (like terminals).
-
HideBordersMaximized = 0Hide window borders if window is maximized.
-
HideTitleBarWhenMaximized = 0Hide title bar when maximized.
-
CenterLarge = 0Center large windows.
-
CenterTransientsOnOwner = 1Center dialogs on owner window.
-
SizeMaximized = 0Window can be resized when maximized.
-
MinimizeToDesktop = 0Window is minimized to desktop area (in addition to the taskbar).
-
MiniIconsPlaceHorizontal = 0Place the mini-icons horizontal instead of vertical.
-
MiniIconsRightToLeft = 0Place new mini-icons from right to left.
-
MiniIconsBottomToTop = 0Place new mini-icons from bottom to top.
-
GrabRootWindow = 1Manage root window (EXPERIMENTAL - normally enabled!).
-
ShowMoveSizeStatus = 1Move/resize status window is visible when moving/resizing the window.
-
ShowWorkspaceStatus = 1Show name of current workspace while switching.
-
ShowWorkspaceStatusAfterSwitch = 1Show name of current workspace while switching workspaces.
-
ShowWorkspaceStatusAfterActivation = 1Show name of current workspace after explicit activation.
-
WarpPointer = 0Pointer is moved in pointer focus move when focus is moved using the keyboard.
-
OpaqueMove = 1Window is immediately moved when dragged, no outline is shown.
-
OpaqueResize = 0Window is immediately resized when dragged, no outline is shown.
-
DelayPointerFocus = 1Similar to delayed auto raise.
-
Win95Keys = 0Makes 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.
-
ModSuperIsCtrlAlt = 1Treat Super/Win modifier as Ctrl+Alt.
-
UseMouseWheel = 0mouse wheel support
-
ShowPopupsAbovePointer = 0Show popup menus above mouse pointer.
-
ReplayMenuCancelClick = 0Send the clicks outside menus to target window.
-
ManualPlacement = 0Windows must be placed manually by the user.
-
SmartPlacement = 1Smart window placement (minimal overlap).
-
IgnoreNoFocusHint = 0Ignore no-accept-focus hint set by some windows.
-
MenuMouseTracking = 0If enabled, menus will track the mouse even when no mouse button is pressed.
-
ClientWindowMouseActions = 1Allow mouse actions on client windows.
-
SnapMove = 1Snap to nearest screen edge/window when moving windows.
-
SnapDistance = 8Distance in pixels before windows snap together
-
ArrangeWindowsOnScreenSizeChange = 1Automatically arrange windows when screen size changes.
-
MsgBoxDefaultAction = 0Preselect to Cancel (0) or the OK (1) button in message boxes
-
EdgeResistance = 32Resistance to move window with mouse outside screen limits. Setting it to 10000 makes the resistance infinite.
-
AllowFullscreen = 1Allow to switch a window to fullscreen.
-
FullscreenUseAllMonitors = 0Span over all available screens if window goes into fullscreen.
-
NetWorkAreaBehaviour = 0NET_WORKAREA behaviour: 0 (single/multimonitor with STRUT information, like metacity), 1 (always full desktop), 2 (singlemonitor with STRUT, multimonitor without STRUT).
-
ConfirmLogout = 1Confirm Logout.
-
MultiByte = 1Overrides automatic multiple byte detection.
-
ShapesProtectClientWindow = 1Don’t cut client windows by shapes set trough frame corner pixmap.
-
DoubleBuffer = 1Use double buffering when redrawing the display.
-
XRRDisable = 0Disable use of new XRANDR API for dual head (nvidia workaround)
-
PreferFreetypeFonts = 1Favor *Xft fonts over core X11 fonts where possible.
-
IconPath = /usr/share/icons/hicolor:/usr/share/icons:/usr/share/pixmapsIcon search path (colon separated)
-
MailCommand = xterm -name mutt -e muttCommand to run on mailbox.
-
MailClassHint = mutt.XTermWM_CLASS to allow runonce for MailCommand.
-
LockCommand =Command to lock display/screensaver. -
ClockCommand = xclock -name icewm -title ClockCommand to run on clock.
-
ClockClassHint = icewm.XClockWM_CLASS to allow runonce for ClockCommand.
-
RunCommand =Command to select and run a program. -
OpenCommand =Command to run to open a file. -
TerminalCommand = xterm
Terminal emulator must accept -e option.
-
LogoutCommand =Command to start logout. -
LogoutCancelCommand =Command to cancel logout. -
ShutdownCommand =Command to shutdown the system. -
RebootCommand =Command to reboot the system. -
SuspendCommand =Command to send the system to standby mode. -
CPUStatusCommand =Command to run on CPU status. -
CPUStatusClassHint = top.XTermWM_CLASS to allow runonce for CPUStatusCommand.
-
CPUStatusCombine = 1Combine all CPUs to one.
-
NetStatusCommand =Command to run on Net status. -
NetStatusClassHint = netstat.XTermWM_CLASS to allow runonce for NetStatusCommand.
-
AddressBarCommand =Command to run for address bar entries. -
XRRPrimaryScreenName =screen/output name of the primary screen.
Quick Switch List
-
QuickSwitch = 1enable Alt+Tab window switcher.
-
QuickSwitchToMinimized = 1Alt+Tab switches to minimized windows too.
-
QuickSwitchToHidden = 1Alt+Tab to hidden windows.
-
QuickSwitchToUrgent = 1Prioritize Alt+Tab to urgent windows.
-
QuickSwitchToAllWorkspaces = 1Alt+Tab switches to windows on any workspace.
-
QuickSwitchGroupWorkspaces = 1Alt+Tab: group windows on current workspace.
-
QuickSwitchAllIcons = 1Show all reachable icons when quick switching.
-
QuickSwitchTextFirst = 0Show the window title above (all reachable) icons.
-
QuickSwitchSmallWindow = 0Attempt to create a small QuickSwitch window (1/3 instead of 3/5 of
-
QuickSwitchMaxWidth = 0Go through all window titles and choose width of the longest one.
-
QuickSwitchVertical = 1Place the icons and titles vertical instead of horizontal.
-
QuickSwitchHugeIcon = 0Show the huge (48x48) of the window icon for the active window.
-
QuickSwitchFillSelection = 0Fill the rectangle highlighting the current icon.
Edge Workspace Switching
-
EdgeSwitch = 0Workspace switches by moving mouse to left/right screen edge.
-
HorizontalEdgeSwitch = 0Workspace switches by moving mouse to left/right screen edge.
-
VerticalEdgeSwitch = 0Workspace switches by moving mouse to top/bottom screen edge.
-
ContinuousEdgeSwitch = 1Workspace switches continuously when moving mouse to screen edge.
Task Bar
The following settings can be set to value 1 (enabled) or value 0 (disabled).
-
ShowTaskBar = 1Task bar is visible.
-
TaskBarAtTop = 0Task bar is located at top of screen.
-
TaskBarKeepBelow = 1Keep the task bar below regular windows
-
TaskBarAutoHide = 0Task bar will auto hide when mouse leaves it.
-
TaskBarFullscreenAutoShow = 1Auto show task bar when fullscreen window active.
-
TaskBarShowClock = 1Task bar clock is visible.
-
TaskBarShowAPMStatus = 0Show APM/ACPI/Battery/Power status monitor on task bar.
-
TaskBarShowAPMAuto = 1Enable TaskBarShowAPMStatus if a battery is present.
-
TaskBarShowAPMTime = 1Show APM status on task bar in time-format.
-
TaskBarShowAPMGraph = 1Show APM status in graph mode.
-
TaskBarShowMailboxStatus = 1Display status of mailbox (see ‘Mailbox’ below).
-
TaskBarMailboxStatusBeepOnNewMail = 0Beep when new mail arrives.
-
TaskBarMailboxStatusCountMessages = 0Display mail message count as tooltip.
-
TaskBarShowWorkspaces = 1Show workspace switching buttons on task bar.
-
TaskBarShowWindows = 1Show windows on the taskbar.
-
TaskBarShowShowDesktopButton = 1Show ‘show desktop’ button on taskbar.
-
ShowEllipsis = 0Show Ellipsis in taskbar items.
-
TaskBarShowTray = 1Show windows in the tray.
-
TrayShowAllWindows = 1Show windows from all workspaces on tray.
-
TaskBarEnableSystemTray = 1Enable the system tray in the taskbar.
-
TaskBarShowTransientWindows = 1Show transient (dialogs, …) windows on task bar.
-
TaskBarShowAllWindows = 0Show windows from all workspaces on task bar.
-
TaskBarShowWindowIcons = 1Show icons of windows on the task bar.
-
TaskBarShowStartMenu = 1Show button for the start menu on the task bar.
-
TaskBarShowWindowListMenu = 1Show button for window list menu on taskbar.
-
TaskBarShowCPUStatus = 1Show CPU status on task bar (Linux & Solaris).
-
CPUStatusShowRamUsage = 1Show RAM usage in CPU status tool tip.
-
CPUStatusShowSwapUsage = 1Show swap usage in CPU status tool tip.
-
CPUStatusShowAcpiTemp = 1Show ACPI temperature in CPU status tool tip.
-
CPUStatusShowAcpiTempInGraph = 0Show ACPI temperature in CPU graph.
-
AcpiIgnoreBatteries =List of battery names ignore. -
CPUStatusShowCpuFreq = 1Show CPU frequency in CPU status tool tip.
-
TaskBarShowMEMStatus = 1Show memory usage status on task bar (Linux only).
-
TaskBarShowNetStatus = 1Show network status on task bar (Linux only).
-
NetworkStatusDevice = "[ew]*"List of network devices to be displayed in tray, space separated. Shell wildcard patterns can also be used. -
TaskBarShowCollapseButton = 0Show a button to collapse the taskbar.
-
TaskBarDoubleHeight = 0Double height task bar
-
TaskBarWorkspacesLeft = 1Place workspace pager on left, not right.
-
TaskBarWorkspacesTop = 0Place workspace pager on top row when using dual-height taskbar.
-
PagerShowPreview = 1Show a mini desktop preview on each workspace button. By pressing the middle mouse button the ‘window list’ is shown. The right button activates the ‘window list menu’. By using the scroll wheel over the ‘workspace list’ one can quickly cycle over all workspaces.
-
PagerShowWindowIcons = 1Draw window icons inside large enough preview windows on pager (if PagerShowPreview=1).
-
PagerShowMinimized = 1Draw even minimized windows as unfilled rectangles (if PagerShowPreview=1).
-
PagerShowBorders = 1Draw border around workspace buttons (if PagerShowPreview=1).
-
PagerShowNumbers = 1Show number of workspace on workspace button (if PagerShowPreview=1).
-
TaskBarLaunchOnSingleClick = 1Execute taskbar applet commands (like MailCommand, ClockCommand, …) on single click.
-
EnableAddressBar = 1Enable address bar functionality in taskbar.
-
ShowAddressBar = 1Show address bar in task bar.
-
TimeFormat = "%X"format for the taskbar clock (time) (see strftime(3) manpage).
-
TimeFormatAlt = ""Alternate Clock Time format (e.g. for blinking effects).
-
DateFormat = "%c"format for the taskbar clock tooltip (date+time) (see strftime(3) manpage).
-
TaskBarCPUSamples = 20Width of CPU Monitor.
-
TaskBarMEMSamples = 20Width of Memory Monitor.
-
TaskBarNetSamples = 20Width of Net Monitor.
-
TaskbarButtonWidthDivisor = 3Default number of tasks in taskbar.
-
TaskBarWidthPercentage = 100Task bar width as percentage of the screen width.
-
TaskBarJustify = "left"Taskbar justify left, right or center.
-
TaskBarApmGraphWidth = 10Width of APM Monitor.
-
TaskBarGraphHeight = 20Height of taskbar monitoring applets.
-
XineramaPrimaryScreen = 0Primary screen for xinerama (taskbar, …).
Mailbox Monitoring (updated 2018-03-04)
-
MailCheckDelay = 30Delay between new-mail checks. (seconds).
-
MailBoxPath = ""
This may contain a list of mailbox specifications. Mailboxes are separated by a space. If TaskBarShowMailboxStatus is enabled then IceWM will monitor each mailbox for status changes each MailCheckDelay seconds. For each mailbox IceWM will show an icon on the taskbar. The icon shows if there is mail, if there is unread mail, or if there is new mail. Hovering the mouse pointer over an icon shows the number of messages in this mailbox and also the number of unread mails. A mailbox can be the path to a file in conventional mbox format. If the path points to a directory then Maildir format is assumed. Remote mail boxes are specified by an URL using the Common Internet Scheme Syntax (RFC 1738):
scheme://user:password@server[:port][/path]
Supported schemes are pop3, pop3s, imap, imaps and file. The pop3s and imaps schemes depend on the presence of the openssl command for TLS/SSL encryption. This is also the case if port is either 993 for imap or 995 for pop3. When the scheme is omitted then file is assumed. IMAP subfolders can be given by the path component. Reserved characters like slash, at and colon can be specified using escape sequences with a hexadecimal encoding like %2f for the slash or %40 for the at sign. For example:
file:///var/spool/mail/captnmark
file:///home/captnmark/Maildir/
pop3://markus:%2f%40%3a@maol.ch/
pop3s://markus:password@pop.gmail.com/
imap://mathias@localhost/INBOX.Maillisten.icewm-user
imaps://mathias:password@imap.gmail.com/INBOX
To help solve network protocol errors for pop3 and imap set the environment variable ICEWM_MAILCHECK_TRACE. IceWM will then log communication details for POP3 and IMAP mailboxes. Just set export ICEWM_MAILCHECK_TRACE=1 before executing icewm, or set this in the env configuration file.
Note that for IceWM to access Gmail you must first configure your Gmail account to enable POP3 or IMAP access. To allow non-Gmail applications like IceWM to use it see the Gmail help site for “Let less secure apps use your account”. Also set secure file permissions on your IceWM preferences file and the directory which contains it. It is unwise to store a password on file ever. Consider a wallet extension for IceWM. The following Perl snippet demonstrates how to hex encode a password like !p@a%s&s~:
perl -e 'foreach(split("", $ARGV[0])) { printf "%%%02x", ord($_); }; print "\n";' '!p@a%s&s~'
%21%40%23%24%25%5e%26%2a%7e
-
NewMailCommand =The command to be run when new mail arrives. It is executed by
/bin/sh -c. The following environment variables will be set:ICEWM_MAILBOXmailbox index number ofMailBoxPathstarting from 1.ICEWM_COUNTgives the total number of messages in this mailbox.ICEWM_UNREADgives the number of unread messages in this mailbox.
Menus
-
AutoReloadMenus = 1Reload menu files automatically if set to 1.
-
ShowProgramsMenu = 0Show programs submenu.
-
ShowSettingsMenu = 1Show settings submenu.
-
ShowFocusModeMenu = 1Show focus mode submenu.
-
ShowThemesMenu = 1Show themes submenu.
-
ShowLogoutMenu = 1Show logout menu.
-
ShowHelp = 1Show the help menu item.
-
ShowLogoutSubMenu = 1Show logout submenu.
-
ShowAbout = 1Show the about menu item.
-
ShowRun = 1Show the run menu item.
-
ShowWindowList = 1Show the window menu item.
-
MenuMaximalWidth = 0Maximal width of popup menus, 2/3 of the screen’s width if set to zero.
-
NestedThemeMenuMinNumber = 25Minimal number of themes after which the Themes menu becomes nested (0=disabled).
Timings
-
DelayFuzziness = 10Percentage of delay/timeout fuzziness to allow for merging of timer timeouts.
-
ClickMotionDistance = 5Movement before click is interpreted as drag.
-
ClickMotionDelay = 200Delay before click gets interpreted as drag.
-
MultiClickTime = 400Time (ms) to recognize for double click.
-
MenuActivateDelay = 40Delay before activating menu items.
-
SubmenuMenuActivateDelay = 300Delay before activating menu submenus.
-
ToolTipDelay = 5000Time before showing the tooltip.
-
ToolTipTime = 60000Time before tooltip window is hidden (0 means never).
-
AutoHideDelay = 300Time to auto hide taskbar (must enable first with TaskBarAutoHide).
-
AutoShowDelay = 500Delay before task bar is shown.
-
AutoRaiseDelay = 400Time to auto raise (must enable first with AutoRaise).
-
PointerFocusDelay = 200Delay for pointer focus switching.
-
EdgeSwitchDelay = 600Screen edge workspace switching delay.
-
ScrollBarStartDelay = 500Initial scroll bar autoscroll delay
-
ScrollBarDelay = 30Scroll bar autoscroll delay
-
AutoScrollStartDelay = 500Auto scroll start delay
-
AutoScrollDelay = 60Auto scroll delay
-
WorkspaceStatusTime = 2500Time before workspace status window is hidden.
-
TaskBarCPUDelay = 500Delay between CPU Monitor samples in ms.
-
TaskBarMEMDelay = 500Delay between Memory Monitor samples in ms.
-
TaskBarNetDelay = 500Delay between Net Monitor samples in ms.
-
FocusRequestFlashTime = 0Number of seconds the taskbar app will blink when requesting focus (0 = forever).
-
FocusRequestFlashInterval = 250Taskbar blink interval (ms) when requesting focus (0 = blinking disabled).
-
BatteryPollingPeriod = 10Delay between power status updates (seconds).
Buttons and Keys
-
UseRootButtons = 255Bitmask of root window button click to use in window manager.
-
ButtonRaiseMask = 1Bitmask of buttons that raise the window when pressed.
-
DesktopWinMenuButton = 0Desktop mouse-button click to show the window list menu.
-
DesktopWinListButton = 2Desktop mouse-button click to show the window list.
-
DesktopMenuButton = 3Desktop mouse-button click to show the root menu.
-
TitleBarMaximizeButton = 1TitleBar mouse-button double click to maximize the window.
-
TitleBarRollupButton = 2TitleBar mouse-button double click to rollup the window.
-
RolloverButtonsSupported = 0Does it support the ‘O’ title bar button images (for mouse rollover)
Workspaces
-
WorkspaceNames
List of workspace names, for example:
WorkspaceNames=” 1 “, “ 2 “, “ 3 “, “ 4 “
Paths
-
LibPath
Path to the icewm/lib directory.
-
IconPath
Path to the icon directory. Multiple paths can be given using the colon as a separator.
Programs
-
ClockCommand
program to run when the clock is double clicked.
-
MailCommand
program to run when mailbox icon is double clicked.
-
LockCommand
program to run to lock the screen.
-
RunCommand
program to run when Run is selected from the start menu.
Window Menus
WinMenuItems Items to show in the window menus, possible values are:
-
a=rAise -
c=Close -
f=Fullscreen -
h=Hide -
i=trayIcon -
k=Kill -
l=Lower -
m=Move -
n=miNimize -
r=Restore -
s=Size -
t=moveTo -
u=rollUp -
w=WindowsList -
x=maXimize -
y=laYerExamples:
WinMenuItems=rmsnxfhualyticw #Default menu WinMenuItems=rmsnxfhualytickw #Menu with all possible options WinMenuItems=rmsnxc #MS-Windows menu