source: multimedia/videoutils/mplayer/mplayer-config.xml@ 0990cf7a

10.0 10.1 11.0 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb v5_1 xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 0990cf7a was 0990cf7a, checked in by Bruce Dubbs <bdubbs@…>, 18 years ago

More commas, update Makefile

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2241 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 1.9 KB
RevLine 
[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]12you need to link a <acronym>TTF</acronym>
[ba4b4455]13file 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]16otherwise
17<screen><userinput><command>tar xjvf ../font-arial-iso-8859-1.tar.bz2 -C /usr/share/mplayer/font &amp;&amp;
[52701a6]18cd /usr/share/mplayer/font &amp;&amp;
19ln -sf font-arial-iso-8859-1/font-arial-<replaceable>[font size]</replaceable>-iso-8859-1/* .</command></userinput></screen>
[ba4b4455]20You 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> &amp;&amp;
26chown -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 &gt; /etc/mplayer/mplayer.conf &lt;&lt; "EOF"</command>
[69bc513]31gui = yes
32skin = default
[8223b66]33<command>EOF</command></userinput></screen>
[4875b9a]34
35<para>The first line, <userinput>gui = yes</userinput>, will make
[d50ef4c5]36MPlayer start in <acronym>GUI</acronym> mode automatically. If you want to decide whether to start
37in <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]40when starting from a Window Manager menu or command prompt). Note that
41the main configuration file is called <filename>config</filename> if it
42is placed in the <filename class="directory">~/.mplayer</filename> directory.</para>
[4875b9a]43
[69bc513]44</sect3>
45
46</sect2>
Note: See TracBrowser for help on using the repository browser.