/usr/share/doc/medit-1/help/ch01s08.html is in medit 1.0.3-1.
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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Preferences files</title>
<link rel="stylesheet" href="medit.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="medit manual">
<link rel="up" href="ch01.html" title="Chapter 1. Preferences">
<link rel="prev" href="ch01s07.html" title="Options for editing text">
<link rel="next" href="ch02.html" title="Chapter 2. Regular expressions">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="navheader">
<table width="100%" summary="Navigation header">
<tr><th colspan="3" align="center">Preferences files</th></tr>
<tr>
<td width="20%" align="left">
<a accesskey="p" href="ch01s07.html">Prev</a> </td>
<th width="60%" align="center">Chapter 1. Preferences</th>
<td width="20%" align="right"> <a accesskey="n" href="ch02.html">Next</a>
</td>
</tr>
</table>
<hr>
</div>
<div class="sect1" title="Preferences files">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="section-prefs-xml"></a>Preferences files</h2></div></div></div>
<p>
<span class="application">medit</span> preferences are stored in <code class="filename">$HOME/.local/share/medit-1/prefs.xml</code> file.
It is an XML file which may be edited to set preferences which have not found
their place in the <span class="guilabel">Preferences</span> dialog.
</p>
<div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Note</h3>
<p>
<span class="application">medit</span> reads the preferences file on startup and writes it whenever <span class="guilabel">OK</span>
or <span class="guilabel">Apply</span> button is clicked in the <span class="guilabel">Preferences</span> dialog. Therefore, if you
modify the preferences file, your changes may be overwritten, and they not take
effect until you restart <span class="application">medit</span>.
</p>
</div>
<p>
The following "hidden" settings are available:
</p>
<div class="variablelist"><dl>
<dt><span class="term"><em class="parameter"><code>Editor/window_title</code></em></span></dt>
<dd>
<p>Format of the window title. It is a string which may
contain format sequences, which are percent sign followed by a character:
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><code class="code">%a</code></span> : </p></td>
<td>application name</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">%b</code></span> : </p></td>
<td>current document basename</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">%f</code></span> : </p></td>
<td>full path of the current document</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">%u</code></span> : </p></td>
<td>URI of the current document</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">%s</code></span> : </p></td>
<td>the status of the current document, e.g. "<code class="code"> [modified]</code>". It is prefixed
with a space, so that "<code class="code">%b%s</code>" produces a nice string</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">%%</code></span> : </p></td>
<td>the percent character</td>
</tr>
</tbody>
</table></div>
<p>
Default value is "<code class="code">%a - %f%s</code>" which produces something like "<code class="code">medit - /home/user/file [modified]</code>".
</p>
</dd>
<dt><span class="term"><em class="parameter"><code>Editor/window_title_no_doc</code></em></span></dt>
<dd><p>same as <em class="parameter"><code>Editor/window_title</code></em>, used when no document is open.
Default value is "<code class="code">%a</code>".</p></dd>
</dl></div>
<p>
</p>
</div>
<div class="navfooter">
<hr>
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left">
<a accesskey="p" href="ch01s07.html">Prev</a> </td>
<td width="20%" align="center"><a accesskey="u" href="ch01.html">Up</a></td>
<td width="40%" align="right"> <a accesskey="n" href="ch02.html">Next</a>
</td>
</tr>
<tr>
<td width="40%" align="left" valign="top">Options for editing text </td>
<td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td>
<td width="40%" align="right" valign="top"> Chapter 2. Regular expressions</td>
</tr>
</table>
</div>
</body>
</html>
|