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 "http://downloads.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 | </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>
|
---|
60 | <para role="required"><xref linkend="x-window-system"/></para>
|
---|
61 |
|
---|
62 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
63 | <para role="optional"><xref linkend="imlib2"/> Image display library</para>
|
---|
64 |
|
---|
65 | <para condition="html" role="usernotes">User Notes:
|
---|
66 | <ulink url="&blfs-wiki;/fluxbox"/></para>
|
---|
67 |
|
---|
68 | </sect2>
|
---|
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 |
|
---|
79 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
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 to use other image formats in addition 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>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,
|
---|
175 | change <replaceable><theme></replaceable> for the name of the theme you
|
---|
176 | want and change <replaceable></path/to/nice/image.xpm></replaceable> to
|
---|
177 | point to the actual image you want to use.</para>
|
---|
178 |
|
---|
179 | <screen><userinput>cp /usr/share/fluxbox/styles/<theme> ~/.fluxbox/theme &&
|
---|
180 | sed -i 's,\(session.styleFile:\).*,\1 ~/.fluxbox/theme,' \
|
---|
181 | ~/.fluxbox/init &&
|
---|
182 | echo "background.pixmap: </path/to/nice/image.xpm>" >> ~/.fluxbox/theme
|
---|
183 | </userinput></screen>
|
---|
184 |
|
---|
185 | <para>In some locales the font specified in the theme may not contain the
|
---|
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>
|
---|
189 |
|
---|
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>
|
---|
203 | <seg>fluxbox, fbsetbg, fbsetroot, fluxbox-generate_menu, startfluxbox,
|
---|
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>
|
---|
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>
|
---|
234 | <indexterm zone="fluxbox fbsetbg">
|
---|
235 | <primary sortas="b-fbsetbg">fbsetbg</primary>
|
---|
236 | </indexterm>
|
---|
237 | </listitem>
|
---|
238 | </varlistentry>
|
---|
239 |
|
---|
240 | <varlistentry id="fbsetroot">
|
---|
241 | <term><command>fbsetroot</command></term>
|
---|
242 | <listitem>
|
---|
243 | <para>is a utility to change root window appearance based on the
|
---|
244 | <application>Blackbox</application> application bsetroot.</para>
|
---|
245 | <indexterm zone="fluxbox fbsetroot">
|
---|
246 | <primary sortas="b-fbsetroot">fbsetroot</primary>
|
---|
247 | </indexterm>
|
---|
248 | </listitem>
|
---|
249 | </varlistentry>
|
---|
250 |
|
---|
251 | <varlistentry id="fluxbox-generate">
|
---|
252 | <term><command>fluxbox-generate_menu</command></term>
|
---|
253 | <listitem>
|
---|
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>
|
---|
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>
|
---|
287 |
|
---|
288 | </sect1>
|
---|