Download System Administration

Transcript
13.5 VNMR and Other Application Configuration Files
color, and font selection, whether they are open or iconic, and so on, similar to the
file .suntools. See the Sun manuals for more information.
The Open Look background menu also offers the Save Workspace option that is supposed
to freeze the current window setup, so that upon restarting Open Look an identical screen
layout is obtained. This is for a simple, flat window setup. It cannot reconstruct parent/child
relationships as they exist between the calling window and VNMR, or within VNMR itself,
and can therefore lead to error messages and a situation where VNMR is not started
automatically.
There are two possible solutions to this problem:
• Don’t use Save Workspace and modify ~/.openwin-init by hand if necessary.
• Use Save Workspace and then fix the resulting file ~/.openwin-init as follows:
a.
Eliminate the following two lines:
toolwait VNMR -geometry +0+0
toolwait VNMR -geometry +0+160
b.
Add Vn & to the end of the line that defines the window from which VnmrX
should be started—either the line ending with -Wl VNMR (the window
labeled “VNMR”) or the line that defines the console window (the line with
the -C option).
.openwin-menu File
The file .openwin-menu is also for the OpenWindows environment only. This file
defines the Open Look root menu. Defining stacked menus is possible (see the Sun manuals
for information).
All functions are called here through exec command. For each submenu, a DEFAULT
entry can be defined, which is selected if the menu button is released on the submenu title
(without actually entering the submenu). The default can be any item from a submenu. If
the END keyword from a submenu definition is followed by PIN, the submenu can be
“pinned down” on the screen background—a useful feature that makes it easier to access
frequently used submenus. The Open Look root menu as such can be pinned down anyway.
Other Customization Files
In the OpenLook environment, clock and the Open Look file manager (filemgr) create
their rc files (.clockrc and .filemgrrc). It is advisable to use the ls command
without -A or -a option, due to the proliferation of dot files that clutter the home directory.
The file .wastebasket is not a configuration file, but a directory for files that are thrown
into the wastebasket from within the OpenWindows file manager filemgr. Discarded
files can be recovered from the .wastebasket directory. The CDE file manager places
such files in ~/dt/Trash.
13.5 VNMR and Other Application Configuration Files
In VNMR 5.1 and earlier, the .Xdefaults file contained application-specific definitions
such as pulsetool, Acqstat, etc. for VNMR. In newer VNMR releases, these
definitions have been moved into application-specific files in /vnmr/app-defaults
(app-defaults/Vnmr, app-defaults/Acqi, etc.).
01-999166-00 A0800
System Administration
187