If a .rootmenu file is present in a user's home directory, it specifies the SunView menu, the menu that appears when the user clicks and holds the right mouse button in the background of the SunView desktop. If a .rootmenu file is not present in the user's home directory, /usr/lib/.rootmenu specifies the SunView menu.
Each line of a .rootmenu file has the format:
menu item can be a character string, or an icon file delimited by angle brackets:
If menu item is a character string with embedded spaces, it must be enclosed by double quotes (`"').
command can be a command line to be executed when the menu item is selected, or one of the following reserved-word commands:
If command is not one of the reserved-word commands, it is treated as a command line, although no shell interpretation is done.
Lines beginning with a `#' character are considered comments and are ignored.
If a user's .rootmenu file is modified, the SunView menu immediately reflects the changes.
See sunview.1 for more details about .rootmenu.
The following is a sample .rootmenu file:
# # sample root menu # "Lock Screen" lockscreen Tools MENU Perfmeter perfmeter Calculator calc Mailtool mailtool Tools END "ShellTool" shelltool "CommandTool" cmdtool "Console" cmdtool -C #"MailTool" mailtool "TextEditor" textedit "DefaultsEditor" defaultsedit #"IconEditor" iconedit #"DbxTool" dbxtool "PerfMeter" perfmeter #"GraphicsTool" gfxtool "Redisplay All" REFRESH "Exit Suntools" EXIT
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97