glfs/x/wm/fluxbox.xml

303 lines
11 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!-- Inserted as a reminder to do this. The mention of a test suite
is usually right before the root user installation commands. Please
delete these 12 (including one blank) lines after you are done.-->
<!-- Use one of the two mentions below about a test suite,
delete the line that is not applicable. Of course, if the
test suite uses syntax other than "make check", revise the
line to reflect the actual syntax to run the test suite -->
<!-- <para>This package does not come with a test suite.</para> -->
<!-- <para>To test the results, issue: <command>make check</command>.</para> -->
<!ENTITY fluxbox-download-http "http://prdownloads.sourceforge.net/fluxbox/fluxbox-&fluxbox-version;.tar.bz2">
<!ENTITY fluxbox-download-ftp " ">
<!ENTITY fluxbox-md5sum "098eb36a09338aabb63b938a5eab9ef6">
<!ENTITY fluxbox-size "670 KB">
<!ENTITY fluxbox-buildsize "50.3 MB">
<!ENTITY fluxbox-time "0.8 SBU">
]>
<sect1 id="fluxbox" xreflabel="Fluxbox-&fluxbox-version;">
<?dbhtml filename="fluxbox.html" ?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
<keywordset>
<keyword role="package">fluxbox-&fluxbox-version;.tar</keyword>
<keyword role="ftpdir">fluxbox</keyword>
</keywordset>
</sect1info>
<title>Fluxbox-&fluxbox-version;</title>
<indexterm zone="fluxbox">
<primary sortas="a-Fluxbox">Fluxbox</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Fluxbox</title>
<para>The <application>Fluxbox</application> package contains a window
manager.</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&fluxbox-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&fluxbox-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &fluxbox-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &fluxbox-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &fluxbox-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &fluxbox-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Fluxbox Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required"><xref linkend="x-window-system"/></para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="imlib2"/> Image display library</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/fluxbox"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of Fluxbox</title>
<para>Install <application>Fluxbox</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<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><option>--enable-imlib2</option>:
Use this option if you wish image formats additional to xpm.</para>
</sect2>
<sect2 role="configuration">
<title>Configuring Fluxbox</title>
<sect3 id="fluxbox-config">
<title>Config Files</title>
<para><filename>~/.fluxbox/init</filename>,
<filename>~/.fluxbox/keys</filename>, and
<filename>~/.fluxbox/menu</filename></para>
<indexterm zone="fluxbox fluxbox-config">
<primary sortas="e-AA.fluxbox-init">~/.fluxbox/init</primary>
</indexterm>
<indexterm zone="fluxbox fluxbox-config">
<primary sortas="e-AA.fluxbox-keys">~/.fluxbox/keys</primary>
</indexterm>
<indexterm zone="fluxbox fluxbox-config">
<primary sortas="e-AA.fluxbox-menu">~/.fluxbox/menu</primary>
</indexterm>
</sect3>
<sect3>
<title>Configuration Information</title>
<para>If <application>Fluxbox</application> is the only Window Manager
you want to use, you can start it with an <filename>.xinitrc</filename>
file in your home folder. Be sure to backup your
current <filename>.xinitrc</filename> before proceeding.</para>
<indexterm zone="fluxbox fluxbox-config">
<primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
</indexterm>
<screen><userinput>echo startfluxbox &gt; ~/.xinitrc</userinput></screen>
<para>Or alternatively, if you use a login manager like
<xref linkend="gdm"/> or <application>kdm</application> and would
like to be able to choose <application>Fluxbox</application> at the login
prompt, create a <filename>fluxbox.desktop</filename> file like this.</para>
<para>As <systemitem class="username">root</systemitem>:</para>
<screen><userinput>cat &gt; /usr/share/xsessions/fluxbox.desktop &lt;&lt; "EOF"
<literal>[Desktop Entry]
Encoding=UTF-8
Name=Fluxbox
Comment=This session logs you into Fluxbox
Exec=startfluxbox
Type=Application</literal>
EOF</userinput></screen>
<para>If you didn't install <xref linkend="gdm"/> or
<application>kdm</application> in <filename class='directory'>/usr</filename>,
then change that command to fit the prefix you chose.</para>
<para>Now create the <application>Fluxbox</application> configuration
files:</para>
<screen><userinput>mkdir -v ~/.fluxbox &amp;&amp;
cp -v /usr/share/fluxbox/init ~/.fluxbox/init &amp;&amp;
cp -v /usr/share/fluxbox/keys ~/.fluxbox/keys</userinput></screen>
<para>Now if you have <xref linkend="which"/> installed:</para>
<screen><userinput>cd ~/.fluxbox &amp;&amp;
fluxbox-generate_menu</userinput></screen>
<para>otherwise:</para>
<screen><userinput>cp -v /usr/share/fluxbox/menu ~/.fluxbox/menu</userinput></screen>
<para>Menu items are added by editing <filename>~/.fluxbox/menu</filename>.
The syntax is explained on the <command>fluxbox</command> man page.</para>
<para>If you want to use an image as your desktop background, copy the
theme you like into <filename class='directory'>~/.fluxbox</filename>.
Then add a line to make it use the correct image. In the following command,
change <replaceable>&lt;theme&gt;</replaceable> for the name of the theme you
want and change <replaceable>/path/to/nice/image.xpm</replaceable> to
reflect the actual image you want to use.</para>
<screen><userinput>cp /usr/share/fluxbox/styles/[theme] ~/.fluxbox/theme &amp;&amp;
sed -i 's,\(session.styleFile:\).*,\1 ~/.fluxbox/theme,' \
~/.fluxbox/init &amp;&amp;
echo "background.pixmap: /path/to/nice/image.xpm" >> ~/.fluxbox/theme
</userinput></screen>
<para>In some locales the font specified in the theme may not contain the
needed characters. This results in menus with blank items. You can fix
this by editing <filename>~/.fluxbox/theme</filename> with a text editor
and altering it so that it names a suitable font.</para>
</sect3>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>fluxbox, fbsetbg, fbsetroot, fluxbox-generate_menu, startfluxbox,
and fbrun</seg>
<seg>None</seg>
<seg>/usr/share/fluxbox and ~/.fluxbox</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="fluxbox-prog">
<term><command>fluxbox</command></term>
<listitem>
<para>is a window manager for <application>X11</application> based
on <application>Blackbox</application> 0.61.0.</para>
<indexterm zone="fluxbox fluxbox-prog">
<primary sortas="b-fluxbox">fluxbox</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="fbsetbg">
<term><command>fbsetbg</command></term>
<listitem>
<para>is a utility that sets the background image. It requires
<command>which</command> to find one of: <command>display</command>,
<command>Esetroot</command>, <command>wmsetbg</command>,
<command>xv</command>, <command>qiv</command> or <command>xsri</command>.
</para>
<indexterm zone="fluxbox fbsetbg">
<primary sortas="b-fbsetbg">fbsetbg</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="fbsetroot">
<term><command>fbsetroot</command></term>
<listitem>
<para>is a utility to change root window appearance based on the
<application>Blackbox</application> application bsetroot.</para>
<indexterm zone="fluxbox fbsetroot">
<primary sortas="b-fbsetroot">fbsetroot</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="fluxbox-generate">
<term><command>fluxbox-generate_menu</command></term>
<listitem>
<para>is a utility that generates a menu by scanning your
<envar>PATH</envar>. It requires <command>which</command> to function
properly.</para>
<indexterm zone="fluxbox fluxbox-generate">
<primary sortas="b-fluxbox-generate">fluxbox-generate_menu</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="startfluxbox">
<term><command>startfluxbox</command></term>
<listitem>
<para>is a session startup script that allows for command
executions prior to <command>fluxbox</command> starting.</para>
<indexterm zone="fluxbox startfluxbox">
<primary sortas="b-startfluxbox">startfluxbox</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="fbrun">
<term><command>fbrun</command></term>
<listitem>
<para>displays a run dialog window.</para>
<indexterm zone="fluxbox fbrun">
<primary sortas="b-fbrun">fbrun</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>