Files
lcdproc/docs/lcdproc-user/drivers/xosd.docbook
T

120 lines
3.2 KiB
Plaintext
Raw Normal View History

2006-04-05 10:36:58 +00:00
<sect1 id="xosd-howto">
<title>The xosd Driver</title>
2007-04-14 14:35:07 +00:00
2006-04-05 10:36:58 +00:00
<para>
2007-04-14 14:35:07 +00:00
This section talks about using LCDproc with libxosd.
</para>
<para>
<ulink url="http://sourceforge.net/projects/libxosd">libxosd</ulink> is a system
that displays text on top of your X-Windows screen, much like the
on-screen display (OSD) used by most modern televisions and video-players.
2006-04-05 10:36:58 +00:00
</para>
<!-- ## OnScreen Display using libxosd ## -->
<sect2 id="xosd-config">
<title>Configuration in LCDd.conf</title>
<sect3 id="xosd-config-section">
2006-04-05 10:36:58 +00:00
<title>[xosd]</title>
<variablelist>
<varlistentry>
<term>
<command>Size</command> =
2006-04-05 10:36:58 +00:00
<arg choice="plain">
<replaceable>WIDTH</replaceable>
<literal>x</literal>
<replaceable>HEIGHT</replaceable>
</arg>
</term>
<listitem><para>
2006-10-06 11:05:48 +00:00
set display size [default: <literal>20x4</literal>]
2006-04-05 10:36:58 +00:00
</para></listitem>
</varlistentry>
2007-04-25 21:13:45 +00:00
<varlistentry>
<term>
<command>Offset</command> =
2007-04-25 21:13:45 +00:00
<arg choice="plain">
<replaceable>X-OFFSET</replaceable>
<literal>x</literal>
<replaceable>Y-OFFSET</replaceable>
</arg>
</term>
<listitem><para>
Offset (in pixels) of the top-left corner of <package>LCDproc</package>'s
xosd window from the top-left corner of the monitor.
If not given, it defaults to <literal>0x0</literal>.
</para></listitem>
</varlistentry>
Offset=200x200
2006-04-05 10:36:58 +00:00
<varlistentry>
<term>
<command>Font</command> =
2006-04-05 10:36:58 +00:00
<arg choice="plain"><replaceable>FONT</replaceable></arg>
</term>
2007-04-25 20:09:56 +00:00
<listitem>
<para>
X font to use, in XLFD (X Logical Font Description) format,
as given by the <command>xfontsel</command> command.
E.g. <literal>-*-terminus-*-r-*-*-*-320-*-*-*-*-*</literal>.
</para>
<para>
For best results it is recommended to use a mono-spaced font
to mimic the aspect of a physical LCD display that most
clients expect with regard to their screen layouts.
</para>
</listitem>
2006-04-05 10:36:58 +00:00
</varlistentry>
2007-04-25 21:13:45 +00:00
<!--
<varlistentry>
<term>
<command>Contrast</command> =
2007-04-25 21:13:45 +00:00
<arg choice="plain"><replaceable>CONTRAST</replaceable></arg>
</term>
<listitem><para>
Set the initial contrast.
Legal values for <replaceable>CONTRAST</replaceable> are <literal>0</literal> - <literal>1000</literal>.
If not given, the default value is <literal>500</literal>.
</para>
<note><para>
This parameter can be set but it does not change anything in the driver.
</para></note>
</listitem>
</varlistentry>
<varlistentry>
<term>
<command>Brightness</command> =
2007-04-25 21:13:45 +00:00
<arg choice="plain"><replaceable>BRIGHTNESS</replaceable></arg>
</term>
<listitem><para>
Set the initial brightness [default: <literal>1000</literal>; legal: <literal>1</literal> - <literal>1000</literal>]
</para></listitem>
</varlistentry>
<varlistentry>
<term>
<command>OffBrightness</command> =
2007-04-25 21:13:45 +00:00
<arg choice="plain"><replaceable>BRIGHTNESS</replaceable></arg>
</term>
<listitem><para>
Set the initial off-brightness [default: <literal>500</literal>; legal: <literal>1</literal> - <literal>1000</literal>]
This value is used when the display is normally
2007-10-28 11:19:53 +00:00
switched off in case <application>LCDd</application> is inactive
2007-04-25 21:13:45 +00:00
</para></listitem>
</varlistentry>
-->
2006-04-05 10:36:58 +00:00
</variablelist>
</sect3>
</sect2>
</sect1>