MKXLAX(1) | General Commands Manual | MKXLAX(1) |
mkxlax - xlax and xterm startup program
mkxlax [options] sendString [more sendStrings ...]
Mkxlax is an perl script that will start up a number of xterms configured to work together with xlax, and then start up an xlax to communicate with the xterms.
Mkxlax will start an xterm for each argument (send string) provided. Each xterm will have it's name hint (the `-name' option) set to xlax:sendString, where the sendString is the argument provided to mkxlax. The xterms will all be started with send events enabled (required for xlax).
The xterms will be arranged in a cascasde from upper left to lower right. Other arrangements are possible based on the provided options.
If no options are given, the defaults are `-x 0 -y 0 -dx 20 -dy 50 -wrapy 750 -wrapdx 200'
It's possible to provide options that probably don't make any sense. The EXAMPLES section shows a few reasonable usages.
Custom layouts can be added by putting them in the configuration file .mkxlax in your home directory. The file contains lines with a layout name followed by a colon, and then command line options to set for that layout. For example:
tile: -group tilexlax -dx 510 -wrapx 1000 -wrapdy 345 -geometry +740-2
mkxlax -layout tile host1 host2 ...
You can also list sendStrings after the options in the layout configuration, so a frequently used list of strings can be accessed with a simple layout. Any additional sendStrings provided on the command line will be added to those found in the layout.
This starts up five xterms with the default cascade positioning.
example% mkxlax host1 host2 host3 host4 host5
If you run more than one group of mkxlax windows, you need different group names, otherwise later xlaxes will find windows from earlier mkxlax commands.
example% mkxlax -group foo: host1 host2 host3
To lay out tiled, by row:
example% mkxlax -dx 400 -wrapx 1000 -wrapdy 300 host1 host2 ...
To lay out tiled, by column:
example% mkxlax -dy 300 -wrapy 700 -wrapdx 400 host1 host2 ...
Probably something, but nothing that comes to mind.
Copyright 2007, Thomas A. Fine
Release 5 | X Version 11 |