[feeb99a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[feeb99a] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[fce275e] | 7 | <!ENTITY fluxbox-download-http "&sourceforge-repo;/fluxbox/fluxbox-&fluxbox-version;.tar.bz2">
|
---|
[e2e42c7] | 8 | <!ENTITY fluxbox-download-ftp "&gentoo-ftp-repo;/fluxbox-&fluxbox-version;.tar.">
|
---|
| 9 | <!ENTITY fluxbox-md5sum "f95b0bdb9ee41bfac124bd0fc601f248">
|
---|
| 10 | <!ENTITY fluxbox-size "776 KB">
|
---|
| 11 | <!ENTITY fluxbox-buildsize "135 MB">
|
---|
| 12 | <!ENTITY fluxbox-time "1.1 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>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Fluxbox-&fluxbox-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="fluxbox">
|
---|
| 26 | <primary sortas="a-Fluxbox">Fluxbox</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Fluxbox</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>Fluxbox</application> package contains a window
|
---|
| 33 | manager.</para>
|
---|
| 34 |
|
---|
[e2e42c7] | 35 | &lfs70_checked;
|
---|
[80a92f4] | 36 |
|
---|
[f0d4ce27] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&fluxbox-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&fluxbox-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &fluxbox-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &fluxbox-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &fluxbox-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &fluxbox-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect3">Fluxbox Dependencies</bridgehead>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[e77976f] | 62 | <para role="required"><xref linkend="x-window-system"/></para>
|
---|
[f0d4ce27] | 63 |
|
---|
[d4eb6ba] | 64 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[76a39aa] | 65 | <para role="optional"><xref linkend="imlib2"/> Image display library</para>
|
---|
[d4eb6ba] | 66 |
|
---|
[c5c2654] | 67 | <para condition="html" role="usernotes">User Notes:
|
---|
| 68 | <ulink url="&blfs-wiki;/fluxbox"/></para>
|
---|
| 69 |
|
---|
[d4eb6ba] | 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 |
|
---|
[84da85a] | 81 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 82 |
|
---|
[f0d4ce27] | 83 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 84 |
|
---|
| 85 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 86 |
|
---|
| 87 | </sect2>
|
---|
| 88 |
|
---|
[d4eb6ba] | 89 | <sect2 role="commands">
|
---|
| 90 | <title>Command Explanations</title>
|
---|
| 91 |
|
---|
| 92 | <para><option>--enable-imlib2</option>:
|
---|
[099b774] | 93 | Use this option if you wish to use other image formats in addition to xpm.</para>
|
---|
[d4eb6ba] | 94 |
|
---|
| 95 | </sect2>
|
---|
| 96 |
|
---|
[f0d4ce27] | 97 | <sect2 role="configuration">
|
---|
| 98 | <title>Configuring Fluxbox</title>
|
---|
| 99 |
|
---|
| 100 | <sect3 id="fluxbox-config">
|
---|
| 101 | <title>Config Files</title>
|
---|
| 102 |
|
---|
| 103 | <para><filename>~/.fluxbox/init</filename>,
|
---|
| 104 | <filename>~/.fluxbox/keys</filename>, and
|
---|
| 105 | <filename>~/.fluxbox/menu</filename></para>
|
---|
| 106 |
|
---|
| 107 | <indexterm zone="fluxbox fluxbox-config">
|
---|
| 108 | <primary sortas="e-AA.fluxbox-init">~/.fluxbox/init</primary>
|
---|
| 109 | </indexterm>
|
---|
| 110 |
|
---|
| 111 | <indexterm zone="fluxbox fluxbox-config">
|
---|
| 112 | <primary sortas="e-AA.fluxbox-keys">~/.fluxbox/keys</primary>
|
---|
| 113 | </indexterm>
|
---|
| 114 |
|
---|
| 115 | <indexterm zone="fluxbox fluxbox-config">
|
---|
| 116 | <primary sortas="e-AA.fluxbox-menu">~/.fluxbox/menu</primary>
|
---|
| 117 | </indexterm>
|
---|
| 118 |
|
---|
| 119 | </sect3>
|
---|
| 120 |
|
---|
| 121 | <sect3>
|
---|
| 122 | <title>Configuration Information</title>
|
---|
| 123 |
|
---|
[70154c1] | 124 | <para>If <application>Fluxbox</application> is the only Window Manager
|
---|
| 125 | you want to use, you can start it with an <filename>.xinitrc</filename>
|
---|
[5af003c5] | 126 | file in your home folder. Be sure to backup your
|
---|
[d083dd01] | 127 | current <filename>.xinitrc</filename> before proceeding.</para>
|
---|
[f0d4ce27] | 128 |
|
---|
| 129 | <indexterm zone="fluxbox fluxbox-config">
|
---|
| 130 | <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
|
---|
| 131 | </indexterm>
|
---|
| 132 |
|
---|
[0fbb464] | 133 | <screen><userinput>echo startfluxbox > ~/.xinitrc</userinput></screen>
|
---|
[d083dd01] | 134 |
|
---|
[5af003c5] | 135 | <para>Or alternatively, if you use a login manager like
|
---|
[d083dd01] | 136 | <xref linkend="gdm"/> or <application>kdm</application> and would
|
---|
[5af003c5] | 137 | like to be able to choose <application>Fluxbox</application> at the login
|
---|
[70154c1] | 138 | prompt, create a <filename>fluxbox.desktop</filename> file like this.</para>
|
---|
[d083dd01] | 139 |
|
---|
| 140 | <para>As <systemitem class="username">root</systemitem>:</para>
|
---|
| 141 |
|
---|
| 142 | <screen><userinput>cat > /usr/share/xsessions/fluxbox.desktop << "EOF"
|
---|
[0fbb464] | 143 | <literal>[Desktop Entry]
|
---|
| 144 | Encoding=UTF-8
|
---|
| 145 | Name=Fluxbox
|
---|
| 146 | Comment=This session logs you into Fluxbox
|
---|
| 147 | Exec=startfluxbox
|
---|
| 148 | Type=Application</literal>
|
---|
[f0d4ce27] | 149 | EOF</userinput></screen>
|
---|
| 150 |
|
---|
[70154c1] | 151 | <para>If you didn't install <xref linkend="gdm"/> or
|
---|
| 152 | <application>kdm</application> in <filename class='directory'>/usr</filename>,
|
---|
| 153 | then change that command to fit the prefix you chose.</para>
|
---|
[f1aeb59e] | 154 |
|
---|
[f0d4ce27] | 155 | <para>Now create the <application>Fluxbox</application> configuration
|
---|
| 156 | files:</para>
|
---|
| 157 |
|
---|
[84cfa433] | 158 | <screen><userinput>mkdir -v ~/.fluxbox &&
|
---|
| 159 | cp -v /usr/share/fluxbox/init ~/.fluxbox/init &&
|
---|
| 160 | cp -v /usr/share/fluxbox/keys ~/.fluxbox/keys</userinput></screen>
|
---|
[2e4ab21f] | 161 |
|
---|
[dd4a853] | 162 | <para>Now if you have <xref linkend="which"/> installed:</para>
|
---|
[2e4ab21f] | 163 |
|
---|
| 164 | <screen><userinput>cd ~/.fluxbox &&
|
---|
| 165 | fluxbox-generate_menu</userinput></screen>
|
---|
| 166 |
|
---|
[dd4a853] | 167 | <para>otherwise:</para>
|
---|
[2e4ab21f] | 168 |
|
---|
[84cfa433] | 169 | <screen><userinput>cp -v /usr/share/fluxbox/menu ~/.fluxbox/menu</userinput></screen>
|
---|
[f0d4ce27] | 170 |
|
---|
[70154c1] | 171 | <para>Menu items are added by editing <filename>~/.fluxbox/menu</filename>.
|
---|
[f0d4ce27] | 172 | The syntax is explained on the <command>fluxbox</command> man page.</para>
|
---|
| 173 |
|
---|
[2eb3bfa5] | 174 | <para>If you want to use an image as your desktop background, copy the
|
---|
| 175 | theme you like into <filename class='directory'>~/.fluxbox</filename>.
|
---|
| 176 | Then add a line to make it use the correct image. In the following command,
|
---|
[c5c2654] | 177 | change <replaceable><theme></replaceable> for the name of the theme you
|
---|
[84da85a] | 178 | want and change <replaceable></path/to/nice/image.xpm></replaceable> to
|
---|
| 179 | point to the actual image you want to use.</para>
|
---|
[5af003c5] | 180 |
|
---|
[84da85a] | 181 | <screen><userinput>cp /usr/share/fluxbox/styles/<theme> ~/.fluxbox/theme &&
|
---|
[e2e42c7] | 182 | sed -i 's,\(session.styleFile:\).*,\1 ~/.fluxbox/theme,' ~/.fluxbox/init &&
|
---|
| 183 | echo "background.pixmap: </path/to/nice/image.xpm>" >> ~/.fluxbox/theme</userinput></screen>
|
---|
[5af003c5] | 184 |
|
---|
[7a5dad89] | 185 | <para>In some locales the font specified in the theme may not contain the
|
---|
[2eb3bfa5] | 186 | needed characters. This results in menus with blank items. You can fix
|
---|
| 187 | this by editing <filename>~/.fluxbox/theme</filename> with a text editor
|
---|
| 188 | and altering it so that it names a suitable font.</para>
|
---|
[39252d9] | 189 |
|
---|
[f0d4ce27] | 190 | </sect3>
|
---|
| 191 |
|
---|
| 192 | </sect2>
|
---|
| 193 |
|
---|
| 194 | <sect2 role="content">
|
---|
| 195 | <title>Contents</title>
|
---|
| 196 |
|
---|
| 197 | <segmentedlist>
|
---|
| 198 | <segtitle>Installed Programs</segtitle>
|
---|
| 199 | <segtitle>Installed Libraries</segtitle>
|
---|
[80a92f4] | 200 | <segtitle>Installed Directories</segtitle>
|
---|
[f0d4ce27] | 201 |
|
---|
| 202 | <seglistitem>
|
---|
[d083dd01] | 203 | <seg>fluxbox, fbsetbg, fbsetroot, fluxbox-generate_menu, startfluxbox,
|
---|
[80a92f4] | 204 | fbrun, fluxbox-remote, and fluxbox-update_configs</seg>
|
---|
[f0d4ce27] | 205 | <seg>None</seg>
|
---|
| 206 | <seg>/usr/share/fluxbox and ~/.fluxbox</seg>
|
---|
| 207 | </seglistitem>
|
---|
| 208 | </segmentedlist>
|
---|
| 209 |
|
---|
| 210 | <variablelist>
|
---|
| 211 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 212 | <?dbfo list-presentation="list"?>
|
---|
| 213 | <?dbhtml list-presentation="table"?>
|
---|
| 214 |
|
---|
| 215 | <varlistentry id="fluxbox-prog">
|
---|
| 216 | <term><command>fluxbox</command></term>
|
---|
| 217 | <listitem>
|
---|
| 218 | <para>is a window manager for <application>X11</application> based
|
---|
| 219 | on <application>Blackbox</application> 0.61.0.</para>
|
---|
| 220 | <indexterm zone="fluxbox fluxbox-prog">
|
---|
| 221 | <primary sortas="b-fluxbox">fluxbox</primary>
|
---|
| 222 | </indexterm>
|
---|
| 223 | </listitem>
|
---|
| 224 | </varlistentry>
|
---|
| 225 |
|
---|
| 226 | <varlistentry id="fbsetbg">
|
---|
| 227 | <term><command>fbsetbg</command></term>
|
---|
| 228 | <listitem>
|
---|
[23b2968] | 229 | <para>is a utility that sets the background image. It requires
|
---|
| 230 | <command>which</command> to find one of: <command>display</command>,
|
---|
| 231 | <command>Esetroot</command>, <command>wmsetbg</command>,
|
---|
| 232 | <command>xv</command>, <command>qiv</command> or <command>xsri</command>.
|
---|
| 233 | </para>
|
---|
[f0d4ce27] | 234 | <indexterm zone="fluxbox fbsetbg">
|
---|
| 235 | <primary sortas="b-fbsetbg">fbsetbg</primary>
|
---|
| 236 | </indexterm>
|
---|
| 237 | </listitem>
|
---|
| 238 | </varlistentry>
|
---|
| 239 |
|
---|
[d083dd01] | 240 | <varlistentry id="fbsetroot">
|
---|
| 241 | <term><command>fbsetroot</command></term>
|
---|
[f0d4ce27] | 242 | <listitem>
|
---|
[d9c80e1] | 243 | <para>is a utility to change root window appearance based on the
|
---|
[d083dd01] | 244 | <application>Blackbox</application> application bsetroot.</para>
|
---|
| 245 | <indexterm zone="fluxbox fbsetroot">
|
---|
| 246 | <primary sortas="b-fbsetroot">fbsetroot</primary>
|
---|
[f0d4ce27] | 247 | </indexterm>
|
---|
| 248 | </listitem>
|
---|
| 249 | </varlistentry>
|
---|
| 250 |
|
---|
| 251 | <varlistentry id="fluxbox-generate">
|
---|
| 252 | <term><command>fluxbox-generate_menu</command></term>
|
---|
| 253 | <listitem>
|
---|
[84cfa433] | 254 | <para>is a utility that generates a menu by scanning your
|
---|
| 255 | <envar>PATH</envar>. It requires <command>which</command> to function
|
---|
| 256 | properly.</para>
|
---|
[f0d4ce27] | 257 | <indexterm zone="fluxbox fluxbox-generate">
|
---|
| 258 | <primary sortas="b-fluxbox-generate">fluxbox-generate_menu</primary>
|
---|
| 259 | </indexterm>
|
---|
| 260 | </listitem>
|
---|
| 261 | </varlistentry>
|
---|
| 262 |
|
---|
| 263 | <varlistentry id="startfluxbox">
|
---|
| 264 | <term><command>startfluxbox</command></term>
|
---|
| 265 | <listitem>
|
---|
| 266 | <para>is a session startup script that allows for command
|
---|
| 267 | executions prior to <command>fluxbox</command> starting.</para>
|
---|
| 268 | <indexterm zone="fluxbox startfluxbox">
|
---|
| 269 | <primary sortas="b-startfluxbox">startfluxbox</primary>
|
---|
| 270 | </indexterm>
|
---|
| 271 | </listitem>
|
---|
| 272 | </varlistentry>
|
---|
| 273 |
|
---|
| 274 | <varlistentry id="fbrun">
|
---|
| 275 | <term><command>fbrun</command></term>
|
---|
| 276 | <listitem>
|
---|
| 277 | <para>displays a run dialog window.</para>
|
---|
| 278 | <indexterm zone="fluxbox fbrun">
|
---|
| 279 | <primary sortas="b-fbrun">fbrun</primary>
|
---|
| 280 | </indexterm>
|
---|
| 281 | </listitem>
|
---|
| 282 | </varlistentry>
|
---|
| 283 |
|
---|
[80a92f4] | 284 | <varlistentry id="fluxbox-remote">
|
---|
| 285 | <term><command>fluxbox-remote</command></term>
|
---|
| 286 | <listitem>
|
---|
[a41f643] | 287 | <para>provides command line access to key commands for
|
---|
[80a92f4] | 288 | <application>Fluxbox</application>.</para>
|
---|
| 289 | <indexterm zone="fluxbox fluxbox-remote">
|
---|
| 290 | <primary sortas="b-fluxbox-remote">fluxbox-remote</primary>
|
---|
| 291 | </indexterm>
|
---|
| 292 | </listitem>
|
---|
| 293 | </varlistentry>
|
---|
| 294 |
|
---|
[f0d4ce27] | 295 | </variablelist>
|
---|
| 296 |
|
---|
| 297 | </sect2>
|
---|
[f45b1953] | 298 |
|
---|
| 299 | </sect1>
|
---|