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 " ">
|
---|
9 | <!ENTITY fluxbox-md5sum "098eb36a09338aabb63b938a5eab9ef6">
|
---|
10 | <!ENTITY fluxbox-size "670 KB">
|
---|
11 | <!ENTITY fluxbox-buildsize "50.3 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"><xref linkend="x-window-system"/></para>
|
---|
65 |
|
---|
66 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
67 | <para role="optional"><xref linkend="imlib2"/> Image display library</para>
|
---|
68 |
|
---|
69 | <para condition="html" role="usernotes">User Notes:
|
---|
70 | <ulink url="&blfs-wiki;/fluxbox"/></para>
|
---|
71 |
|
---|
72 | </sect2>
|
---|
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 |
|
---|
83 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
84 |
|
---|
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 |
|
---|
91 | <sect2 role="commands">
|
---|
92 | <title>Command Explanations</title>
|
---|
93 |
|
---|
94 | <para><option>--enable-imlib2</option>:
|
---|
95 | Use this option if you wish to use other image formats in addition to xpm.</para>
|
---|
96 |
|
---|
97 | </sect2>
|
---|
98 |
|
---|
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 |
|
---|
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>
|
---|
128 | file in your home folder. Be sure to backup your
|
---|
129 | current <filename>.xinitrc</filename> before proceeding.</para>
|
---|
130 |
|
---|
131 | <indexterm zone="fluxbox fluxbox-config">
|
---|
132 | <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
|
---|
133 | </indexterm>
|
---|
134 |
|
---|
135 | <screen><userinput>echo startfluxbox > ~/.xinitrc</userinput></screen>
|
---|
136 |
|
---|
137 | <para>Or alternatively, if you use a login manager like
|
---|
138 | <xref linkend="gdm"/> or <application>kdm</application> and would
|
---|
139 | like to be able to choose <application>Fluxbox</application> at the login
|
---|
140 | prompt, create a <filename>fluxbox.desktop</filename> file like this.</para>
|
---|
141 |
|
---|
142 | <para>As <systemitem class="username">root</systemitem>:</para>
|
---|
143 |
|
---|
144 | <screen><userinput>cat > /usr/share/xsessions/fluxbox.desktop << "EOF"
|
---|
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>
|
---|
151 | EOF</userinput></screen>
|
---|
152 |
|
---|
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>
|
---|
156 |
|
---|
157 | <para>Now create the <application>Fluxbox</application> configuration
|
---|
158 | files:</para>
|
---|
159 |
|
---|
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>
|
---|
163 |
|
---|
164 | <para>Now if you have <xref linkend="which"/> installed:</para>
|
---|
165 |
|
---|
166 | <screen><userinput>cd ~/.fluxbox &&
|
---|
167 | fluxbox-generate_menu</userinput></screen>
|
---|
168 |
|
---|
169 | <para>otherwise:</para>
|
---|
170 |
|
---|
171 | <screen><userinput>cp -v /usr/share/fluxbox/menu ~/.fluxbox/menu</userinput></screen>
|
---|
172 |
|
---|
173 | <para>Menu items are added by editing <filename>~/.fluxbox/menu</filename>.
|
---|
174 | The syntax is explained on the <command>fluxbox</command> man page.</para>
|
---|
175 |
|
---|
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,
|
---|
179 | change <replaceable><theme></replaceable> for the name of the theme you
|
---|
180 | want and change <replaceable></path/to/nice/image.xpm></replaceable> to
|
---|
181 | point to the actual image you want to use.</para>
|
---|
182 |
|
---|
183 | <screen><userinput>cp /usr/share/fluxbox/styles/<theme> ~/.fluxbox/theme &&
|
---|
184 | sed -i 's,\(session.styleFile:\).*,\1 ~/.fluxbox/theme,' \
|
---|
185 | ~/.fluxbox/init &&
|
---|
186 | echo "background.pixmap: </path/to/nice/image.xpm>" >> ~/.fluxbox/theme
|
---|
187 | </userinput></screen>
|
---|
188 |
|
---|
189 | <para>In some locales the font specified in the theme may not contain the
|
---|
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>
|
---|
193 |
|
---|
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>
|
---|
207 | <seg>fluxbox, fbsetbg, fbsetroot, fluxbox-generate_menu, startfluxbox,
|
---|
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>
|
---|
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>
|
---|
238 | <indexterm zone="fluxbox fbsetbg">
|
---|
239 | <primary sortas="b-fbsetbg">fbsetbg</primary>
|
---|
240 | </indexterm>
|
---|
241 | </listitem>
|
---|
242 | </varlistentry>
|
---|
243 |
|
---|
244 | <varlistentry id="fbsetroot">
|
---|
245 | <term><command>fbsetroot</command></term>
|
---|
246 | <listitem>
|
---|
247 | <para>is a utility to change root window appearance based on the
|
---|
248 | <application>Blackbox</application> application bsetroot.</para>
|
---|
249 | <indexterm zone="fluxbox fbsetroot">
|
---|
250 | <primary sortas="b-fbsetroot">fbsetroot</primary>
|
---|
251 | </indexterm>
|
---|
252 | </listitem>
|
---|
253 | </varlistentry>
|
---|
254 |
|
---|
255 | <varlistentry id="fluxbox-generate">
|
---|
256 | <term><command>fluxbox-generate_menu</command></term>
|
---|
257 | <listitem>
|
---|
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>
|
---|
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>
|
---|
291 |
|
---|
292 | </sect1>
|
---|