Arrange - AfterStep module for arranging windows in a tiling or cascading order



Arrange was developed to replace Tile and Cascade which were present in AfterStep 1.8 and stopped working with the introduction of AfterStep 2.0. Like Tile and Cascade Arrange can be used to tile or cascade windows subject to certain constraints.

By default Arrange will cascade windows located on the current screen.



Causes all window styles to be affected, even ones with the WindowListSkip style.


Causes windows on all desks to be effected.


Causes all windows on the desk to be cascaded instead of the current screen only.


Causes windows to be tiled horizontaly. This will only have an effect if -tile is passed.

-incx arg

Specifies a horizontal increment which is successively added to arranged windows. arg is a percentage of screen width, or pixel value if a p is suffixed. Default is 20p.

-incy arg

Specifies a vertical increment which is successively added to arranged windows. arg is a percentage of screen height, or pixel value if a p is suffixed. Default is 20p.


Causes maximized windows to also be affected (implied by -all).

-mn arg

Tiles up to arg windows in tile direction. If more windows exist, a new direction row or column is created (in effect, a matrix is created).


Inhibits window raising, leaving the depth ordering intact.


Inhibits window expansion when using the -resize option. Win- dows will only shrink to fit the maximal width and height (if given).

-pattern arg

Only arrange windows matching the supplied pattern.


Reverses the window sequence.


Forces all windows to resize to the constrained width and height (if given).


Causes sticky windows to also be affected (implied by -all).


Causes transient windows to also be affected (implied by -all).


Causes windows to be tiled not cascaded.


Causes untitled windows to also be affected (implied by -all).


Arrange can be invoked from the autoexec file or by binding the action "Module Arrange [args]" to a key-stroke in a feel file.


Command-line arguments passed to Arrange are described in the OPTIONS section.

Up to four numbers can be placed on the command line that are not switches. The first pair specify an x and y offset to start the first window (default is 0, 0). The second pair specify an absolute coordi- nate reference denoting the lower right bounding box for tiling. If any number is suffixed with the letter p, then it is taken to be a pixel value, otherwise it is interpreted as a screen percentage. Specifying zero for any parameter is equivalent to not specifying it.

This invocation will horizontally tile windows with a bounding box which starts at 10 by 10 percent into and down the screen and ends at 90 by 90 percent into and down the screen.

Arrange 10 10 90 90 -tile -H

It is probably not a good idea to delete windows while windows are being arranged.

Latest Tech News
Your Notes

Sign in/Sign up

Signing in to our system allows you to post your contributions and vote on the contributions of others. It will also allow you to get extra perts like having your favorites in the cloud and having your persistent personal notes wherever you go. More will be added as we scale up our services.

By signing in to our system, you agree our Member Terms and Conditions

with one of the following services

Almost finished!

Please select a screen name for NET SOUP.

 Please send me news and special offers from NET SOUP.

 I have read and accept the Terms of Use.


We have no example yet for this entry

Your Name

Community Contributions and Discussions

Modify your search

View Documentation

Jobs from Indeed