The chestrc now carries the reference structure: Desktop (Access Files, Open Home Folder, Shared Resources, Customize, Control Audio, Empty Dumpster, Open Unix Shell, Start ScreenSaver, Lock Screen, Log Out), Shared (Network Places, Connect to Server), Internet (Open Web Browser), Find (Search For Files, File QuickFind, Host QuickFind, Info Search) and System (Processes, Filesystems, Disk Utility, Printers, Software Update, Date & Time, System Settings, Backup, Restart, Shut Down). Measured under Xvfb: the chest lists Desktop/Selected/Find/System/Help and the Desktop menu shows the reference entries (screenshot).
82 lines
2.2 KiB
Plaintext
82 lines
2.2 KiB
Plaintext
#
|
|
# system.chestrc -- the menus of the MCDE ToolChest
|
|
#
|
|
# The grammar is the reference's (docs/MCDE-PROGRAMS.md B2): Menu NAME [dynamic]
|
|
# { entries }, "LABEL f.menu NAME", "LABEL f.exec "command"",
|
|
# "no-label f.separator". A user's ~/.chestrc replaces this file;
|
|
# ~/.auxchestrc will be added when the include path is read (T2).
|
|
#
|
|
|
|
Menu ToolChest
|
|
{
|
|
Desktop f.menu Desktop
|
|
no-label f.separator
|
|
"Selected" f.menu Selected
|
|
no-label f.separator
|
|
Find f.menu Find
|
|
no-label f.separator
|
|
System f.menu System
|
|
no-label f.separator
|
|
Help f.menu Help
|
|
}
|
|
|
|
Menu Desktop
|
|
{
|
|
"Access Files" f.exec "dtfile"
|
|
"Open Home Folder" f.exec "dtfile -dir \"$HOME\""
|
|
"Shared Resources" f.menu Shared
|
|
"Customize" f.exec "dtsystemsettings"
|
|
"Control Audio" f.exec "dtsystemsettings -pane sound"
|
|
"Empty Dumpster" f.exec "dtaction EmptyTrash"
|
|
no-label f.separator
|
|
"Open Unix Shell" f.exec "dtterm"
|
|
"Start ScreenSaver" f.exec "dtscreen -mode swarm"
|
|
"Lock Screen" f.exec "dtscreen -lock"
|
|
no-label f.separator
|
|
"Log Out" f.exec "dtaction ExitSession"
|
|
}
|
|
|
|
Menu Shared
|
|
{
|
|
"Network Places" f.exec "dtfile -dir \"$HOME/Network\""
|
|
"Connect to Server" f.exec "dtfile"
|
|
}
|
|
|
|
Menu Internet
|
|
{
|
|
"Open Web Browser" f.exec "dtaction McdeWeb"
|
|
}
|
|
|
|
Menu Selected dynamic
|
|
{
|
|
}
|
|
|
|
Menu Find
|
|
{
|
|
"Search For Files" f.exec "dtfile"
|
|
"File QuickFind" f.exec "dtfile"
|
|
"Host QuickFind" f.exec "dtfile -dir \"$HOME/Network\""
|
|
"Info Search" f.exec "dtinfo"
|
|
}
|
|
|
|
Menu System
|
|
{
|
|
"Processes" f.exec "dtactivity"
|
|
"Filesystems" f.exec "dtdiskutility"
|
|
"Disk Utility" f.exec "dtdiskutility"
|
|
"Printers" f.exec "dtprintinfo -all"
|
|
"Software Update" f.exec "dtsystemsettings -pane update"
|
|
"Date & Time" f.exec "dtsystemsettings -pane datetime"
|
|
"System Settings" f.exec "dtsystemsettings"
|
|
"Backup" f.exec "dtbackup"
|
|
no-label f.separator
|
|
"Restart" f.exec "dtaction Restart"
|
|
"Shut Down" f.exec "dtaction Shutdown"
|
|
}
|
|
|
|
Menu Help
|
|
{
|
|
"MCDE Guide" f.exec "dtinfo"
|
|
"About MCDE" f.exec "dtsystemsettings -pane about"
|
|
}
|