[69bc513] | 1 | <sect2>
|
---|
[d50ef4c5] | 2 | <title>Configuring MPlayer</title>
|
---|
[69bc513] | 3 |
|
---|
| 4 | <sect3><title>Config files</title>
|
---|
[d50ef4c5] | 5 | <para><filename>/etc/mplayer/*</filename>, <filename>~/.mplayer/*</filename></para>
|
---|
[69bc513] | 6 | </sect3>
|
---|
| 7 |
|
---|
| 8 | <sect3><title>Configuration Information</title>
|
---|
| 9 |
|
---|
[6c91f96e] | 10 |
|
---|
[8223b66] | 11 | <para>If you wish to utilize a <application>FreeType</application> font,
|
---|
[6c91f96e] | 12 | you need to link a <acronym>TTF</acronym>
|
---|
[ba4b4455] | 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
|
---|
[d50ef4c5] | 15 | </command></userinput></screen>
|
---|
[6c91f96e] | 16 | otherwise
|
---|
| 17 | <screen><userinput><command>tar xjvf ../font-arial-iso-8859-1.tar.bz2 -C /usr/share/mplayer/font &&
|
---|
[52701a6] | 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>
|
---|
[ba4b4455] | 20 | You can chose your font size of 14, 18, 24 or 28.
|
---|
[d50ef4c5] | 21 | </para>
|
---|
[69bc513] | 22 |
|
---|
[6c91f96e] | 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>
|
---|
[69bc513] | 29 |
|
---|
[2700b70] | 30 | <screen><userinput><command>cat > /etc/mplayer/mplayer.conf << "EOF"</command>
|
---|
[69bc513] | 31 | gui = yes
|
---|
| 32 | skin = default
|
---|
[8223b66] | 33 | <command>EOF</command></userinput></screen>
|
---|
[4875b9a] | 34 |
|
---|
| 35 | <para>The first line, <userinput>gui = yes</userinput>, will make
|
---|
[d50ef4c5] | 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
|
---|
[0990cf7a] | 39 | <option>-gui</option> or as <command>gmplayer</command> (e.g.,
|
---|
[ba4b4455] | 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>
|
---|
[4875b9a] | 43 |
|
---|
[69bc513] | 44 | </sect3>
|
---|
| 45 |
|
---|
| 46 | </sect2>
|
---|