1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY fluxbox-download-http "&sourceforge-dl;/fluxbox/fluxbox-&fluxbox-version;.tar.xz">
|
---|
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 " ">
|
---|
13 | <!ENTITY fluxbox-md5sum "b44afd10ee1e64624c23115aa51dcd55">
|
---|
14 | <!ENTITY fluxbox-size "772 KB">
|
---|
15 | <!ENTITY fluxbox-buildsize "101 MB">
|
---|
16 | <!ENTITY fluxbox-time "0.9 SBU">
|
---|
17 | ]>
|
---|
18 |
|
---|
19 | <sect1 id="fluxbox" xreflabel="Fluxbox-&fluxbox-version;">
|
---|
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 |
|
---|
32 | <para>
|
---|
33 | The <application>Fluxbox</application> package contains a window
|
---|
34 | manager.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs120_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&fluxbox-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&fluxbox-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &fluxbox-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &fluxbox-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &fluxbox-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &fluxbox-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">Fluxbox Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
76 | <para role="required">
|
---|
77 | <xref linkend="x-window-system"/>
|
---|
78 | </para>
|
---|
79 |
|
---|
80 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
81 | <para role="optional">
|
---|
82 | <xref role="runtime" linkend="dbus"/> (runtime),
|
---|
83 | <xref linkend="fribidi"/>, and
|
---|
84 | <xref linkend="imlib2"/> (if you wish to use other image formats in
|
---|
85 | addition to XPM)
|
---|
86 | </para>
|
---|
87 |
|
---|
88 | </sect2>
|
---|
89 |
|
---|
90 | <sect2 role="installation">
|
---|
91 | <title>Installation of Fluxbox</title>
|
---|
92 |
|
---|
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 |
|
---|
99 | <para>
|
---|
100 | Install <application>Fluxbox</application> by running the following
|
---|
101 | commands:
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | <screen><userinput>./configure --prefix=/usr &&
|
---|
105 | make</userinput></screen>
|
---|
106 |
|
---|
107 | <para>
|
---|
108 | This package does not have a working test suite.
|
---|
109 | </para>
|
---|
110 |
|
---|
111 | <para>
|
---|
112 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
113 | </para>
|
---|
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 |
|
---|
125 | <para>
|
---|
126 | <filename>~/.fluxbox/init</filename>,
|
---|
127 | <filename>~/.fluxbox/keys</filename>, and
|
---|
128 | <filename>~/.fluxbox/menu</filename>
|
---|
129 | </para>
|
---|
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 |
|
---|
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>
|
---|
154 |
|
---|
155 | <indexterm zone="fluxbox fluxbox-config">
|
---|
156 | <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
|
---|
157 | </indexterm>
|
---|
158 |
|
---|
159 | <screen><userinput>echo startfluxbox > ~/.xinitrc</userinput></screen>
|
---|
160 |
|
---|
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>
|
---|
168 |
|
---|
169 | <screen role="root"><userinput>mkdir -pv /usr/share/xsessions &&
|
---|
170 | cat > /usr/share/xsessions/fluxbox.desktop << "EOF"
|
---|
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>
|
---|
177 | EOF</userinput></screen>
|
---|
178 |
|
---|
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>
|
---|
184 |
|
---|
185 | <para>
|
---|
186 | Now create the <application>Fluxbox</application> configuration files:
|
---|
187 | </para>
|
---|
188 |
|
---|
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>
|
---|
192 |
|
---|
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>
|
---|
198 |
|
---|
199 | <screen role="nodump"><userinput>cd ~/.fluxbox &&
|
---|
200 | fluxbox-generate_menu <replaceable><user_options></replaceable></userinput></screen>
|
---|
201 |
|
---|
202 | <para>
|
---|
203 | Alternately, copy a pregenerated menu:
|
---|
204 | </para>
|
---|
205 |
|
---|
206 | <screen><userinput>cp -v /usr/share/fluxbox/menu ~/.fluxbox/menu</userinput></screen>
|
---|
207 |
|
---|
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 |
|
---|
225 | <screen role="nodump"><userinput>cp -r /usr/share/fluxbox/styles/<theme> ~/.fluxbox/theme &&
|
---|
226 |
|
---|
227 | sed -i 's,\(session.styleFile:\).*,\1 ~/.fluxbox/theme,' ~/.fluxbox/init &&
|
---|
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>
|
---|
233 |
|
---|
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>
|
---|
240 |
|
---|
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>
|
---|
251 | <segtitle>Installed Directories</segtitle>
|
---|
252 |
|
---|
253 | <seglistitem>
|
---|
254 | <seg>fluxbox, fbsetbg, fbsetroot, fluxbox-generate_menu, startfluxbox,
|
---|
255 | fbrun, fluxbox-remote, and fluxbox-update_configs</seg>
|
---|
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>
|
---|
269 | <para>
|
---|
270 | is a window manager for <application>X11</application> based
|
---|
271 | on <application>Blackbox</application> 0.61.0
|
---|
272 | </para>
|
---|
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>
|
---|
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
|
---|
290 | <command>xsetbg</command>. It also requires
|
---|
291 | <xref linkend="which-prog"/> if <command>Esetroot</command> is
|
---|
292 | found
|
---|
293 | </para>
|
---|
294 | <indexterm zone="fluxbox fbsetbg">
|
---|
295 | <primary sortas="b-fbsetbg">fbsetbg</primary>
|
---|
296 | </indexterm>
|
---|
297 | </listitem>
|
---|
298 | </varlistentry>
|
---|
299 |
|
---|
300 | <varlistentry id="fbsetroot">
|
---|
301 | <term><command>fbsetroot</command></term>
|
---|
302 | <listitem>
|
---|
303 | <para>
|
---|
304 | is a utility to change root window appearance based on the
|
---|
305 | <application>Blackbox</application> application bsetroot
|
---|
306 | </para>
|
---|
307 | <indexterm zone="fluxbox fbsetroot">
|
---|
308 | <primary sortas="b-fbsetroot">fbsetroot</primary>
|
---|
309 | </indexterm>
|
---|
310 | </listitem>
|
---|
311 | </varlistentry>
|
---|
312 |
|
---|
313 | <varlistentry id="fluxbox-generate_menu">
|
---|
314 | <term><command>fluxbox-generate_menu</command></term>
|
---|
315 | <listitem>
|
---|
316 | <para>
|
---|
317 | is a utility that generates a menu by scanning your
|
---|
318 | <envar>PATH</envar>
|
---|
319 | </para>
|
---|
320 | <indexterm zone="fluxbox fluxbox-generate_menu">
|
---|
321 | <primary sortas="b-fluxbox-generate_menu">fluxbox-generate_menu</primary>
|
---|
322 | </indexterm>
|
---|
323 | </listitem>
|
---|
324 | </varlistentry>
|
---|
325 |
|
---|
326 | <varlistentry id="startfluxbox">
|
---|
327 | <term><command>startfluxbox</command></term>
|
---|
328 | <listitem>
|
---|
329 | <para>
|
---|
330 | is a session startup script that allows for command
|
---|
331 | executions prior to <command>fluxbox</command> starting
|
---|
332 | </para>
|
---|
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>
|
---|
342 | <para>
|
---|
343 | displays a run dialog window
|
---|
344 | </para>
|
---|
345 | <indexterm zone="fluxbox fbrun">
|
---|
346 | <primary sortas="b-fbrun">fbrun</primary>
|
---|
347 | </indexterm>
|
---|
348 | </listitem>
|
---|
349 | </varlistentry>
|
---|
350 |
|
---|
351 | <varlistentry id="fluxbox-remote">
|
---|
352 | <term><command>fluxbox-remote</command></term>
|
---|
353 | <listitem>
|
---|
354 | <para>
|
---|
355 | provides command line access to key commands for
|
---|
356 | <application>Fluxbox</application>
|
---|
357 | </para>
|
---|
358 | <indexterm zone="fluxbox fluxbox-remote">
|
---|
359 | <primary sortas="b-fluxbox-remote">fluxbox-remote</primary>
|
---|
360 | </indexterm>
|
---|
361 | </listitem>
|
---|
362 | </varlistentry>
|
---|
363 |
|
---|
364 | <varlistentry id="fluxbox-update_configs">
|
---|
365 | <term><command>fluxbox-update_configs</command></term>
|
---|
366 | <listitem>
|
---|
367 | <para>
|
---|
368 | use to manage config files (reload, update, test)
|
---|
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 |
|
---|
376 | </variablelist>
|
---|
377 |
|
---|
378 | </sect2>
|
---|
379 |
|
---|
380 | </sect1>
|
---|