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