<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;

  <!ENTITY sawfish-download-http "http://download.tuxfamily.org/sawfish/sawfish_&sawfish-version;.tar.xz">
  <!ENTITY sawfish-download-ftp  " ">
  <!ENTITY sawfish-md5sum        "19a8f3e4edefa747d8aa5dff772a98d0">
  <!ENTITY sawfish-size          "2.7 MB">
  <!ENTITY sawfish-buildsize     "50 MB">
  <!ENTITY sawfish-time          "0.4 SBU">
]>

<sect1 id="sawfish" xreflabel="sawfish-&sawfish-version;">
  <?dbhtml filename="sawfish.html" ?>

  <sect1info>
    <othername>$LastChangedBy: bdubbs $</othername>
    <date>$Date: 2015-03-02 17:33:58 -0500 (Mon, 02 Mar 2015) $</date>
  </sect1info>

  <title>sawfish-&sawfish-version;</title>

  <indexterm zone="sawfish">
    <primary sortas="a-Sawfish">Sawfish</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to sawfish</title>

    <para>The <application>sawfish</application> package contains a window
    manager. This is useful for organizing and displaying windows where all
    window decorations are configurable and all user-interface policy is
    controlled through the extension language.</para>

    &lfs77_checked;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>Download (HTTP): <ulink url="&sawfish-download-http;"/></para>
      </listitem>
      <listitem>
        <para>Download (FTP): <ulink url="&sawfish-download-ftp;"/></para>
      </listitem>
      <listitem>
        <para>Download MD5 sum: &sawfish-md5sum;</para>
      </listitem>
      <listitem>
        <para>Download size: &sawfish-size;</para>
      </listitem>
      <listitem>
        <para>Estimated disk space required: &sawfish-buildsize;</para>
      </listitem>
      <listitem>
        <para>Estimated build time: &sawfish-time;</para>
      </listitem>
    </itemizedlist>

    <bridgehead renderas="sect3">sawfish Dependencies</bridgehead>

    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required">
       <xref linkend="rep-gtk"/> and
       <xref linkend="which"/>
    </para>

    <bridgehead renderas="sect4">Recommended</bridgehead>
    <para role="recommended">
       <xref linkend="gtk2"/> and
       <xref linkend="pango"/>
    </para>

    <para condition="html" role="usernotes">User Notes:
    <ulink url="&blfs-wiki;/sawfish"/></para>

  </sect2>

  <sect2 role="installation">
    <title>Installation of sawfish</title>

    <para>Install <application>sawfish</application> by running the following
    commands:</para>

<screen><userinput>./configure --prefix=/usr --with-pango  &amp;&amp;
make</userinput></screen>

    <para>This package does not come with a test suite.</para>

    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>

<screen role="root"><userinput>make install</userinput></screen>

  </sect2>
<!--
  <sect2 role="commands">
    <title>Command Explanations</title>

    <para><parameter>- -disable-themer</parameter>: This
    option prevents building the <application>sawfish</application> themer.
    This program was not migrated to <application>GTK-2</application>.</para>

    <para><option>- -with-audiofile</option>: This command directs
    <application>sawfish</application> to use
    <filename class="libraryfile">libaudiofile</filename>
    for sound manipulation.</para>

    <para><option>- -with-esd</option>: This command directs
    <application>sawfish</application> to use the Enlightened Sound
    Daemon.</para>

  </sect2>
-->
  <sect2 role="configuration">
    <title>Configuring sawfish</title>

    <sect3 id="sawfish-config">
      <title>Configuration Information</title>

      <indexterm zone="sawfish sawfish-config">
        <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
      </indexterm>

      <para>Be sure to backup your current <filename>.xinitrc</filename>
      before proceeding.</para>

<screen><userinput>cat &gt;&gt; ~/.xinitrc &lt;&lt; "EOF"
<literal>exec sawfish</literal>
EOF</userinput></screen>

      <para>Optionally, you can use a Display Manager, such as <xref
      linkend="lxdm"/>.</para>

      <para>From the developers:  <quote>The default menu binding is somewhat
      obscure; you must middle-click on the background to bring up the menus.
      (If you have a two-button mouse, try clicking both buttons
      simultaneously)</quote>. You can find this at <ulink
      url="http://download.tuxfamily.org/sawfish/themes/FAQ.html/">sawfish's
      FAQ</ulink>.</para>

    </sect3>

  </sect2>

  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Programs</segtitle>
      <segtitle>Installed Libraries</segtitle>
      <segtitle>Installed Directory</segtitle>

      <seglistitem>
        <seg>
          sawfish, sawfish-client, sawfish-kde4-session, sawfish-mate-session,
          sawfish-about, sawfish-config, sawfish-lumina-session, and
          sawfish-xfce-session
        </seg>
        <seg>
          Several internal modules under /usr/lib/sawfish tree
        </seg>
        <seg>
          /usr/include/sawfish,
          /usr/lib/sawfish,
          /usr/lib/rep/sawfish, and
          /usr/share/sawfish
        </seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="sawfish-prog">
        <term><filename>sawfish</filename></term>
        <listitem>
          <para>is the extensible window manager using a
          <application>Lisp</application>-based scripting language.</para>
          <indexterm zone="sawfish sawfish-prog">
            <primary sortas="b-sawfish">sawfish</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="sawfish-about">
        <term><filename>sawfish-about</filename></term>
        <listitem>
          <para>is the <application>sawfish</application> about window.</para>
          <indexterm zone="sawfish sawfish-about">
            <primary sortas="b-sawfish-about">sawfish-about</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="sawfish-client">
        <term><filename>sawfish-client</filename></term>
        <listitem>
          <para>allows you to connect to a window manager process and
          evaluate arbitrary <application>Lisp</application> forms.</para>
          <indexterm zone="sawfish sawfish-client">
            <primary sortas="b-sawfish-client">sawfish-client</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="sawfish-config-prog">
        <term><filename>sawfish-config</filename></term>
        <listitem>
          <para>is the <application>sawfish</application> configuration manager.</para>
          <indexterm zone="sawfish sawfish-config-prog">
            <primary sortas="b-sawfish-config-prog">sawfish-config</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>
