1 | <sect2>
|
---|
2 | <title>Configuring MPlayer</title>
|
---|
3 |
|
---|
4 | <sect3><title>Config files</title>
|
---|
5 | <para><filename>/etc/mplayer/*</filename>, <filename>~/.mplayer/*</filename></para>
|
---|
6 | </sect3>
|
---|
7 |
|
---|
8 | <sect3><title>Configuration Information</title>
|
---|
9 |
|
---|
10 |
|
---|
11 | <para>If you wish to utilize a <application>FreeType</application> font,
|
---|
12 | you need to link a <acronym>TTF</acronym>
|
---|
13 | file to your <filename class="directory">~/.mplayer</filename> directory. For example:
|
---|
14 | <screen><userinput><command>ln -sf /usr/X11R6/lib/X11/fonts/TTF/luxisri.ttf ~/.mplayer/subfont.ttf
|
---|
15 | </command></userinput></screen>
|
---|
16 | otherwise
|
---|
17 | <screen><userinput><command>tar xjvf ../font-arial-iso-8859-1.tar.bz2 -C /usr/share/mplayer/font &&
|
---|
18 | cd /usr/share/mplayer/font &&
|
---|
19 | ln -sf font-arial-iso-8859-1/font-arial-<replaceable>[font size]</replaceable>-iso-8859-1/* .</command></userinput></screen>
|
---|
20 | You can chose your font size of 14, 18, 24 or 28.
|
---|
21 | </para>
|
---|
22 |
|
---|
23 | <para>Set the proper permissions for <acronym>CODEC</acronym>s, skins and fonts:</para>
|
---|
24 |
|
---|
25 | <screen><userinput><command>chown -R root:root <replaceable>[CODECs location]</replaceable> &&
|
---|
26 | chown -R root:root /usr/share/mplayer</command></userinput></screen>
|
---|
27 |
|
---|
28 | <para>Optionally, set up the <acronym>GUI</acronym> with the following commands:</para>
|
---|
29 |
|
---|
30 | <screen><userinput><command>cat > /etc/mplayer/mplayer.conf << "EOF"</command>
|
---|
31 | gui = yes
|
---|
32 | skin = default
|
---|
33 | <command>EOF</command></userinput></screen>
|
---|
34 |
|
---|
35 | <para>The first line, <userinput>gui = yes</userinput>, will make
|
---|
36 | MPlayer start in <acronym>GUI</acronym> mode automatically. If you want to decide whether to start
|
---|
37 | in <acronym>GUI</acronym> mode or not, leave that line out and start
|
---|
38 | <command>mplayer</command> with
|
---|
39 | <option>-gui</option> or as <command>gmplayer</command> (e.g.,
|
---|
40 | when starting from a Window Manager menu or command prompt). Note that
|
---|
41 | the main configuration file is called <filename>config</filename> if it
|
---|
42 | is placed in the <filename class="directory">~/.mplayer</filename> directory.</para>
|
---|
43 |
|
---|
44 | </sect3>
|
---|
45 |
|
---|
46 | </sect2>
|
---|