source: x/wm/fluxbox.xml@ de53c9be

10.0 10.1 11.0 11.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since de53c9be was a41f643, checked in by Randy McMurchy <randy@…>, 12 years ago

Globally removed all extraneous spaces

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8412 af4574ff-66df-0310-9fd7-8a98e5e911e0

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