Manipulating ComposerLite windows
The following sections describe various ways you can customize windows, including:
Positioning the main window
By default, you choose the main window location every time you start ComposerLite. If you prefer, you can specify that the main window always appears in the same place it was the last time you used it.
To do this, you must modify the behavior of the 4Dwm window manager1. In your ~/.Xdefaults or ~/4Dwm resource file, add the following resource definitions:
4Dwm*interactivePlacement: false
4Dwm*usePPosition: true
4Dwm*positionOnScreen: true
Raising and lowering windows
By default, you cannot pop the main window over its subwindows. To change this, you need to inform the window manager2.
If you do not already have a 4Dwm configuration file, create one by copying the system's configuration file to your home directory:
cp /usr/lib/X11/system.4Dwmrc ~/.4Dwmrc
Next, you need to modify the file ~/.4Dwmrc using vi or another text editor. Change the following lines from:
Ctrl<Btn1Down> frame|icon f.lower
Shift<Btn1Down> frame|icon f.raise
Ctrl<Btn2Down> frame|icon f.lower
Shift<Btn2Down> frame|icon f.raise
to:
Ctrl<Btn1Down> frame|icon f.lower freeFamily
Shift<Btn1Down> frame|icon f.raise freeFamily
Ctrl<Btn2Down> frame|icon f.lower within
Shift<Btn2Down> frame|icon f.raise within
After restarting the window manager (by logging out and in again), you can use the following key combinations to manipulate ComposerLite's windows independently of one another:
Resizing windows
By default, ComposerLite's windows are resizeable.
To ensure that the window manager's3 Maximize function is always available, set the following resources in your ~/.Xdefaults file or your window manager's resource file, then restart the window manager:
4Dwm*transientDecoration: all
4Dwm*transientFunctions: -minimize
Set the maximize size for ComposerLite's windows by defining these resources:
Composer*maxHeight: 988
Composer*maxWidth: 1264
You may need to modify these values slightly, depending on the width of the windows' borders.
Changing the preview swatch size
You can change the file browser's preview swatch size by defining two resources in your ~/.Xdefaults file.
To set the swatch size to be 80 pixels x 80 pixels, for example, use these resource statements:
Composer*previewPort.height: 80
Composer*previewPort.width: 80
Setting the background color
To set ComposerLite's background color, you can set an X resource. For example, to set the background to red, enter:
Composer*background: red
The color you choose must be a standard X color.
Disabling tear-off menus
By default, ComposerLite enables tear-off menus. To disable this feature, add the following to your ~/.Xdefaults or resource file:
Composer*tearOffModel: TEAR_OFF_DISABLED
Controlling top-bar menu drawing
By default, ComposerLite draws the top-bar menus in the normal planes. You can draw the menus in the overlay planes to prevent the menus from generating expose events in the main window when the menus are pulled down.
To draw the menus in the overlay planes, add the following line to your ~/.Xdefaults or resource file:
Composer*useOverlayMenus: true
1
Note that this change affects the interactive placement of all applications, not just .
2
This discussion only applies to those who use the IRIX 4Dwm window manager.
3
This applies to only IRIX's 4Dwm window manager. Other window managers may require different resources to be set.
aliasdocs@aw.sgi.com
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights
reserved.