Last Edited: 01 May 2008 by superuser
Importered from old WiKi -- 30/04-08 17:04.

Puppy Linux Mini How-to



Setting
Window Options in IceWM

- winoptions file (in /root/.icewm/winoptions) is used to configure
settings for individual application windows.

You
can add these lines to /root/.icewm/winoptions:

# setting icon in tast bar and icon shown when pressing 'Alt+tab'
pmount.icon: mini-diskette
uxplor.icon: mini-filemgr
gkdial.icon: mini-connect
emelfm2.icon: mini-filemgr

# don't show title bar
mozilla-bin.dTitleBar: 0
dillo.dTitleBar: 0
emelfm2.dTitleBar: 0

# add an icon the the tray and never create a task pane button
xmms.tray: Exclusive
rxvt.tray: Exclusive
gkdial.tray: Exclusive


Detail explanation:

The value before '.tray', '.icon', etc. can be
determined by typing
xprop in a terminal windows like rxvt.
For example, xprop should
display a line like
this when used on a toplevel window:

WM_CLASS = "name", "class"

and may also display a line like this:

WM_WINDOW_ROLE = "window role"

Options that can be set per window are as follows:



icon
The name of the icon.

tray
Default tray option for the window.
Affects both the tray and the task pane. Tray can be one of the
following strings:

Ignore

Don't add an icon to the tray pane.
Minimized

Add an icon to the tray. Remove the task pane button when minimized.
Exclusive

Add an icon to the tray. Never create a task pane button .


workspace
Default workspace for window (number,
counting from 0)

allWorkspaces=0
If set to 1, window will be visible on
all workspaces.

layer
Default layer for the window. Layer can
be one of the following strings:

Desktop

Desktop window. There should be only one window in this layer.
Below

Below default layer.
Normal

Default layer for the windows.
OnTop

Above the default.
Dock

Layer for windows docked to the edge of the screen.
AboveDock

Layer for the windows above the dock.
Menu

Layer for the windows above the dock.
You can also use the numbers from
WinMgr.h.


geometry
Default geometry for window. This
geometry should be specified in the X11-syntax, formal notation:
[=][{xX}lt;height>][{+-}{+-}]

ignoreWinList=0
If set to 1, window will not appear in
the window list.

ignoreTaskBar=0
If set to 1, window will not appear on
the task bar.

ignoreQuickSwitch=0
If set to 1, window will not be
accessible using QuickSwitch feature (Alt+Tab).

fullKeys=0
If set to 1, the window manager leave
more keys (Alt+F?) to the application.


fMove=1
If set to 0, window will not be movable.

fResize=1
If set to 0, window will not be
resizable.

fClose=1
If set to 0, window will not be closable.

fMinimize=1
If set to 0, window will not be
minimizable.

fMaximize=1
If set to 0, window will not be
maximizable.

fHide=1
If set to 0, window will not be hidable.

fRollup=1
If set to 0, window will not be shadable.


dTitleBar=1
If set to 0, window will not have a
title bar.

dSysMenu=1
If set to 0, window will not have a
system menu.

dBorder=1
If set to 0, window will not have a
border.

dResize=1
If set to 0, window will not have a
resize border.

dClose=1
If set to 0, window will not have a
close button.

dMinimize=1
If set to 0, window will not have a
minimize button.

dMaximize=1
If set to 0, window will not have a
maximize button.


noFocusOnAppRaise
if set to 1, window will not
automatically get focus as application raises it.

ignoreNoFocusHint
if set to 1, icewm will focus even if
the window does not handle input.

doNotCover=0
if set to 1, this window will limit the
workspace available for regular applications. window has to be sticky
at the moment to make it work

forcedClose=0
if set to 1 and the application had not
registered WM_DELETE_WINDOW, a close confirmation dialog won't be
offered upon closing the window.




CategoryDocumentation