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