[feeb99a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[feeb99a] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY fluxbox-download-http "http://prdownloads.sourceforge.net/fluxbox/fluxbox-&fluxbox-version;.tar.bz2">
|
---|
[70154c1] | 8 | <!ENTITY fluxbox-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/fluxbox-&fluxbox-version;.tar.bz2">
|
---|
[d083dd01] | 9 | <!ENTITY fluxbox-md5sum "7641aaea532841e103e9705bb5b98f62">
|
---|
| 10 | <!ENTITY fluxbox-size "657 KB">
|
---|
[d77e0a4] | 11 | <!ENTITY fluxbox-buildsize "44.5 MB">
|
---|
[d083dd01] | 12 | <!ENTITY fluxbox-time "0.8 SBU">
|
---|
[feeb99a] | 13 | ]>
|
---|
[4f6275fd] | 14 |
|
---|
[0b5a693] | 15 | <sect1 id="fluxbox" xreflabel="Fluxbox-&fluxbox-version;">
|
---|
[f0d4ce27] | 16 | <?dbhtml filename="fluxbox.html" ?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[76a39aa] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">fluxbox-&fluxbox-version;.tar</keyword>
|
---|
[15b32f55] | 23 | <keyword role="ftpdir">fluxbox</keyword>
|
---|
[76a39aa] | 24 | </keywordset>
|
---|
[f0d4ce27] | 25 | </sect1info>
|
---|
| 26 |
|
---|
| 27 | <title>Fluxbox-&fluxbox-version;</title>
|
---|
| 28 |
|
---|
| 29 | <indexterm zone="fluxbox">
|
---|
| 30 | <primary sortas="a-Fluxbox">Fluxbox</primary>
|
---|
| 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to Fluxbox</title>
|
---|
| 35 |
|
---|
| 36 | <para>The <application>Fluxbox</application> package contains a window
|
---|
| 37 | manager.</para>
|
---|
| 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&fluxbox-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&fluxbox-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &fluxbox-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &fluxbox-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &fluxbox-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &fluxbox-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect3">Fluxbox Dependencies</bridgehead>
|
---|
| 62 |
|
---|
| 63 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[76a39aa] | 64 | <para role="required">X (<xref linkend="xfree86"/> or
|
---|
| 65 | <xref linkend="xorg"/>)</para>
|
---|
[f0d4ce27] | 66 |
|
---|
[d4eb6ba] | 67 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[76a39aa] | 68 | <para role="optional"><xref linkend="imlib2"/> Image display library</para>
|
---|
[d4eb6ba] | 69 |
|
---|
| 70 | </sect2>
|
---|
[f0d4ce27] | 71 |
|
---|
| 72 | <sect2 role="installation">
|
---|
| 73 | <title>Installation of Fluxbox</title>
|
---|
| 74 |
|
---|
| 75 | <para>Install <application>Fluxbox</application> by running the following
|
---|
| 76 | commands:</para>
|
---|
| 77 |
|
---|
| 78 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 79 | make</userinput></screen>
|
---|
| 80 |
|
---|
| 81 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 82 |
|
---|
| 83 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 84 |
|
---|
| 85 | </sect2>
|
---|
| 86 |
|
---|
[d4eb6ba] | 87 | <sect2 role="commands">
|
---|
| 88 | <title>Command Explanations</title>
|
---|
| 89 |
|
---|
| 90 | <para><option>--enable-imlib2</option>:
|
---|
| 91 | Use this option if you wish image formats additional to xpm.</para>
|
---|
| 92 |
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
[f0d4ce27] | 95 | <sect2 role="configuration">
|
---|
| 96 | <title>Configuring Fluxbox</title>
|
---|
| 97 |
|
---|
| 98 | <sect3 id="fluxbox-config">
|
---|
| 99 | <title>Config Files</title>
|
---|
| 100 |
|
---|
| 101 | <para><filename>~/.fluxbox/init</filename>,
|
---|
| 102 | <filename>~/.fluxbox/keys</filename>, and
|
---|
| 103 | <filename>~/.fluxbox/menu</filename></para>
|
---|
| 104 |
|
---|
| 105 | <indexterm zone="fluxbox fluxbox-config">
|
---|
| 106 | <primary sortas="e-AA.fluxbox-init">~/.fluxbox/init</primary>
|
---|
| 107 | </indexterm>
|
---|
| 108 |
|
---|
| 109 | <indexterm zone="fluxbox fluxbox-config">
|
---|
| 110 | <primary sortas="e-AA.fluxbox-keys">~/.fluxbox/keys</primary>
|
---|
| 111 | </indexterm>
|
---|
| 112 |
|
---|
| 113 | <indexterm zone="fluxbox fluxbox-config">
|
---|
| 114 | <primary sortas="e-AA.fluxbox-menu">~/.fluxbox/menu</primary>
|
---|
| 115 | </indexterm>
|
---|
| 116 |
|
---|
| 117 | </sect3>
|
---|
| 118 |
|
---|
| 119 | <sect3>
|
---|
| 120 | <title>Configuration Information</title>
|
---|
| 121 |
|
---|
[70154c1] | 122 | <para>If <application>Fluxbox</application> is the only Window Manager
|
---|
| 123 | you want to use, you can start it with an <filename>.xinitrc</filename>
|
---|
[5af003c5] | 124 | file in your home folder. Be sure to backup your
|
---|
[d083dd01] | 125 | current <filename>.xinitrc</filename> before proceeding.</para>
|
---|
[f0d4ce27] | 126 |
|
---|
| 127 | <indexterm zone="fluxbox fluxbox-config">
|
---|
| 128 | <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
|
---|
| 129 | </indexterm>
|
---|
| 130 |
|
---|
[0fbb464] | 131 | <screen><userinput>echo startfluxbox > ~/.xinitrc</userinput></screen>
|
---|
[d083dd01] | 132 |
|
---|
[5af003c5] | 133 | <para>Or alternatively, if you use a login manager like
|
---|
[d083dd01] | 134 | <xref linkend="gdm"/> or <application>kdm</application> and would
|
---|
[5af003c5] | 135 | like to be able to choose <application>Fluxbox</application> at the login
|
---|
[70154c1] | 136 | prompt, create a <filename>fluxbox.desktop</filename> file like this.</para>
|
---|
[d083dd01] | 137 |
|
---|
| 138 | <para>As <systemitem class="username">root</systemitem>:</para>
|
---|
| 139 |
|
---|
| 140 | <screen><userinput>cat > /usr/share/xsessions/fluxbox.desktop << "EOF"
|
---|
[0fbb464] | 141 | <literal>[Desktop Entry]
|
---|
| 142 | Encoding=UTF-8
|
---|
| 143 | Name=Fluxbox
|
---|
| 144 | Comment=This session logs you into Fluxbox
|
---|
| 145 | Exec=startfluxbox
|
---|
| 146 | Type=Application</literal>
|
---|
[f0d4ce27] | 147 | EOF</userinput></screen>
|
---|
| 148 |
|
---|
[70154c1] | 149 | <para>If you didn't install <xref linkend="gdm"/> or
|
---|
| 150 | <application>kdm</application> in <filename class='directory'>/usr</filename>,
|
---|
| 151 | then change that command to fit the prefix you chose.</para>
|
---|
[f1aeb59e] | 152 |
|
---|
[f0d4ce27] | 153 | <para>Now create the <application>Fluxbox</application> configuration
|
---|
| 154 | files:</para>
|
---|
| 155 |
|
---|
[84cfa433] | 156 | <screen><userinput>mkdir -v ~/.fluxbox &&
|
---|
| 157 | cp -v /usr/share/fluxbox/init ~/.fluxbox/init &&
|
---|
| 158 | cp -v /usr/share/fluxbox/keys ~/.fluxbox/keys</userinput></screen>
|
---|
[2e4ab21f] | 159 |
|
---|
[dd4a853] | 160 | <para>Now if you have <xref linkend="which"/> installed:</para>
|
---|
[2e4ab21f] | 161 |
|
---|
| 162 | <screen><userinput>cd ~/.fluxbox &&
|
---|
| 163 | fluxbox-generate_menu</userinput></screen>
|
---|
| 164 |
|
---|
[dd4a853] | 165 | <para>otherwise:</para>
|
---|
[2e4ab21f] | 166 |
|
---|
[84cfa433] | 167 | <screen><userinput>cp -v /usr/share/fluxbox/menu ~/.fluxbox/menu</userinput></screen>
|
---|
[f0d4ce27] | 168 |
|
---|
[70154c1] | 169 | <para>Menu items are added by editing <filename>~/.fluxbox/menu</filename>.
|
---|
[f0d4ce27] | 170 | The syntax is explained on the <command>fluxbox</command> man page.</para>
|
---|
| 171 |
|
---|
[dd4a853] | 172 | <para>The themes installed in <filename
|
---|
| 173 | class='directory'>/usr/share/fluxbox/styles</filename> have not been
|
---|
| 174 | fixed to call <command>fbsetroot</command>, they still call it by its old
|
---|
| 175 | name, bsetroot. If you want to change the desktop color with the theme,
|
---|
| 176 | then fix the styles (as <systemitem class="username">root</systemitem>)
|
---|
[f27505a] | 177 | with these commands:</para>
|
---|
[5af003c5] | 178 |
|
---|
| 179 | <screen><userinput>sed -i 's@ bsetroot@ fbsetroot@' \
|
---|
[4d3d94a2] | 180 | $(grep -lr bsetroot /usr/share/fluxbox/styles)</userinput></screen>
|
---|
[5af003c5] | 181 |
|
---|
[dd4a853] | 182 | <para>However, if you set the desktop color with the themes, it creates a
|
---|
| 183 | problem when setting a background image. Fluxbox loads the themes after
|
---|
| 184 | the commands in <filename>~/.fluxbox/startup</filename> have been run,
|
---|
| 185 | which wipes out the pretty picture it's just set on your desktop! The
|
---|
| 186 | solution is to comment out the <command>fbsetroot</command> command in
|
---|
| 187 | the themes (again, as <systemitem
|
---|
| 188 | class="username">root</systemitem>):</para>
|
---|
[5af003c5] | 189 |
|
---|
| 190 | <screen><userinput>sed -i 's@^ro@! &@' \
|
---|
| 191 | $(grep -lr bsetroot /usr/share/fluxbox/styles)</userinput></screen>
|
---|
| 192 |
|
---|
| 193 | <para>You can still set any color you want as your desktop with an
|
---|
[dd4a853] | 194 | <command>fbsetroot</command> command in
|
---|
| 195 | <filename>~/.fluxbox/startup</filename>.</para>
|
---|
[5af003c5] | 196 |
|
---|
[39252d9] | 197 | <para>In some locales the font specified in the theme may not be available on
|
---|
| 198 | your computer. This can be fixed by <systemitem class="username">root</systemitem>
|
---|
| 199 | opening the relevant file in <filename
|
---|
| 200 | class='directory'>/usr/share/fluxbox/styles</filename> with a text editor and
|
---|
| 201 | altering it so that it names a font you like.</para>
|
---|
| 202 |
|
---|
[f0d4ce27] | 203 | </sect3>
|
---|
| 204 |
|
---|
| 205 | </sect2>
|
---|
| 206 |
|
---|
| 207 | <sect2 role="content">
|
---|
| 208 | <title>Contents</title>
|
---|
| 209 |
|
---|
| 210 | <segmentedlist>
|
---|
| 211 | <segtitle>Installed Programs</segtitle>
|
---|
| 212 | <segtitle>Installed Libraries</segtitle>
|
---|
| 213 | <segtitle>Installed Directory</segtitle>
|
---|
| 214 |
|
---|
| 215 | <seglistitem>
|
---|
[d083dd01] | 216 | <seg>fluxbox, fbsetbg, fbsetroot, fluxbox-generate_menu, startfluxbox,
|
---|
[f0d4ce27] | 217 | and fbrun</seg>
|
---|
| 218 | <seg>None</seg>
|
---|
| 219 | <seg>/usr/share/fluxbox and ~/.fluxbox</seg>
|
---|
| 220 | </seglistitem>
|
---|
| 221 | </segmentedlist>
|
---|
| 222 |
|
---|
| 223 | <variablelist>
|
---|
| 224 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 225 | <?dbfo list-presentation="list"?>
|
---|
| 226 | <?dbhtml list-presentation="table"?>
|
---|
| 227 |
|
---|
| 228 | <varlistentry id="fluxbox-prog">
|
---|
| 229 | <term><command>fluxbox</command></term>
|
---|
| 230 | <listitem>
|
---|
| 231 | <para>is a window manager for <application>X11</application> based
|
---|
| 232 | on <application>Blackbox</application> 0.61.0.</para>
|
---|
| 233 | <indexterm zone="fluxbox fluxbox-prog">
|
---|
| 234 | <primary sortas="b-fluxbox">fluxbox</primary>
|
---|
| 235 | </indexterm>
|
---|
| 236 | </listitem>
|
---|
| 237 | </varlistentry>
|
---|
| 238 |
|
---|
| 239 | <varlistentry id="fbsetbg">
|
---|
| 240 | <term><command>fbsetbg</command></term>
|
---|
| 241 | <listitem>
|
---|
[23b2968] | 242 | <para>is a utility that sets the background image. It requires
|
---|
| 243 | <command>which</command> to find one of: <command>display</command>,
|
---|
| 244 | <command>Esetroot</command>, <command>wmsetbg</command>,
|
---|
| 245 | <command>xv</command>, <command>qiv</command> or <command>xsri</command>.
|
---|
| 246 | </para>
|
---|
[f0d4ce27] | 247 | <indexterm zone="fluxbox fbsetbg">
|
---|
| 248 | <primary sortas="b-fbsetbg">fbsetbg</primary>
|
---|
| 249 | </indexterm>
|
---|
| 250 | </listitem>
|
---|
| 251 | </varlistentry>
|
---|
| 252 |
|
---|
[d083dd01] | 253 | <varlistentry id="fbsetroot">
|
---|
| 254 | <term><command>fbsetroot</command></term>
|
---|
[f0d4ce27] | 255 | <listitem>
|
---|
[d083dd01] | 256 | <para>is a utility to change root window appearance based on the
|
---|
| 257 | <application>Blackbox</application> application bsetroot.</para>
|
---|
| 258 | <indexterm zone="fluxbox fbsetroot">
|
---|
| 259 | <primary sortas="b-fbsetroot">fbsetroot</primary>
|
---|
[f0d4ce27] | 260 | </indexterm>
|
---|
| 261 | </listitem>
|
---|
| 262 | </varlistentry>
|
---|
| 263 |
|
---|
| 264 | <varlistentry id="fluxbox-generate">
|
---|
| 265 | <term><command>fluxbox-generate_menu</command></term>
|
---|
| 266 | <listitem>
|
---|
[84cfa433] | 267 | <para>is a utility that generates a menu by scanning your
|
---|
| 268 | <envar>PATH</envar>. It requires <command>which</command> to function
|
---|
| 269 | properly.</para>
|
---|
[f0d4ce27] | 270 | <indexterm zone="fluxbox fluxbox-generate">
|
---|
| 271 | <primary sortas="b-fluxbox-generate">fluxbox-generate_menu</primary>
|
---|
| 272 | </indexterm>
|
---|
| 273 | </listitem>
|
---|
| 274 | </varlistentry>
|
---|
| 275 |
|
---|
| 276 | <varlistentry id="startfluxbox">
|
---|
| 277 | <term><command>startfluxbox</command></term>
|
---|
| 278 | <listitem>
|
---|
| 279 | <para>is a session startup script that allows for command
|
---|
| 280 | executions prior to <command>fluxbox</command> starting.</para>
|
---|
| 281 | <indexterm zone="fluxbox startfluxbox">
|
---|
| 282 | <primary sortas="b-startfluxbox">startfluxbox</primary>
|
---|
| 283 | </indexterm>
|
---|
| 284 | </listitem>
|
---|
| 285 | </varlistentry>
|
---|
| 286 |
|
---|
| 287 | <varlistentry id="fbrun">
|
---|
| 288 | <term><command>fbrun</command></term>
|
---|
| 289 | <listitem>
|
---|
| 290 | <para>displays a run dialog window.</para>
|
---|
| 291 | <indexterm zone="fluxbox fbrun">
|
---|
| 292 | <primary sortas="b-fbrun">fbrun</primary>
|
---|
| 293 | </indexterm>
|
---|
| 294 | </listitem>
|
---|
| 295 | </varlistentry>
|
---|
| 296 |
|
---|
| 297 | </variablelist>
|
---|
| 298 |
|
---|
| 299 | </sect2>
|
---|
[f45b1953] | 300 |
|
---|
| 301 | </sect1>
|
---|