find-graphical-system-path in Miscellaneous
Finds a platform-specific (and possibly user- or machine-specific) standard filename or directory.
See also find-system-path, section 11.3.1 in PLT MzScheme: Language Manual.
(find-graphical-system-path -> string or what)#f
what : symbol in '(init-file setup-file x-display)
The result depends on what, and a #f result is only
possible when what is 'x-display:
'init-file returns the path to the user-specific
initialization file (containing Scheme code). The directory part of
the path is the same path as returned for 'init-dir by
MzScheme's find-system-path (see
Pathnames, section 11.3.1 in PLT MzScheme: Language Manual). The file name is
platform-specific:
'setup-file returns the path to the file
containing resources used by get-resource; obsolete.
'x-display returns a string identifying the X display
if specified by either the -display flag or the
"DISPLAY" environment variable when MrEd starts under X. For
other platforms, or when neither -display nor
"DISPLAY" was specified, the result is #f.