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