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