glfs/multimedia/videoutils/mplayer/mplayer-config.xml
Larry Lawrence d50ef4c586 more gnome, DJ's patch, Igor's patch
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1028 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-09-04 22:39:32 +00:00

40 lines
1.4 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 freetype font, you need to link a TTF
file to your <filename>~/.mplayer</filename> directory. For example:
<screen><userinput><command>ln -sf /usr/X11R6/lib/X11/fonts/TTF/luxisri.ttf /etc/mplayer/subfont.ttf
</command></userinput></screen>
otherwise
<screen><userinput><command>ln -sf /usr/share/mplayer/font/font-arial-*-iso-8859-1 /etc/mplayer/font
</command></userinput></screen>
where * is the font size. 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/config &lt;&lt; "EOF"
gui = yes
skin = default
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
<command>-gui</command> or as <command>gmplayer</command> (e.g.
when starting from a Window Manager menu or command prompt).</para>
</sect3>
</sect2>