source: multimedia/videoutils/mplayer/mplayer-config.xml@ 2a87a398

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb v5_1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2a87a398 was 52701a6, checked in by Igor Živković <igor@…>, 20 years ago

changed how mysql libs and mplayer fonts are symlinked, suggested by Nico R.

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

  • Property mode set to 100644
File size: 1.9 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
11<para>If you wish to utilize a <application>FreeType</application> font,
12you need to link a <acronym>TTF</acronym>
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
15</command></userinput></screen>
16otherwise
17<screen><userinput><command>tar xjvf ../font-arial-iso-8859-1.tar.bz2 -C /usr/share/mplayer/font &amp;&amp;
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>
20You 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> &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>
29
30<screen><userinput><command>cat &gt; /etc/mplayer/mplayer.conf &lt;&lt; "EOF"</command>
31gui = yes
32skin = default
33<command>EOF</command></userinput></screen>
34
35<para>The first line, <userinput>gui = yes</userinput>, will make
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
39<option>-gui</option> or as <command>gmplayer</command> (e.g.
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>
43
44</sect3>
45
46</sect2>
Note: See TracBrowser for help on using the repository browser.