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