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