Documentation
¶
Overview ¶
Package apps lists the desktop programs the dashboard can open in the browser. Each runs alone on its own virtual X display (TigerVNC's Xvnc, on localhost only), which the dashboard relays to noVNC in the browser: the way DigiPi does it, one app per display.
Index ¶
Constants ¶
const DesktopPort = 5899
DesktopPort is where hamstack's own wayvnc shares the computer's desktop to the dashboard (localhost only).
const FirstDisplay = 20
FirstDisplay is the X display number of the first program; each gets its own, and its VNC port is 5900 plus that number.
Variables ¶
var All = []App{ {"wsjtx", "WSJT-X", "wsjtx-improved", true}, {"js8call", "JS8Call", "js8call", true}, {"fldigi", "Fldigi", "fldigi", true}, {"flmsg", "FLMsg", "flmsg", false}, {"flamp", "FLAmp", "flamp", false}, {"xastir", "Xastir", "xastir", false}, {"flrig", "FLRig", "flrig", false}, {"console", "Hamstack console", "xterm", false}, }
All are the programs the dashboard knows, in the order it lists them. The display numbers follow this order, so new programs go at the end.
Functions ¶
Types ¶
type App ¶
type App struct {
Name string // used in URLs and unit names: vnc@NAME
Title string
Package string // the catalog program that provides it
Radio bool // uses the radio's sound card: the HF modem is stopped while it is open
}
App is one desktop program.