/usr/share/doc/exfalso/config_files.html is in exfalso 3.2.2-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 112 113 114 115 116 117 118 119 120 121 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Configuration Files — Ex Falso / Quod Libet (3.2)</title>
<link rel="stylesheet" href="_static/haiku.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '3.2.2',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="top" title="Ex Falso / Quod Libet (3.2)" href="index.html" />
<link rel="next" title="Frequently Asked Questions" href="faq.html" />
<link rel="prev" title="Interacting with Quod Libet" href="interacting.html" />
</head>
<body>
<div class="header"><h1 class="heading"><a href="index.html">
<span>Ex Falso / Quod Libet (3.2)</span></a></h1>
<h2 class="heading"><span>Configuration Files</span></h2>
</div>
<div class="topnav">
<p>
«  <a href="interacting.html">Interacting with Quod Libet</a>
  ::  
<a class="uplink" href="index.html">Contents</a>
  ::  
<a href="faq.html">Frequently Asked Questions</a>  »
</p>
</div>
<div class="content">
<div class="section" id="configuration-files">
<span id="configfiles"></span><h1>Configuration Files<a class="headerlink" href="#configuration-files" title="Permalink to this headline">¶</a></h1>
<p>QL stores some of its configuration as plain text files, and in some cases
it may be convenient to edit these files directly, or to synchronize them
across different computers/ home directories.</p>
<p>Like many Linux applications, QL stores user configuration in a hidden
directory, in this case <tt class="docutils literal"><span class="pre">~/.quodlibet</span></tt>. Feel free to explore; but maybe
make a backup of the directory first.</p>
<div class="section" id="saved-values-for-search-tagging-and-renaming-patterns">
<h2>Saved values for search, tagging and renaming patterns<a class="headerlink" href="#saved-values-for-search-tagging-and-renaming-patterns" title="Permalink to this headline">¶</a></h2>
<p>For <a class="reference internal" href="searching.html#searching"><em>searching your library</em></a>, <a class="reference internal" href="editing_tags.html#editingtags"><em>editing tags from a
filename pattern</em></a>, and <a class="reference internal" href="renaming_files.html#renamingfiles"><em>renaming files based on tags</em></a>, you can save the (search or pattern) values you enter for
later use. See the relevant section for how to do it using the GUI.</p>
<p>The patterns you create using “saved values” are in fact stored in simple
text files:</p>
<blockquote>
<div><ul class="simple">
<li><tt class="docutils literal"><span class="pre">~/.quodlibet/lists/queries.saved</span></tt>:
Search patterns</li>
<li><tt class="docutils literal"><span class="pre">~/.quodlibet/lists/tagpatterns.saved</span></tt>:
Patterns to tag files based on filename</li>
<li><tt class="docutils literal"><span class="pre">~/.quodlibet/lists/renamepatterns.saved</span></tt>:
Patterns to rename files based on tags</li>
</ul>
</div></blockquote>
<p>You’ll see that the format is very easy: Each saved pattern consists of two
lines, the first line contains the QL pattern, the second line its name.
The name may be identical to the pattern. The next saved “pattern – name”
pair follows immediately on the next two lines.</p>
<p>Here’s an example of what <tt class="docutils literal"><span class="pre">~/.quodlibet/lists/queries.saved</span></tt> might look
like:</p>
<div class="highlight-python"><div class="highlight"><pre>artist = schubert
All by Schubert
artist = radiohead
All by Radiohead
&(genre = classical, #(lastplayed > 3 days))
&(genre = classical, #(lastplayed > 3 days))
~format = ogg
All ogg files
</pre></div>
</div>
<p>Or an example of a <tt class="docutils literal"><span class="pre">~/.quodlibet/lists/renamepatterns.saved</span></tt>:</p>
<div class="highlight-python"><div class="highlight"><pre>~/music/<artist>/<album>/<tracknumber|<tracknumber>. ><title~version>
Music from an album
~/music/misc/<artist> - <title>
Stray song
</pre></div>
</div>
<p>Just edit these files or synchronize them across computers or home
directories (for different users) as needed.</p>
</div>
</div>
</div>
<div class="bottomnav">
<p>
«  <a href="interacting.html">Interacting with Quod Libet</a>
  ::  
<a class="uplink" href="index.html">Contents</a>
  ::  
<a href="faq.html">Frequently Asked Questions</a>  »
</p>
</div>
<div class="footer">
© Copyright The Quod Libet Devs.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.3.
</div>
</body>
</html>
|