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.2 in PLT MzScheme: Language Manual.
(find-graphical-system-path-> path orwhat)#f
what: symbol in'(init-file setup-file x-display)The result depends on
what, and a#fresult is only possible whenwhatis'x-display:'init-filereturns 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-dirby MzScheme'sfind-system-path(see Pathnames, section 11.3.2 in PLT MzScheme: Language Manual). The file name is platform-specific:'setup-filereturns the path to the file containing resources used byget-resource; obsolete.'x-displayreturns a ``path'' whose string identifies 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.