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

NAME
xtmenu - Macintosh menu bar and window manipulation under
X

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

DESCRIPTION
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.

OPTIONS
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.

NOTES
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"
}

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

X Version 11 Release 5 2