Front panel definition (dtwm.fp) and actions -- what MCDE's panel relies on
Read 2026-11-11 for the panel layout of ext/src/mcde/programs/types/dtwm.fp.src.

Source: ext/src/mcde/doc/en_US.UTF-8/guides/man/man4/dtfpfile.sgm (CDE 2.5.3,
dtfpfile(4)), the lines quoted:

  :406  CONTROL TYPE (blank/busy/client/clock/date/file/icon), default icon
  :616  "For the control type of file, FILE_NAME is the pathname of the file
        to be used for the control.  The file's file type, actions and
        images are extracted from the action database for the control."
  :674  LABEL "Used with control types of: icon, file, clock and busy ...
        specifies the string to be displayed when a control is in a
        subpanel."
  :821  file -- "References a file on the file system and uses that file's
        actions and image"

Measured (Xvfb, dtsession, build/mcde-root):
  - A file control in a drawer is labelled with the file's name, not with
    LABEL: FILE_NAME $HOME showed the user's login name.  Home is therefore
    an icon control (PUSH_ACTION DtfileHome).
  - FILE_NAME $HOME/Desktop etc.: the folder icon, a click opens the folder.

Actions (types/*.dt.src, built through cpp -P -C, then the action service):
  - cpp does not replace a macro inside '...' (a character literal to cpp):
    sh -c 'exec CDE_INSTALLATION_TOP/bin/dtfile ...' reached dtexec as
    "exec: CDE_INSTALLATION_TOP/bin/dtfile: not found" (~/.dt/errorlog).
  - The action service puts in $NAME in EXEC_STRING itself; an unknown name
    becomes empty: sh -c '... exec "$0" ...' gave "exec: : Permission
    denied".  So an EXEC_STRING carries no shell variables; anything that
    needs them is a script in dt/bin (dtremotelogin).
  - $HOME in EXEC_STRING is put in (McdeNetwork: dtfile -dir $HOME/Network
    opened /home/.../Network).

2026-11-14 (t0112): what the Front Panel can be set to -- size, place, orientation,
hiding.  Read in ext/src/mcde/programs/dtwm and lib/DtSvc/DtUtil2; no keyword or
code path was run for this note.
  - The PANEL record has 13 keywords (DataBaseLoad.c:105-120, DataBaseLoad.h:
    PANEL_KEYWORD_COUNT 13): PANEL, PANEL_GEOMETRY, DISPLAY_HANDLES,
    DISPLAY_MENU, DISPLAY_MINIMIZE, RESOLUTION, CONTROL_BEHAVIOR,
    DISPLAY_CONTROL_LABELS, SUBPANEL_UNPOST, LOCKED, HELP_STRING, HELP_VOLUME,
    HELP_TOPIC.  The shipped definition (types/dtwm.fp.src) sets only
    DISPLAY_MINIMIZE True.
  - SIZE is RESOLUTION: HIGH or MEDIUM gives panel.main_icon_size = DtLARGE and
    the larger buttons, LOW the small ones (UI.c:406-445 and the branches
    "if (panel.resolution == HIGH || panel.resolution == MEDIUM)" from UI.c:258
    on).  A value that is none of HIGH/MEDIUM/LOW, or MATCH_DISPLAY (the
    default), asks the display: _DtGetDisplayResolution classes a screen by its
    WIDTH -- 1176 px or more HIGH, 851 MEDIUM, 512 LOW (include/Dt/GetDispRes.h:
    55-57, lib/DtSvc/DtUtil2/GetDispRes.c:73).  So two real sizes, large and
    small, and on any screen of today the automatic one is large: "small" is
    RESOLUTION LOW forced.  There is no stepless size.
  - PLACE is PANEL_GEOMETRY, an X geometry string for the shell (WmFP.c:790-
    792); without it the panel is centred at the bottom ("+X-0", WmFP.c:795-
    800).  It is a position; the panel's layout is built horizontally.
  - ORIENTATION: there is no keyword.  The XmNorientation settings in UI.c
    (:2082 XmHORIZONTAL, :2580 XmVERTICAL, :2869 XmHORIZONTAL) are those of
    parts inside the panel (row columns), not a choice of the panel.  A panel at
    the left or right edge is NOT something a definition file can ask for; it
    would be a change of the layout code.
  - DISPLAY_MINIMIZE is the minimize button of the panel itself (the panel
    shrinks), not a choice of how WINDOWS minimise.
  - AUTO-HIDE: there is no keyword and no code for it in the panel; the task's
    idea (a 1 px InputOnly window at the edge, show on enter) would be new
    code in dtwm.
  - Not looked at: whether a user's own .fp file can change RESOLUTION or
    PANEL_GEOMETRY of the shipped PANEL record (and so how System Settings
    could write the size), and how dtwm is told to read it again.
