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 | 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>
|
---|
19 | You can chose your font size of 14, 18, 24 or 28.
|
---|
20 | </para>
|
---|
21 |
|
---|
22 | <para>Set the proper permissions for <acronym>CODEC</acronym>s, skins and fonts:</para>
|
---|
23 |
|
---|
24 | <screen><userinput><command>chown -R root:root <replaceable>[CODECs location]</replaceable> &&
|
---|
25 | chown -R root:root /usr/share/mplayer</command></userinput></screen>
|
---|
26 |
|
---|
27 | <para>Optionally, set up the <acronym>GUI</acronym> with the following commands:</para>
|
---|
28 |
|
---|
29 | <screen><userinput><command>cat > /etc/mplayer/mplayer.conf << "EOF"</command>
|
---|
30 | gui = yes
|
---|
31 | skin = default
|
---|
32 | <command>EOF</command></userinput></screen>
|
---|
33 |
|
---|
34 | <para>The first line, <userinput>gui = yes</userinput>, will make
|
---|
35 | MPlayer start in <acronym>GUI</acronym> mode automatically. If you want to decide whether to start
|
---|
36 | in <acronym>GUI</acronym> mode or not, leave that line out and start
|
---|
37 | <command>mplayer</command> with
|
---|
38 | <option>-gui</option> or as <command>gmplayer</command> (e.g.
|
---|
39 | when starting from a Window Manager menu or command prompt). Note that
|
---|
40 | the main configuration file is called <filename>config</filename> if it
|
---|
41 | is placed in the <filename class="directory">~/.mplayer</filename> directory.</para>
|
---|
42 |
|
---|
43 | </sect3>
|
---|
44 |
|
---|
45 | </sect2>
|
---|