XTMENU(9) MachTen Programmer’s Manual XTMENU(9)

xtmenu - Macintosh menu bar and window manipulation under

xtmenu [-f] [-h] [-s] [-q]

Xtmenu affords the user a measure of program control over
the X desktop appearance while running the X server. Run
without options, xtmenu toggles the accessibility of Mac-
intosh menu bar pull down items on the X desktop when run-
ning X in full screen mode, i.e. without a menu bar.

Xtmenu accepts the following options:

-f This option causes the visible X desktop to hide
itself and make the Finder the front application.
This is equivalent to selecting "Finder" from the
Application menu.

-h This option causes the visible X desktop to hide
itself, exposing the Macintosh desktop. This is
equivalent to selecting "Hide" from the Window
Order menu.

-s When MachTen is the the foreground application and
the X server is running, this option exposes the X
desktop. This is equivalent to selecting the "X
Server" item from the Window menu.

If the X server is not running, this option will
start the X server, emulating the <Command-T> hot
key server start up sequence.

-q When MachTen is the foreground application, this
option closes all X client connections, terminates
the X server, and removes the X desktop from the
MachTen window list. This is equivalent to
selecting "Close Window" from the File menu.

Xtmenu can be very useful when bound to a "hot" key
sequence recognized by your favorite window manager. For
example, you can hide the X desktop when running olvwm(n)
using the "Shift" and "Escape" keys by creating a
$HOME/.olvwmrc file with the following entry:

Escape + Shift {
Execute: "/usr/bin/X11/xtmenu -h"

To add the same functionality to mwm(n), the $HOME/.mwmrc
file is modified as follows:

Keys DefaultKeyBindings
Shift<Key>Escape root f.exec "xtmenu -h"

XMachTen(n), Xserver(n), mwm(n), olvwmrc(n)

X Version 11 Release 5 2