/usr/share/doc/racket/gui/mredprefs.html is in racket-doc 6.7-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>10 Preferences</title><link rel="stylesheet" type="text/css" href="../scribble.css" title="default"/><link rel="stylesheet" type="text/css" href="../racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-style.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../doc-site.css" title="default"/><script type="text/javascript" src="../scribble-common.js"></script><script type="text/javascript" src="../manual-racket.js"></script><script type="text/javascript" src="../doc-site.js"></script><script type="text/javascript" src="../local-redirect/local-redirect.js"></script><script type="text/javascript" src="../local-redirect/local-user-redirect.js"></script><!--[if IE 6]><style type="text/css">.SIEHidden { overflow: hidden; }</style><![endif]--></head><body id="doc-racket-lang-org"><div class="tocset"><div class="tocview"><div class="tocviewlist tocviewlisttopspace"><div class="tocviewtitle"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,"tocview_0");">▼</a></td><td></td><td><a href="index.html" class="tocviewlink" data-pltdoc="x">The Racket Graphical Interface Toolkit</a></td></tr></table></div><div class="tocviewsublistonly" style="display: block;" id="tocview_0"><table cellspacing="0" cellpadding="0"><tr><td align="right">1 </td><td><a href="windowing-overview.html" class="tocviewlink" data-pltdoc="x">Windowing</a></td></tr><tr><td align="right">2 </td><td><a href="Widget_Gallery.html" class="tocviewlink" data-pltdoc="x">Widget Gallery</a></td></tr><tr><td align="right">3 </td><td><a href="Windowing_Classes.html" class="tocviewlink" data-pltdoc="x">Windowing Classes</a></td></tr><tr><td align="right">4 </td><td><a href="Windowing_Functions.html" class="tocviewlink" data-pltdoc="x">Windowing Functions</a></td></tr><tr><td align="right">5 </td><td><a href="editor-overview.html" class="tocviewlink" data-pltdoc="x">Editors</a></td></tr><tr><td align="right">6 </td><td><a href="Snip_and_Style_Classes.html" class="tocviewlink" data-pltdoc="x">Snip and Style Classes</a></td></tr><tr><td align="right">7 </td><td><a href="Editor_Classes.html" class="tocviewlink" data-pltdoc="x">Editor Classes</a></td></tr><tr><td align="right">8 </td><td><a href="Editor_Functions.html" class="tocviewlink" data-pltdoc="x">Editor Functions</a></td></tr><tr><td align="right">9 </td><td><a href="WXME_Decoding.html" class="tocviewlink" data-pltdoc="x">WXME Decoding</a></td></tr><tr><td align="right">10 </td><td><a href="" class="tocviewselflink" data-pltdoc="x">Preferences</a></td></tr><tr><td align="right">11 </td><td><a href="Dynamic_Loading.html" class="tocviewlink" data-pltdoc="x">Dynamic Loading</a></td></tr><tr><td align="right">12 </td><td><a href="Startup_Actions.html" class="tocviewlink" data-pltdoc="x">Startup Actions</a></td></tr><tr><td align="right">13 </td><td><a href="Init_Libraries.html" class="tocviewlink" data-pltdoc="x">Init Libraries</a></td></tr><tr><td align="right">14 </td><td><a href="libs.html" class="tocviewlink" data-pltdoc="x">Platform Dependencies</a></td></tr><tr><td align="right"></td><td><a href="doc-index.html" class="tocviewlink" data-pltdoc="x">Index</a></td></tr></table></div></div></div></div><div class="maincolumn"><div class="main"><div class="navsettop"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, "6.7", "../");" onfocus="this.style.color="black"; this.style.textAlign="left"; if (this.value == "...search manuals...") this.value="";" onblur="if (this.value.match(/^ *$/)) { this.style.color="#888"; this.style.textAlign="center"; this.value="...search manuals..."; }"/></form> <a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot("6.7");">top</a></span><span class="navright"> <a href="WXME_Decoding.html" title="backward to "9 WXME Decoding"" data-pltdoc="x">← prev</a> <a href="index.html" title="up to "The Racket Graphical Interface Toolkit"" data-pltdoc="x">up</a> <a href="Dynamic_Loading.html" title="forward to "11 Dynamic Loading"" data-pltdoc="x">next →</a></span> </div><h3 x-source-module="(lib "scribblings/gui/gui.scrbl")" x-source-pkg="gui-doc" x-part-tag=""mredprefs"">10<tt> </tt><a name="(part._mredprefs)"></a>Preferences</h3><p>The <a href="index.html" class="RktModLink" data-pltdoc="x"><span class="RktSym">racket/gui/base</span></a> library supports a number of preferences for global configuration. The
preferences are stored in the common file reported by
<span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=Filesystem.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._find-system-path%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">find-system-path</a></span> for <a name="(idx._(gentag._221._(lib._scribblings/gui/gui..scrbl)))"></a><span class="RktVal">'</span><span class="RktVal">pref-file</span>, and
preference values can be retrieved and changed through
<span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=Filesystem.html%23%2528def._%2528%2528lib._racket%252Ffile..rkt%2529._get-preference%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">get-preference</a></span> and <span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=Filesystem.html%23%2528def._%2528%2528lib._racket%252Ffile..rkt%2529._put-preferences%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">put-preferences</a></span>. Except for the except the
<span class="RktVal">'</span><span class="RktVal">GRacket:playcmd</span>
preference preference, the <a href="index.html" class="RktModLink" data-pltdoc="x"><span class="RktSym">racket/gui/base</span></a> library
reads each of the preferences below once at startup.</p><p><span style="font-style: italic">Beware:</span> The preferences file is read in case-insensitive mode (for
historical reasons), so the symbols listed below must be surrounded with
<span class="RktInBG"><span class="hspace"></span><span class="RktIn">|</span><span class="hspace"></span></span>.</p><p>The following are the preference names used by GRacket:</p><ul><li><p><a name="(idx._(gentag._222._(lib._scribblings/gui/gui..scrbl)))"></a><span class="RktVal">'</span><span class="RktVal">GRacket:default-font-size</span>
preference —<wbr></wbr> sets the default font size
the basic style in a style list, and thus the default font size for
an editor.</p></li><li><p><a name="(idx._(gentag._223._(lib._scribblings/gui/gui..scrbl)))"></a><span class="RktVal">'</span><span class="RktVal">GRacket:defaultMenuPrefix</span>
preference —<wbr></wbr> sets the prefix used by
default for menu item shortcuts on Unix, one of <span class="RktVal">'</span><span class="RktVal">ctl</span>,
<span class="RktVal">'</span><span class="RktVal">meta</span>, or <span class="RktVal">'</span><span class="RktVal">alt</span>. The default is
<span class="RktVal">'</span><span class="RktVal">ctl</span>. When this preference is set to <span class="RktVal">'</span><span class="RktVal">meta</span> or
<span class="RktVal">'</span><span class="RktVal">alt</span>, underlined mnemonics (introduced by <span class="RktInBG"><span class="hspace"></span><span class="RktIn">&</span><span class="hspace"></span></span> in menu
labels) are suppressed.</p></li><li><p><a name="(idx._(gentag._224._(lib._scribblings/gui/gui..scrbl)))"></a><span class="RktVal">'</span><span class="RktVal">GRacket:emacs-undo</span>
preference —<wbr></wbr> a true value makes undo in
editors by default preserve all editing history, including operations
that are undone (as in Emacs); the <span class="RktSym"><a href="editor___.html#%28meth._%28%28%28lib._mred%2Fmain..rkt%29._editor~3c~25~3e%29._set-undo-preserves-all-history%29%29" class="RktValLink" data-pltdoc="x">set-undo-preserves-all-history</a></span> in <span class="RktSym"><a href="editor___.html" class="RktValLink" data-pltdoc="x">editor<%></a></span> method changes a specific editor’s
configuration.</p></li><li><p><a name="(idx._(gentag._225._(lib._scribblings/gui/gui..scrbl)))"></a><span class="RktVal">'</span><span class="RktVal">GRacket:wheelStep</span>
preference —<wbr></wbr> sets the default mouse-wheel step
size of <span class="RktSym"><a href="editor-canvas_.html" class="RktValLink" data-pltdoc="x">editor-canvas%</a></span> objects.</p></li><li><p><a name="(idx._(gentag._226._(lib._scribblings/gui/gui..scrbl)))"></a><span class="RktVal">'</span><span class="RktVal">GRacket:outline-inactive-selection</span>
preference —<wbr></wbr> a true value
causes selections in text editors to be shown with an outline of the
selected region when the editor does no have the keyboard focus.</p></li><li><p><a name="(idx._(gentag._227._(lib._scribblings/gui/gui..scrbl)))"></a><span class="RktVal">'</span><span class="RktVal">GRacket:playcmd</span>
preference —<wbr></wbr> used to format a sound-playing
command; see <span class="RktSym"><a href="Windowing_Functions.html#%28def._%28%28lib._mred%2Fmain..rkt%29._play-sound%29%29" class="RktValLink" data-pltdoc="x">play-sound</a></span> for details.</p></li><li><p><a name="(idx._(gentag._228._(lib._scribblings/gui/gui..scrbl)))"></a><span class="RktVal">'</span><span class="RktVal">GRacket:doubleClickTime</span>
preference —<wbr></wbr> overrides the
platform-specific default interval (in milliseconds) for double-click
events.</p></li></ul><p>In each of the above cases, if no preference value is found using the
<span class="RktSym">GRacket</span>-prefixed name, a <span class="RktSym">MrEd</span>-prefixed
name is tried for backward compatibility.</p><div class="navsetbottom"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, "6.7", "../");" onfocus="this.style.color="black"; this.style.textAlign="left"; if (this.value == "...search manuals...") this.value="";" onblur="if (this.value.match(/^ *$/)) { this.style.color="#888"; this.style.textAlign="center"; this.value="...search manuals..."; }"/></form> <a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot("6.7");">top</a></span><span class="navright"> <a href="WXME_Decoding.html" title="backward to "9 WXME Decoding"" data-pltdoc="x">← prev</a> <a href="index.html" title="up to "The Racket Graphical Interface Toolkit"" data-pltdoc="x">up</a> <a href="Dynamic_Loading.html" title="forward to "11 Dynamic Loading"" data-pltdoc="x">next →</a></span> </div></div></div><div id="contextindicator"> </div></body></html>
|