1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
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">
|
---|
8 | <!ENTITY fluxbox-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/fluxbox-&fluxbox-version;.tar.bz2">
|
---|
9 | <!ENTITY fluxbox-md5sum "7641aaea532841e103e9705bb5b98f62">
|
---|
10 | <!ENTITY fluxbox-size "657 KB">
|
---|
11 | <!ENTITY fluxbox-buildsize "44.5 MB">
|
---|
12 | <!ENTITY fluxbox-time "0.8 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="fluxbox" xreflabel="Fluxbox-&fluxbox-version;">
|
---|
16 | <?dbhtml filename="fluxbox.html" ?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | <keywordset>
|
---|
22 | <keyword role="package">fluxbox-&fluxbox-version;.tar</keyword>
|
---|
23 | <keyword role="ftpdir">fluxbox</keyword>
|
---|
24 | </keywordset>
|
---|
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>
|
---|
64 | <para role="required">X (<xref linkend="xfree86"/>,
|
---|
65 | <xref linkend="xorg"/>, or <xref linkend="xorg7"/>)</para>
|
---|
66 |
|
---|
67 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
68 | <para role="optional"><xref linkend="imlib2"/> Image display library</para>
|
---|
69 |
|
---|
70 | </sect2>
|
---|
71 |
|
---|
72 | <sect2 role="installation">
|
---|
73 | <title>Installation of Fluxbox</title>
|
---|
74 |
|
---|
75 | <para>Install <application>Fluxbox</application> by running the following
|
---|
76 | commands:</para>
|
---|
77 |
|
---|
78 | <screen><userinput>./configure --prefix=/usr &&
|
---|
79 | make</userinput></screen>
|
---|
80 |
|
---|
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 |
|
---|
87 | <sect2 role="commands">
|
---|
88 | <title>Command Explanations</title>
|
---|
89 |
|
---|
90 | <para><option>--enable-imlib2</option>:
|
---|
91 | Use this option if you wish image formats additional to xpm.</para>
|
---|
92 |
|
---|
93 | </sect2>
|
---|
94 |
|
---|
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 |
|
---|
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>
|
---|
124 | file in your home folder. Be sure to backup your
|
---|
125 | current <filename>.xinitrc</filename> before proceeding.</para>
|
---|
126 |
|
---|
127 | <indexterm zone="fluxbox fluxbox-config">
|
---|
128 | <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
|
---|
129 | </indexterm>
|
---|
130 |
|
---|
131 | <screen><userinput>echo startfluxbox > ~/.xinitrc</userinput></screen>
|
---|
132 |
|
---|
133 | <para>Or alternatively, if you use a login manager like
|
---|
134 | <xref linkend="gdm"/> or <application>kdm</application> and would
|
---|
135 | like to be able to choose <application>Fluxbox</application> at the login
|
---|
136 | prompt, create a <filename>fluxbox.desktop</filename> file like this.</para>
|
---|
137 |
|
---|
138 | <para>As <systemitem class="username">root</systemitem>:</para>
|
---|
139 |
|
---|
140 | <screen><userinput>cat > /usr/share/xsessions/fluxbox.desktop << "EOF"
|
---|
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>
|
---|
147 | EOF</userinput></screen>
|
---|
148 |
|
---|
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>
|
---|
152 |
|
---|
153 | <para>Now create the <application>Fluxbox</application> configuration
|
---|
154 | files:</para>
|
---|
155 |
|
---|
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>
|
---|
159 |
|
---|
160 | <para>Now if you have <xref linkend="which"/> installed:</para>
|
---|
161 |
|
---|
162 | <screen><userinput>cd ~/.fluxbox &&
|
---|
163 | fluxbox-generate_menu</userinput></screen>
|
---|
164 |
|
---|
165 | <para>otherwise:</para>
|
---|
166 |
|
---|
167 | <screen><userinput>cp -v /usr/share/fluxbox/menu ~/.fluxbox/menu</userinput></screen>
|
---|
168 |
|
---|
169 | <para>Menu items are added by editing <filename>~/.fluxbox/menu</filename>.
|
---|
170 | The syntax is explained on the <command>fluxbox</command> man page.</para>
|
---|
171 |
|
---|
172 | <para>The themes installed in <filename
|
---|
173 | class='directory'>/usr/share/fluxbox/styles</filename> have not been
|
---|
174 | fixed to call <command>fbsetroot</command>, they still call it by its old
|
---|
175 | name, bsetroot. If you want to change the desktop color with the theme,
|
---|
176 | then fix the styles (as <systemitem class="username">root</systemitem>)
|
---|
177 | with these commands:</para>
|
---|
178 |
|
---|
179 | <screen><userinput>sed -i 's@ bsetroot@ fbsetroot@' \
|
---|
180 | $(grep -lr bsetroot /usr/share/fluxbox/styles)</userinput></screen>
|
---|
181 |
|
---|
182 | <para>However, if you set the desktop color with the themes, it creates a
|
---|
183 | problem when setting a background image. Fluxbox loads the themes after
|
---|
184 | the commands in <filename>~/.fluxbox/startup</filename> have been run,
|
---|
185 | which wipes out the pretty picture it's just set on your desktop! The
|
---|
186 | solution is to comment out the <command>fbsetroot</command> command in
|
---|
187 | the themes (again, as <systemitem
|
---|
188 | class="username">root</systemitem>):</para>
|
---|
189 |
|
---|
190 | <screen><userinput>sed -i 's@^ro@! &@' \
|
---|
191 | $(grep -lr bsetroot /usr/share/fluxbox/styles)</userinput></screen>
|
---|
192 |
|
---|
193 | <para>You can still set any color you want as your desktop with an
|
---|
194 | <command>fbsetroot</command> command in
|
---|
195 | <filename>~/.fluxbox/startup</filename>.</para>
|
---|
196 |
|
---|
197 | <para>In some locales the font specified in the theme may not contain the
|
---|
198 | needed characters. This results in menus with blank items.
|
---|
199 | <systemitem class="username">Root</systemitem> can fix this by opening the
|
---|
200 | relevant file in <filename class='directory'>/usr/share/fluxbox/styles</filename>
|
---|
201 | with a text editor and altering it so that it names a font you like.</para>
|
---|
202 |
|
---|
203 | </sect3>
|
---|
204 |
|
---|
205 | </sect2>
|
---|
206 |
|
---|
207 | <sect2 role="content">
|
---|
208 | <title>Contents</title>
|
---|
209 |
|
---|
210 | <segmentedlist>
|
---|
211 | <segtitle>Installed Programs</segtitle>
|
---|
212 | <segtitle>Installed Libraries</segtitle>
|
---|
213 | <segtitle>Installed Directory</segtitle>
|
---|
214 |
|
---|
215 | <seglistitem>
|
---|
216 | <seg>fluxbox, fbsetbg, fbsetroot, fluxbox-generate_menu, startfluxbox,
|
---|
217 | and fbrun</seg>
|
---|
218 | <seg>None</seg>
|
---|
219 | <seg>/usr/share/fluxbox and ~/.fluxbox</seg>
|
---|
220 | </seglistitem>
|
---|
221 | </segmentedlist>
|
---|
222 |
|
---|
223 | <variablelist>
|
---|
224 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
225 | <?dbfo list-presentation="list"?>
|
---|
226 | <?dbhtml list-presentation="table"?>
|
---|
227 |
|
---|
228 | <varlistentry id="fluxbox-prog">
|
---|
229 | <term><command>fluxbox</command></term>
|
---|
230 | <listitem>
|
---|
231 | <para>is a window manager for <application>X11</application> based
|
---|
232 | on <application>Blackbox</application> 0.61.0.</para>
|
---|
233 | <indexterm zone="fluxbox fluxbox-prog">
|
---|
234 | <primary sortas="b-fluxbox">fluxbox</primary>
|
---|
235 | </indexterm>
|
---|
236 | </listitem>
|
---|
237 | </varlistentry>
|
---|
238 |
|
---|
239 | <varlistentry id="fbsetbg">
|
---|
240 | <term><command>fbsetbg</command></term>
|
---|
241 | <listitem>
|
---|
242 | <para>is a utility that sets the background image. It requires
|
---|
243 | <command>which</command> to find one of: <command>display</command>,
|
---|
244 | <command>Esetroot</command>, <command>wmsetbg</command>,
|
---|
245 | <command>xv</command>, <command>qiv</command> or <command>xsri</command>.
|
---|
246 | </para>
|
---|
247 | <indexterm zone="fluxbox fbsetbg">
|
---|
248 | <primary sortas="b-fbsetbg">fbsetbg</primary>
|
---|
249 | </indexterm>
|
---|
250 | </listitem>
|
---|
251 | </varlistentry>
|
---|
252 |
|
---|
253 | <varlistentry id="fbsetroot">
|
---|
254 | <term><command>fbsetroot</command></term>
|
---|
255 | <listitem>
|
---|
256 | <para>is a utility to change root window appearance based on the
|
---|
257 | <application>Blackbox</application> application bsetroot.</para>
|
---|
258 | <indexterm zone="fluxbox fbsetroot">
|
---|
259 | <primary sortas="b-fbsetroot">fbsetroot</primary>
|
---|
260 | </indexterm>
|
---|
261 | </listitem>
|
---|
262 | </varlistentry>
|
---|
263 |
|
---|
264 | <varlistentry id="fluxbox-generate">
|
---|
265 | <term><command>fluxbox-generate_menu</command></term>
|
---|
266 | <listitem>
|
---|
267 | <para>is a utility that generates a menu by scanning your
|
---|
268 | <envar>PATH</envar>. It requires <command>which</command> to function
|
---|
269 | properly.</para>
|
---|
270 | <indexterm zone="fluxbox fluxbox-generate">
|
---|
271 | <primary sortas="b-fluxbox-generate">fluxbox-generate_menu</primary>
|
---|
272 | </indexterm>
|
---|
273 | </listitem>
|
---|
274 | </varlistentry>
|
---|
275 |
|
---|
276 | <varlistentry id="startfluxbox">
|
---|
277 | <term><command>startfluxbox</command></term>
|
---|
278 | <listitem>
|
---|
279 | <para>is a session startup script that allows for command
|
---|
280 | executions prior to <command>fluxbox</command> starting.</para>
|
---|
281 | <indexterm zone="fluxbox startfluxbox">
|
---|
282 | <primary sortas="b-startfluxbox">startfluxbox</primary>
|
---|
283 | </indexterm>
|
---|
284 | </listitem>
|
---|
285 | </varlistentry>
|
---|
286 |
|
---|
287 | <varlistentry id="fbrun">
|
---|
288 | <term><command>fbrun</command></term>
|
---|
289 | <listitem>
|
---|
290 | <para>displays a run dialog window.</para>
|
---|
291 | <indexterm zone="fluxbox fbrun">
|
---|
292 | <primary sortas="b-fbrun">fbrun</primary>
|
---|
293 | </indexterm>
|
---|
294 | </listitem>
|
---|
295 | </varlistentry>
|
---|
296 |
|
---|
297 | </variablelist>
|
---|
298 |
|
---|
299 | </sect2>
|
---|
300 |
|
---|
301 | </sect1>
|
---|