2002-10-12 07:04:24 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Configuring mplayer</title>
|
|
|
|
|
|
|
|
<sect3><title>Config files</title>
|
2003-04-21 06:15:01 +08:00
|
|
|
<para><filename>~/.mplayer/config</filename>, <filename>~/.mplayer/codec.conf</filename></para>
|
2002-10-12 07:04:24 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
|
|
|
|
<para>If you wish to utilize a freetype font, you need to link a TTF
|
2003-04-21 06:15:01 +08:00
|
|
|
file to your <filename>~/.mplayer</filename> directory. For example:
|
2002-12-28 05:45:09 +08:00
|
|
|
<screen>ln -sf /usr/X11R6/lib/X11/fonts/TTF/luxisri.ttf ~/.mplayer/subfont.ttf</screen>otherwise
|
2002-12-27 11:33:24 +08:00
|
|
|
<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>
|
2002-10-12 07:04:24 +08:00
|
|
|
|
2002-12-27 11:33:24 +08:00
|
|
|
<para>Set up the GUI with the following commands executed from your source directory:</para>
|
2002-10-12 07:04:24 +08:00
|
|
|
|
2002-10-12 10:43:32 +08:00
|
|
|
<para><screen><userinput>cat > ~/.mplayer/config << "EOF"</userinput>
|
2002-10-12 07:04:24 +08:00
|
|
|
gui = yes
|
|
|
|
skin = default
|
2002-10-12 10:43:32 +08:00
|
|
|
<userinput>EOF
|
2002-10-12 07:04:24 +08:00
|
|
|
mkdir ~/.mplayer/Skin &&
|
2002-10-12 10:43:32 +08:00
|
|
|
tar -xvf ../default.tar -C ~/.mplayer/Skin</userinput></screen>
|
2002-10-12 07:04:24 +08:00
|
|
|
</para>
|
2002-12-27 11:33:24 +08:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2002-10-12 07:04:24 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|