source: multimedia/videoutils/mplayer/mplayer-config.xml@ ba4b4455

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_0 v5_1 v5_1-pre1 xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since ba4b4455 was ba4b4455, checked in by Igor Živković <igor@…>, 18 years ago

fixed mplayer font configuration

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

  • Property mode set to 100644
File size: 1.6 KB
Line 
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<para>If you wish to utilize a <application>FreeType</application> font,
11you need to link a <filename>TTF</filename>
12file to your <filename class="directory">~/.mplayer</filename> directory. For example:
13<screen><userinput><command>ln -sf /usr/X11R6/lib/X11/fonts/TTF/luxisri.ttf ~/.mplayer/subfont.ttf
14</command></userinput></screen>
15otherwise
16<screen><userinput><command>ln -sf ../font-arial-<replaceable>[font size]</replaceable>-iso-8859-1/* /usr/share/mplayer/font</command></userinput></screen>
17You can chose your font size of 14, 18, 24 or 28.
18</para>
19
20<para>Set up the <acronym>GUI</acronym> with the following commands executed
21from your source directory:</para>
22
23<screen><userinput><command>cat &gt; /etc/mplayer/mplayer.conf &lt;&lt; "EOF"</command>
24gui = yes
25skin = default
26<command>EOF</command></userinput></screen>
27
28<para>The first line, <userinput>gui = yes</userinput>, will make
29MPlayer start in <acronym>GUI</acronym> mode automatically. If you want to decide whether to start
30in <acronym>GUI</acronym> mode or not, leave that line out and start
31<command>mplayer</command> with
32<option>-gui</option> or as <command>gmplayer</command> (e.g.
33when starting from a Window Manager menu or command prompt). Note that
34the main configuration file is called <filename>config</filename> if it
35is placed in the <filename class="directory">~/.mplayer</filename> directory.</para>
36
37</sect3>
38
39</sect2>
Note: See TracBrowser for help on using the repository browser.