[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 |
|
---|
| 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 |
|
---|
[97ee53d] | 32 | <para>
|
---|
| 33 | The <application>Fluxbox</application> package contains a window
|
---|
| 34 | manager.
|
---|
| 35 | </para>
|
---|
[f0d4ce27] | 36 |
|
---|
[479979e] | 37 | &lfs120_checked;
|
---|
[80a92f4] | 38 |
|
---|
[f0d4ce27] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[97ee53d] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&fluxbox-download-http;"/>
|
---|
| 44 | </para>
|
---|
[f0d4ce27] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[97ee53d] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&fluxbox-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[f0d4ce27] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[97ee53d] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &fluxbox-md5sum;
|
---|
| 54 | </para>
|
---|
[f0d4ce27] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[97ee53d] | 57 | <para>
|
---|
| 58 | Download size: &fluxbox-size;
|
---|
| 59 | </para>
|
---|
[f0d4ce27] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[97ee53d] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &fluxbox-buildsize;
|
---|
| 64 | </para>
|
---|
[f0d4ce27] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[97ee53d] | 67 | <para>
|
---|
| 68 | Estimated build time: &fluxbox-time;
|
---|
| 69 | </para>
|
---|
[f0d4ce27] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">Fluxbox Dependencies</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[97ee53d] | 76 | <para role="required">
|
---|
| 77 | <xref linkend="x-window-system"/>
|
---|
| 78 | </para>
|
---|
[f0d4ce27] | 79 |
|
---|
[d4eb6ba] | 80 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[faf325d] | 81 | <para role="optional">
|
---|
[e71a98d9] | 82 | <xref role="runtime" linkend="dbus"/> (runtime),
|
---|
[de1a0d9] | 83 | <xref linkend="fribidi"/>, and
|
---|
[97ee53d] | 84 | <xref linkend="imlib2"/> (if you wish to use other image formats in
|
---|
| 85 | addition to XPM)
|
---|
[faf325d] | 86 | </para>
|
---|
[d4eb6ba] | 87 |
|
---|
| 88 | </sect2>
|
---|
[f0d4ce27] | 89 |
|
---|
| 90 | <sect2 role="installation">
|
---|
| 91 | <title>Installation of Fluxbox</title>
|
---|
| 92 |
|
---|
[1a46c6e] | 93 | <para>
|
---|
| 94 | First, fix a build failure when building with gcc-11.1:
|
---|
| 95 | </para>
|
---|
| 96 |
|
---|
| 97 | <screen><userinput remap="pre">sed -i '/text_prop.value > 0/s/>/!=/' util/fluxbox-remote.cc</userinput></screen>
|
---|
| 98 |
|
---|
[97ee53d] | 99 | <para>
|
---|
| 100 | Install <application>Fluxbox</application> by running the following
|
---|
| 101 | commands:
|
---|
| 102 | </para>
|
---|
[f0d4ce27] | 103 |
|
---|
| 104 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 105 | make</userinput></screen>
|
---|
| 106 |
|
---|
[97ee53d] | 107 | <para>
|
---|
[48771ae] | 108 | This package does not have a working test suite.
|
---|
[97ee53d] | 109 | </para>
|
---|
[84da85a] | 110 |
|
---|
[97ee53d] | 111 | <para>
|
---|
| 112 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 113 | </para>
|
---|
[f0d4ce27] | 114 |
|
---|
| 115 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="configuration">
|
---|
| 120 | <title>Configuring Fluxbox</title>
|
---|
| 121 |
|
---|
| 122 | <sect3 id="fluxbox-config">
|
---|
| 123 | <title>Config Files</title>
|
---|
| 124 |
|
---|
[97ee53d] | 125 | <para>
|
---|
| 126 | <filename>~/.fluxbox/init</filename>,
|
---|
| 127 | <filename>~/.fluxbox/keys</filename>, and
|
---|
| 128 | <filename>~/.fluxbox/menu</filename>
|
---|
| 129 | </para>
|
---|
[f0d4ce27] | 130 |
|
---|
| 131 | <indexterm zone="fluxbox fluxbox-config">
|
---|
| 132 | <primary sortas="e-AA.fluxbox-init">~/.fluxbox/init</primary>
|
---|
| 133 | </indexterm>
|
---|
| 134 |
|
---|
| 135 | <indexterm zone="fluxbox fluxbox-config">
|
---|
| 136 | <primary sortas="e-AA.fluxbox-keys">~/.fluxbox/keys</primary>
|
---|
| 137 | </indexterm>
|
---|
| 138 |
|
---|
| 139 | <indexterm zone="fluxbox fluxbox-config">
|
---|
| 140 | <primary sortas="e-AA.fluxbox-menu">~/.fluxbox/menu</primary>
|
---|
| 141 | </indexterm>
|
---|
| 142 |
|
---|
| 143 | </sect3>
|
---|
| 144 |
|
---|
| 145 | <sect3>
|
---|
| 146 | <title>Configuration Information</title>
|
---|
| 147 |
|
---|
[97ee53d] | 148 | <para>
|
---|
| 149 | If <application>Fluxbox</application> is the only Window Manager
|
---|
| 150 | you want to use, you can start it with an <filename>.xinitrc</filename>
|
---|
| 151 | file in your home folder. Be sure to backup your
|
---|
| 152 | current <filename>.xinitrc</filename> before proceeding.
|
---|
| 153 | </para>
|
---|
[f0d4ce27] | 154 |
|
---|
| 155 | <indexterm zone="fluxbox fluxbox-config">
|
---|
| 156 | <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
|
---|
| 157 | </indexterm>
|
---|
| 158 |
|
---|
[0fbb464] | 159 | <screen><userinput>echo startfluxbox > ~/.xinitrc</userinput></screen>
|
---|
[d083dd01] | 160 |
|
---|
[97ee53d] | 161 | <para>
|
---|
| 162 | Or alternatively, if you use a login manager like
|
---|
| 163 | <xref linkend="gdm"/> or <xref linkend="lightdm"/>,
|
---|
| 164 | and would like to be able to choose <application>Fluxbox</application>
|
---|
| 165 | at the login prompt, create a <filename>fluxbox.desktop</filename>
|
---|
| 166 | file. As <systemitem class="username">root</systemitem>:
|
---|
| 167 | </para>
|
---|
[d083dd01] | 168 |
|
---|
[a581662] | 169 | <screen role="root"><userinput>mkdir -pv /usr/share/xsessions &&
|
---|
| 170 | cat > /usr/share/xsessions/fluxbox.desktop << "EOF"
|
---|
[0fbb464] | 171 | <literal>[Desktop Entry]
|
---|
| 172 | Encoding=UTF-8
|
---|
| 173 | Name=Fluxbox
|
---|
| 174 | Comment=This session logs you into Fluxbox
|
---|
| 175 | Exec=startfluxbox
|
---|
| 176 | Type=Application</literal>
|
---|
[f0d4ce27] | 177 | EOF</userinput></screen>
|
---|
| 178 |
|
---|
[97ee53d] | 179 | <para>
|
---|
| 180 | If you didn't install <xref linkend="gdm"/> or <xref
|
---|
| 181 | linkend="lightdm"/> in <filename class='directory'>/usr</filename>,
|
---|
| 182 | then change that command to fit the prefix you chose.
|
---|
| 183 | </para>
|
---|
[f1aeb59e] | 184 |
|
---|
[97ee53d] | 185 | <para>
|
---|
| 186 | Now create the <application>Fluxbox</application> configuration files:
|
---|
| 187 | </para>
|
---|
[f0d4ce27] | 188 |
|
---|
[84cfa433] | 189 | <screen><userinput>mkdir -v ~/.fluxbox &&
|
---|
| 190 | cp -v /usr/share/fluxbox/init ~/.fluxbox/init &&
|
---|
| 191 | cp -v /usr/share/fluxbox/keys ~/.fluxbox/keys</userinput></screen>
|
---|
[2e4ab21f] | 192 |
|
---|
[97ee53d] | 193 | <para>
|
---|
| 194 | To generate the application menu, first you may wish to run
|
---|
| 195 | <command>fluxbox-generate_menu -h</command>, in order to choose any
|
---|
| 196 | <replaceable><user_options></replaceable>, then issue:
|
---|
| 197 | </para>
|
---|
[2e4ab21f] | 198 |
|
---|
[97ee53d] | 199 | <screen role="nodump"><userinput>cd ~/.fluxbox &&
|
---|
[f9c1214] | 200 | fluxbox-generate_menu <replaceable><user_options></replaceable></userinput></screen>
|
---|
[2e4ab21f] | 201 |
|
---|
[97ee53d] | 202 | <para>
|
---|
| 203 | Alternately, copy a pregenerated menu:
|
---|
| 204 | </para>
|
---|
[2e4ab21f] | 205 |
|
---|
[84cfa433] | 206 | <screen><userinput>cp -v /usr/share/fluxbox/menu ~/.fluxbox/menu</userinput></screen>
|
---|
[f0d4ce27] | 207 |
|
---|
[97ee53d] | 208 | <para>
|
---|
| 209 | Menu items are added by editing <filename>~/.fluxbox/menu</filename>.
|
---|
| 210 | The syntax is explained on the <command>fluxbox</command> man page.
|
---|
| 211 | </para>
|
---|
| 212 |
|
---|
| 213 | <para>
|
---|
| 214 | If you want to use an image as your desktop background, copy the
|
---|
| 215 | theme you like into <filename class='directory'>~/.fluxbox</filename>.
|
---|
| 216 | Then add a line to make it use the correct image. In the following
|
---|
| 217 | command, change <replaceable><theme></replaceable> for the name
|
---|
| 218 | of the theme you want and change
|
---|
| 219 | <replaceable></path/to/nice/image.ext></replaceable> to point to
|
---|
| 220 | the actual image you want to use, where <replaceable>ext</replaceable>
|
---|
| 221 | must be <quote>xpm</quote>, if <xref linkend="imlib2"/> is not installed
|
---|
| 222 | to allow other image formats.
|
---|
| 223 | </para>
|
---|
| 224 |
|
---|
[6b2a913] | 225 | <screen role="nodump"><userinput>cp -r /usr/share/fluxbox/styles/<theme> ~/.fluxbox/theme &&
|
---|
[f9c1214] | 226 |
|
---|
[e2e42c7] | 227 | sed -i 's,\(session.styleFile:\).*,\1 ~/.fluxbox/theme,' ~/.fluxbox/init &&
|
---|
[f9c1214] | 228 |
|
---|
| 229 | [ -f ~/.fluxbox/theme ] &&
|
---|
| 230 | echo "background.pixmap: </path/to/nice/image.ext>" >> ~/.fluxbox/theme ||
|
---|
| 231 | [ -d ~/.fluxbox/theme ] &&
|
---|
| 232 | echo "background.pixmap: </path/to/nice/image.ext>" >> ~/.fluxbox/theme/theme.cfg</userinput></screen>
|
---|
[5af003c5] | 233 |
|
---|
[97ee53d] | 234 | <para>
|
---|
| 235 | In some locales the font specified in the theme may not contain the
|
---|
| 236 | needed characters. This results in menus with blank items. You can fix
|
---|
| 237 | this by editing <filename>~/.fluxbox/theme</filename> with a text
|
---|
| 238 | editor and altering it so that it names a suitable font.
|
---|
| 239 | </para>
|
---|
[39252d9] | 240 |
|
---|
[f0d4ce27] | 241 | </sect3>
|
---|
| 242 |
|
---|
| 243 | </sect2>
|
---|
| 244 |
|
---|
| 245 | <sect2 role="content">
|
---|
| 246 | <title>Contents</title>
|
---|
| 247 |
|
---|
| 248 | <segmentedlist>
|
---|
| 249 | <segtitle>Installed Programs</segtitle>
|
---|
| 250 | <segtitle>Installed Libraries</segtitle>
|
---|
[80a92f4] | 251 | <segtitle>Installed Directories</segtitle>
|
---|
[f0d4ce27] | 252 |
|
---|
| 253 | <seglistitem>
|
---|
[d083dd01] | 254 | <seg>fluxbox, fbsetbg, fbsetroot, fluxbox-generate_menu, startfluxbox,
|
---|
[80a92f4] | 255 | fbrun, fluxbox-remote, and fluxbox-update_configs</seg>
|
---|
[f0d4ce27] | 256 | <seg>None</seg>
|
---|
| 257 | <seg>/usr/share/fluxbox and ~/.fluxbox</seg>
|
---|
| 258 | </seglistitem>
|
---|
| 259 | </segmentedlist>
|
---|
| 260 |
|
---|
| 261 | <variablelist>
|
---|
| 262 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 263 | <?dbfo list-presentation="list"?>
|
---|
| 264 | <?dbhtml list-presentation="table"?>
|
---|
| 265 |
|
---|
| 266 | <varlistentry id="fluxbox-prog">
|
---|
| 267 | <term><command>fluxbox</command></term>
|
---|
| 268 | <listitem>
|
---|
[97ee53d] | 269 | <para>
|
---|
| 270 | is a window manager for <application>X11</application> based
|
---|
[4c24eb0a] | 271 | on <application>Blackbox</application> 0.61.0
|
---|
[97ee53d] | 272 | </para>
|
---|
[f0d4ce27] | 273 | <indexterm zone="fluxbox fluxbox-prog">
|
---|
| 274 | <primary sortas="b-fluxbox">fluxbox</primary>
|
---|
| 275 | </indexterm>
|
---|
| 276 | </listitem>
|
---|
| 277 | </varlistentry>
|
---|
| 278 |
|
---|
| 279 | <varlistentry id="fbsetbg">
|
---|
| 280 | <term><command>fbsetbg</command></term>
|
---|
| 281 | <listitem>
|
---|
[97ee53d] | 282 | <para>
|
---|
| 283 | is a utility that sets the background image. It requires one
|
---|
| 284 | of the following at runtime:
|
---|
| 285 | <command>Esetroot</command>, <command>wmsetbg</command>,
|
---|
| 286 | <xref linkend="feh-prog"/>, <command>hsetroot</command>,
|
---|
| 287 | <command>chbg</command>, <xref linkend="display"/>,
|
---|
| 288 | <command>qiv</command>, <command>xv</command>,
|
---|
| 289 | <command>xsri</command>, <command>xli</command>, or
|
---|
[4c24eb0a] | 290 | <command>xsetbg</command>. It also requires
|
---|
| 291 | <xref linkend="which-prog"/> if <command>Esetroot</command> is
|
---|
| 292 | found
|
---|
[97ee53d] | 293 | </para>
|
---|
[f0d4ce27] | 294 | <indexterm zone="fluxbox fbsetbg">
|
---|
| 295 | <primary sortas="b-fbsetbg">fbsetbg</primary>
|
---|
| 296 | </indexterm>
|
---|
| 297 | </listitem>
|
---|
| 298 | </varlistentry>
|
---|
| 299 |
|
---|
[d083dd01] | 300 | <varlistentry id="fbsetroot">
|
---|
| 301 | <term><command>fbsetroot</command></term>
|
---|
[f0d4ce27] | 302 | <listitem>
|
---|
[97ee53d] | 303 | <para>
|
---|
| 304 | is a utility to change root window appearance based on the
|
---|
[4c24eb0a] | 305 | <application>Blackbox</application> application bsetroot
|
---|
[97ee53d] | 306 | </para>
|
---|
[d083dd01] | 307 | <indexterm zone="fluxbox fbsetroot">
|
---|
| 308 | <primary sortas="b-fbsetroot">fbsetroot</primary>
|
---|
[f0d4ce27] | 309 | </indexterm>
|
---|
| 310 | </listitem>
|
---|
| 311 | </varlistentry>
|
---|
| 312 |
|
---|
[6d772cc] | 313 | <varlistentry id="fluxbox-generate_menu">
|
---|
[f0d4ce27] | 314 | <term><command>fluxbox-generate_menu</command></term>
|
---|
| 315 | <listitem>
|
---|
[97ee53d] | 316 | <para>
|
---|
| 317 | is a utility that generates a menu by scanning your
|
---|
[4c24eb0a] | 318 | <envar>PATH</envar>
|
---|
[97ee53d] | 319 | </para>
|
---|
[6d772cc] | 320 | <indexterm zone="fluxbox fluxbox-generate_menu">
|
---|
| 321 | <primary sortas="b-fluxbox-generate_menu">fluxbox-generate_menu</primary>
|
---|
[f0d4ce27] | 322 | </indexterm>
|
---|
| 323 | </listitem>
|
---|
| 324 | </varlistentry>
|
---|
| 325 |
|
---|
| 326 | <varlistentry id="startfluxbox">
|
---|
| 327 | <term><command>startfluxbox</command></term>
|
---|
| 328 | <listitem>
|
---|
[97ee53d] | 329 | <para>
|
---|
| 330 | is a session startup script that allows for command
|
---|
[4c24eb0a] | 331 | executions prior to <command>fluxbox</command> starting
|
---|
[97ee53d] | 332 | </para>
|
---|
[f0d4ce27] | 333 | <indexterm zone="fluxbox startfluxbox">
|
---|
| 334 | <primary sortas="b-startfluxbox">startfluxbox</primary>
|
---|
| 335 | </indexterm>
|
---|
| 336 | </listitem>
|
---|
| 337 | </varlistentry>
|
---|
| 338 |
|
---|
| 339 | <varlistentry id="fbrun">
|
---|
| 340 | <term><command>fbrun</command></term>
|
---|
| 341 | <listitem>
|
---|
[97ee53d] | 342 | <para>
|
---|
[4c24eb0a] | 343 | displays a run dialog window
|
---|
[97ee53d] | 344 | </para>
|
---|
[f0d4ce27] | 345 | <indexterm zone="fluxbox fbrun">
|
---|
| 346 | <primary sortas="b-fbrun">fbrun</primary>
|
---|
| 347 | </indexterm>
|
---|
| 348 | </listitem>
|
---|
| 349 | </varlistentry>
|
---|
| 350 |
|
---|
[80a92f4] | 351 | <varlistentry id="fluxbox-remote">
|
---|
| 352 | <term><command>fluxbox-remote</command></term>
|
---|
| 353 | <listitem>
|
---|
[97ee53d] | 354 | <para>
|
---|
| 355 | provides command line access to key commands for
|
---|
[4c24eb0a] | 356 | <application>Fluxbox</application>
|
---|
[97ee53d] | 357 | </para>
|
---|
[80a92f4] | 358 | <indexterm zone="fluxbox fluxbox-remote">
|
---|
| 359 | <primary sortas="b-fluxbox-remote">fluxbox-remote</primary>
|
---|
| 360 | </indexterm>
|
---|
| 361 | </listitem>
|
---|
| 362 | </varlistentry>
|
---|
| 363 |
|
---|
[6d772cc] | 364 | <varlistentry id="fluxbox-update_configs">
|
---|
| 365 | <term><command>fluxbox-update_configs</command></term>
|
---|
| 366 | <listitem>
|
---|
| 367 | <para>
|
---|
[4c24eb0a] | 368 | use to manage config files (reload, update, test)
|
---|
[6d772cc] | 369 | </para>
|
---|
| 370 | <indexterm zone="fluxbox fluxbox-update_configs">
|
---|
| 371 | <primary sortas="b-fluxbox-update_configs">fluxbox-update_configs</primary>
|
---|
| 372 | </indexterm>
|
---|
| 373 | </listitem>
|
---|
| 374 | </varlistentry>
|
---|
| 375 |
|
---|
[f0d4ce27] | 376 | </variablelist>
|
---|
| 377 |
|
---|
| 378 | </sect2>
|
---|
[f45b1953] | 379 |
|
---|
| 380 | </sect1>
|
---|