mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-06 00:48:19 +08:00
0b50c00203
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@539 af4574ff-66df-0310-9fd7-8a98e5e911e0
36 lines
1.3 KiB
XML
36 lines
1.3 KiB
XML
<sect2>
|
|
<title>Configuring mplayer</title>
|
|
|
|
<sect3><title>Config files</title>
|
|
<para><userinput>~/.mplayer/config ~/.mplayer/codec.conf</userinput></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 ~/.mplayer directory. For example:
|
|
<screen>ln -sf /usr/X11R6/lib/X11/fonts/TTF/luxisri.ttf ~/.mplayer/subfont.ttf</screen>otherwise
|
|
<screen>ln -sf /usr/share/mplayer/font/iso-8859-1/arial-14 ~/.mplayer/font</screen>
|
|
where 14 is the font size. You can chose your font size of 14, 18, 24 or 28.</para>
|
|
|
|
<para>Set up the GUI with the following commands executed from your source directory:</para>
|
|
|
|
<para><screen><userinput>cat > ~/.mplayer/config << "EOF"</userinput>
|
|
gui = yes
|
|
skin = default
|
|
<userinput>EOF
|
|
mkdir ~/.mplayer/Skin &&
|
|
tar -xvf ../default.tar -C ~/.mplayer/Skin</userinput></screen>
|
|
</para>
|
|
|
|
<para>The first line, <userinput>gui = yes</userinput>, will make
|
|
MPlayer start in gui mode automatically. If you want to decide whether to start
|
|
in gui mode or not, leave that line out and start mplayer with
|
|
<userinput>-gui</userinput> or as <userinput>gmplayer</userinput> (e.g.
|
|
when starting from a Window Manager menu or command prompt).</para>
|
|
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|