glfs/multimedia/videoutils/mplayer/mplayer-config.xml
Igor Živković 305b2dbeb2 fixed mplayer's fonts ln path
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1442 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-10-22 11:43:30 +00:00

40 lines
1.6 KiB
XML

<sect2>
<title>Configuring MPlayer</title>
<sect3><title>Config files</title>
<para><filename>/etc/mplayer/*</filename>, <filename>~/.mplayer/*</filename></para>
</sect3>
<sect3><title>Configuration Information</title>
<para>If you wish to utilize a <application>FreeType</application> font,
you need to link a <filename>TTF</filename>
file to your <filename class="directory">~/.mplayer</filename> directory. For example:
<screen><userinput><command>ln -sf /usr/X11R6/lib/X11/fonts/TTF/luxisri.ttf ~/.mplayer/subfont.ttf
</command></userinput></screen>
otherwise
<screen><userinput><command>ln -sf /usr/share/mplayer/font/font-arial-iso-8859-1/font-arial-<replaceable>[font size]</replaceable>-iso-8859-1/* /usr/share/mplayer/font</command></userinput></screen>
You can chose your font size of 14, 18, 24 or 28.
</para>
<para>Set up the <acronym>GUI</acronym> with the following commands executed
from your source directory:</para>
<screen><userinput><command>cat &gt; /etc/mplayer/mplayer.conf &lt;&lt; "EOF"</command>
gui = yes
skin = default
<command>EOF</command></userinput></screen>
<para>The first line, <userinput>gui = yes</userinput>, will make
MPlayer start in <acronym>GUI</acronym> mode automatically. If you want to decide whether to start
in <acronym>GUI</acronym> mode or not, leave that line out and start
<command>mplayer</command> with
<option>-gui</option> or as <command>gmplayer</command> (e.g.
when starting from a Window Manager menu or command prompt). Note that
the main configuration file is called <filename>config</filename> if it
is placed in the <filename class="directory">~/.mplayer</filename> directory.</para>
</sect3>
</sect2>