[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 |
|
---|
[8dfc5c3] | 7 | <!ENTITY fluxbox-download-http "&sourceforge-dl;/fluxbox/fluxbox-&fluxbox-version;.tar.xz">
|
---|
[535af54] | 8 | <!-- <!ENTITY fluxbox-download-ftp
|
---|
| 9 | "&jaist-ftp-repo;/f/fl/fluxbox/fluxbox/&fluxbox-version;/fluxbox-&fluxbox-version;.tar.xz"> -->
|
---|
| 10 | <!-- This was reported to no longer work. After testing, I can confirm.
|
---|
| 11 | Trying to use it results in a "No such directory" error. -->
|
---|
| 12 | <!ENTITY fluxbox-download-ftp " ">
|
---|
[0ef4fd1] | 13 | <!ENTITY fluxbox-md5sum "b44afd10ee1e64624c23115aa51dcd55">
|
---|
| 14 | <!ENTITY fluxbox-size "772 KB">
|
---|
[f9c1214] | 15 | <!ENTITY fluxbox-buildsize "101 MB">
|
---|
[faf325d] | 16 | <!ENTITY fluxbox-time "0.9 SBU">
|
---|
[feeb99a] | 17 | ]>
|
---|
[4f6275fd] | 18 |
|
---|
[0b5a693] | 19 | <sect1 id="fluxbox" xreflabel="Fluxbox-&fluxbox-version;">
|
---|
[f0d4ce27] | 20 | <?dbhtml filename="fluxbox.html" ?>
|
---|
| 21 |
|
---|
| 22 | <sect1info>
|
---|
| 23 | <othername>$LastChangedBy$</othername>
|
---|
| 24 | <date>$Date$</date>
|
---|
| 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 |
|
---|
[7487d447] | 39 | &lfs84_checked;
|
---|
[80a92f4] | 40 |
|
---|
[f0d4ce27] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (HTTP): <ulink url="&fluxbox-download-http;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (FTP): <ulink url="&fluxbox-download-ftp;"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download MD5 sum: &fluxbox-md5sum;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download size: &fluxbox-size;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated disk space required: &fluxbox-buildsize;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated build time: &fluxbox-time;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | </itemizedlist>
|
---|
| 62 |
|
---|
| 63 | <bridgehead renderas="sect3">Fluxbox Dependencies</bridgehead>
|
---|
| 64 |
|
---|
| 65 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[e77976f] | 66 | <para role="required"><xref linkend="x-window-system"/></para>
|
---|
[f0d4ce27] | 67 |
|
---|
[d4eb6ba] | 68 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[faf325d] | 69 | <para role="optional">
|
---|
[e71a98d9] | 70 | <xref role="runtime" linkend="dbus"/> (runtime),
|
---|
[de1a0d9] | 71 | <xref linkend="fribidi"/>, and
|
---|
[292e919] | 72 | <xref linkend="imlib2"/> (if you wish to use other image formats in addition to XPM)
|
---|
[faf325d] | 73 | </para>
|
---|
[d4eb6ba] | 74 |
|
---|
[c5c2654] | 75 | <para condition="html" role="usernotes">User Notes:
|
---|
| 76 | <ulink url="&blfs-wiki;/fluxbox"/></para>
|
---|
| 77 |
|
---|
[d4eb6ba] | 78 | </sect2>
|
---|
[f0d4ce27] | 79 |
|
---|
| 80 | <sect2 role="installation">
|
---|
| 81 | <title>Installation of Fluxbox</title>
|
---|
| 82 |
|
---|
| 83 | <para>Install <application>Fluxbox</application> by running the following
|
---|
| 84 | commands:</para>
|
---|
| 85 |
|
---|
| 86 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 87 | make</userinput></screen>
|
---|
| 88 |
|
---|
[faf325d] | 89 | <para>This package does not have a working testsuite.</para>
|
---|
[84da85a] | 90 |
|
---|
[f0d4ce27] | 91 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 92 |
|
---|
| 93 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 94 |
|
---|
| 95 | </sect2>
|
---|
| 96 |
|
---|
| 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
|
---|
[4c69301c] | 136 | <application>GDM</application> or <application>LightDM</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 |
|
---|
[a581662] | 142 | <screen role="root"><userinput>mkdir -pv /usr/share/xsessions &&
|
---|
| 143 | cat > /usr/share/xsessions/fluxbox.desktop << "EOF"
|
---|
[0fbb464] | 144 | <literal>[Desktop Entry]
|
---|
| 145 | Encoding=UTF-8
|
---|
| 146 | Name=Fluxbox
|
---|
| 147 | Comment=This session logs you into Fluxbox
|
---|
| 148 | Exec=startfluxbox
|
---|
| 149 | Type=Application</literal>
|
---|
[f0d4ce27] | 150 | EOF</userinput></screen>
|
---|
| 151 |
|
---|
[ac7d57dd] | 152 | <para>If you didn't install <application>GDM</application>,
|
---|
| 153 | <application>SDDM</application>, or <application>LightDM</application>
|
---|
| 154 | in <filename class='directory'>/usr</filename>,
|
---|
[70154c1] | 155 | then change that command to fit the prefix you chose.</para>
|
---|
[f1aeb59e] | 156 |
|
---|
[f0d4ce27] | 157 | <para>Now create the <application>Fluxbox</application> configuration
|
---|
| 158 | files:</para>
|
---|
| 159 |
|
---|
[84cfa433] | 160 | <screen><userinput>mkdir -v ~/.fluxbox &&
|
---|
| 161 | cp -v /usr/share/fluxbox/init ~/.fluxbox/init &&
|
---|
| 162 | cp -v /usr/share/fluxbox/keys ~/.fluxbox/keys</userinput></screen>
|
---|
[2e4ab21f] | 163 |
|
---|
[f9c1214] | 164 | <para>To generate the application menu, first you may wish to run
|
---|
| 165 | <command>fluxbox-generate_menu -h</command>, in order to choose any
|
---|
| 166 | <replaceable><user_options></replaceable>, then issue:</para>
|
---|
[2e4ab21f] | 167 |
|
---|
| 168 | <screen><userinput>cd ~/.fluxbox &&
|
---|
[f9c1214] | 169 | fluxbox-generate_menu <replaceable><user_options></replaceable></userinput></screen>
|
---|
[2e4ab21f] | 170 |
|
---|
[374ac5a] | 171 | <para>Alternately, copy a pregenerated menu:</para>
|
---|
[2e4ab21f] | 172 |
|
---|
[84cfa433] | 173 | <screen><userinput>cp -v /usr/share/fluxbox/menu ~/.fluxbox/menu</userinput></screen>
|
---|
[f0d4ce27] | 174 |
|
---|
[70154c1] | 175 | <para>Menu items are added by editing <filename>~/.fluxbox/menu</filename>.
|
---|
[f0d4ce27] | 176 | The syntax is explained on the <command>fluxbox</command> man page.</para>
|
---|
| 177 |
|
---|
[2eb3bfa5] | 178 | <para>If you want to use an image as your desktop background, copy the
|
---|
| 179 | theme you like into <filename class='directory'>~/.fluxbox</filename>.
|
---|
[f9c1214] | 180 | Then add a line to make it use the correct image. In the following
|
---|
| 181 | command, change <replaceable><theme></replaceable> for the name of
|
---|
| 182 | the theme you want and change
|
---|
| 183 | <replaceable></path/to/nice/image.ext></replaceable> to point to
|
---|
| 184 | the actual image you want to use, where <replaceable>ext</replaceable>
|
---|
| 185 | must be <quote>xpm</quote>, if <xref linkend="imlib2"/> is not installed
|
---|
| 186 | to allow other image formats.</para>
|
---|
[5af003c5] | 187 |
|
---|
[84da85a] | 188 | <screen><userinput>cp /usr/share/fluxbox/styles/<theme> ~/.fluxbox/theme &&
|
---|
[f9c1214] | 189 |
|
---|
[e2e42c7] | 190 | sed -i 's,\(session.styleFile:\).*,\1 ~/.fluxbox/theme,' ~/.fluxbox/init &&
|
---|
[f9c1214] | 191 |
|
---|
| 192 | [ -f ~/.fluxbox/theme ] &&
|
---|
| 193 | echo "background.pixmap: </path/to/nice/image.ext>" >> ~/.fluxbox/theme ||
|
---|
| 194 | [ -d ~/.fluxbox/theme ] &&
|
---|
| 195 | echo "background.pixmap: </path/to/nice/image.ext>" >> ~/.fluxbox/theme/theme.cfg</userinput></screen>
|
---|
[5af003c5] | 196 |
|
---|
[7a5dad89] | 197 | <para>In some locales the font specified in the theme may not contain the
|
---|
[2eb3bfa5] | 198 | needed characters. This results in menus with blank items. You can fix
|
---|
| 199 | this by editing <filename>~/.fluxbox/theme</filename> with a text editor
|
---|
| 200 | and altering it so that it names a suitable font.</para>
|
---|
[39252d9] | 201 |
|
---|
[f0d4ce27] | 202 | </sect3>
|
---|
| 203 |
|
---|
| 204 | </sect2>
|
---|
| 205 |
|
---|
| 206 | <sect2 role="content">
|
---|
| 207 | <title>Contents</title>
|
---|
| 208 |
|
---|
| 209 | <segmentedlist>
|
---|
| 210 | <segtitle>Installed Programs</segtitle>
|
---|
| 211 | <segtitle>Installed Libraries</segtitle>
|
---|
[80a92f4] | 212 | <segtitle>Installed Directories</segtitle>
|
---|
[f0d4ce27] | 213 |
|
---|
| 214 | <seglistitem>
|
---|
[d083dd01] | 215 | <seg>fluxbox, fbsetbg, fbsetroot, fluxbox-generate_menu, startfluxbox,
|
---|
[80a92f4] | 216 | fbrun, fluxbox-remote, and fluxbox-update_configs</seg>
|
---|
[f0d4ce27] | 217 | <seg>None</seg>
|
---|
| 218 | <seg>/usr/share/fluxbox and ~/.fluxbox</seg>
|
---|
| 219 | </seglistitem>
|
---|
| 220 | </segmentedlist>
|
---|
| 221 |
|
---|
| 222 | <variablelist>
|
---|
| 223 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 224 | <?dbfo list-presentation="list"?>
|
---|
| 225 | <?dbhtml list-presentation="table"?>
|
---|
| 226 |
|
---|
| 227 | <varlistentry id="fluxbox-prog">
|
---|
| 228 | <term><command>fluxbox</command></term>
|
---|
| 229 | <listitem>
|
---|
| 230 | <para>is a window manager for <application>X11</application> based
|
---|
| 231 | on <application>Blackbox</application> 0.61.0.</para>
|
---|
| 232 | <indexterm zone="fluxbox fluxbox-prog">
|
---|
| 233 | <primary sortas="b-fluxbox">fluxbox</primary>
|
---|
| 234 | </indexterm>
|
---|
| 235 | </listitem>
|
---|
| 236 | </varlistentry>
|
---|
| 237 |
|
---|
| 238 | <varlistentry id="fbsetbg">
|
---|
| 239 | <term><command>fbsetbg</command></term>
|
---|
| 240 | <listitem>
|
---|
[be6de47] | 241 | <para>is a utility that sets the background image. It requires one
|
---|
| 242 | of the following at runtime:
|
---|
[bb6210a6] | 243 | <command>Esetroot</command>, <command>wmsetbg</command>,
|
---|
| 244 | <xref linkend="feh-prog"/>, <command>hsetroot</command>,
|
---|
| 245 | <command>chbg</command>, <xref linkend="display"/>,
|
---|
| 246 | <command>qiv</command>, <command>xv</command>,
|
---|
| 247 | <command>xsri</command>, <command>xli</command>, or <command>xsetbg</command>.
|
---|
| 248 | It also requires <xref linkend="which-prog"/> if <command>Esetroot</command> is
|
---|
[374ac5a] | 249 | found.</para>
|
---|
[f0d4ce27] | 250 | <indexterm zone="fluxbox fbsetbg">
|
---|
| 251 | <primary sortas="b-fbsetbg">fbsetbg</primary>
|
---|
| 252 | </indexterm>
|
---|
| 253 | </listitem>
|
---|
| 254 | </varlistentry>
|
---|
| 255 |
|
---|
[d083dd01] | 256 | <varlistentry id="fbsetroot">
|
---|
| 257 | <term><command>fbsetroot</command></term>
|
---|
[f0d4ce27] | 258 | <listitem>
|
---|
[d9c80e1] | 259 | <para>is a utility to change root window appearance based on the
|
---|
[d083dd01] | 260 | <application>Blackbox</application> application bsetroot.</para>
|
---|
| 261 | <indexterm zone="fluxbox fbsetroot">
|
---|
| 262 | <primary sortas="b-fbsetroot">fbsetroot</primary>
|
---|
[f0d4ce27] | 263 | </indexterm>
|
---|
| 264 | </listitem>
|
---|
| 265 | </varlistentry>
|
---|
| 266 |
|
---|
[6d772cc] | 267 | <varlistentry id="fluxbox-generate_menu">
|
---|
[f0d4ce27] | 268 | <term><command>fluxbox-generate_menu</command></term>
|
---|
| 269 | <listitem>
|
---|
[84cfa433] | 270 | <para>is a utility that generates a menu by scanning your
|
---|
[374ac5a] | 271 | <envar>PATH</envar>.</para>
|
---|
[6d772cc] | 272 | <indexterm zone="fluxbox fluxbox-generate_menu">
|
---|
| 273 | <primary sortas="b-fluxbox-generate_menu">fluxbox-generate_menu</primary>
|
---|
[f0d4ce27] | 274 | </indexterm>
|
---|
| 275 | </listitem>
|
---|
| 276 | </varlistentry>
|
---|
| 277 |
|
---|
| 278 | <varlistentry id="startfluxbox">
|
---|
| 279 | <term><command>startfluxbox</command></term>
|
---|
| 280 | <listitem>
|
---|
| 281 | <para>is a session startup script that allows for command
|
---|
| 282 | executions prior to <command>fluxbox</command> starting.</para>
|
---|
| 283 | <indexterm zone="fluxbox startfluxbox">
|
---|
| 284 | <primary sortas="b-startfluxbox">startfluxbox</primary>
|
---|
| 285 | </indexterm>
|
---|
| 286 | </listitem>
|
---|
| 287 | </varlistentry>
|
---|
| 288 |
|
---|
| 289 | <varlistentry id="fbrun">
|
---|
| 290 | <term><command>fbrun</command></term>
|
---|
| 291 | <listitem>
|
---|
| 292 | <para>displays a run dialog window.</para>
|
---|
| 293 | <indexterm zone="fluxbox fbrun">
|
---|
| 294 | <primary sortas="b-fbrun">fbrun</primary>
|
---|
| 295 | </indexterm>
|
---|
| 296 | </listitem>
|
---|
| 297 | </varlistentry>
|
---|
| 298 |
|
---|
[80a92f4] | 299 | <varlistentry id="fluxbox-remote">
|
---|
| 300 | <term><command>fluxbox-remote</command></term>
|
---|
| 301 | <listitem>
|
---|
[a41f643] | 302 | <para>provides command line access to key commands for
|
---|
[80a92f4] | 303 | <application>Fluxbox</application>.</para>
|
---|
| 304 | <indexterm zone="fluxbox fluxbox-remote">
|
---|
| 305 | <primary sortas="b-fluxbox-remote">fluxbox-remote</primary>
|
---|
| 306 | </indexterm>
|
---|
| 307 | </listitem>
|
---|
| 308 | </varlistentry>
|
---|
| 309 |
|
---|
[6d772cc] | 310 | <varlistentry id="fluxbox-update_configs">
|
---|
| 311 | <term><command>fluxbox-update_configs</command></term>
|
---|
| 312 | <listitem>
|
---|
| 313 | <para>
|
---|
| 314 | use to manage config files (reload, update, test).
|
---|
| 315 | </para>
|
---|
| 316 | <indexterm zone="fluxbox fluxbox-update_configs">
|
---|
| 317 | <primary sortas="b-fluxbox-update_configs">fluxbox-update_configs</primary>
|
---|
| 318 | </indexterm>
|
---|
| 319 | </listitem>
|
---|
| 320 | </varlistentry>
|
---|
| 321 |
|
---|
[f0d4ce27] | 322 | </variablelist>
|
---|
| 323 |
|
---|
| 324 | </sect2>
|
---|
[f45b1953] | 325 |
|
---|
| 326 | </sect1>
|
---|