source: x/wm/fluxbox.xml@ 89d0029

10.0 10.1 11.0 11.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 89d0029 was 89d0029, checked in by Ken Moffat <ken@…>, 4 years ago

tags

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

  • Property mode set to 100644
File size: 11.7 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-dl;/fluxbox/fluxbox-&fluxbox-version;.tar.xz">
8 <!ENTITY fluxbox-download-ftp
9 "&jaist-ftp-repo;/f/fl/fluxbox/fluxbox/&fluxbox-version;/fluxbox-&fluxbox-version;.tar.xz">
10 <!ENTITY fluxbox-md5sum "b44afd10ee1e64624c23115aa51dcd55">
11 <!ENTITY fluxbox-size "772 KB">
12 <!ENTITY fluxbox-buildsize "101 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 &lfs83_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 role="runtime" linkend="dbus"/> (runtime),
68 <xref linkend="fribidi"/>, and
69 <xref linkend="imlib2"/> (if you wish to use other image formats in addition to XPM)
70 </para>
71
72 <para condition="html" role="usernotes">User Notes:
73 <ulink url="&blfs-wiki;/fluxbox"/></para>
74
75 </sect2>
76
77 <sect2 role="installation">
78 <title>Installation of Fluxbox</title>
79
80 <para>Install <application>Fluxbox</application> by running the following
81 commands:</para>
82
83<screen><userinput>./configure --prefix=/usr &amp;&amp;
84make</userinput></screen>
85
86 <para>This package does not have a working testsuite.</para>
87
88 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
89
90<screen role="root"><userinput>make install</userinput></screen>
91
92 </sect2>
93
94 <sect2 role="configuration">
95 <title>Configuring Fluxbox</title>
96
97 <sect3 id="fluxbox-config">
98 <title>Config Files</title>
99
100 <para><filename>~/.fluxbox/init</filename>,
101 <filename>~/.fluxbox/keys</filename>, and
102 <filename>~/.fluxbox/menu</filename></para>
103
104 <indexterm zone="fluxbox fluxbox-config">
105 <primary sortas="e-AA.fluxbox-init">~/.fluxbox/init</primary>
106 </indexterm>
107
108 <indexterm zone="fluxbox fluxbox-config">
109 <primary sortas="e-AA.fluxbox-keys">~/.fluxbox/keys</primary>
110 </indexterm>
111
112 <indexterm zone="fluxbox fluxbox-config">
113 <primary sortas="e-AA.fluxbox-menu">~/.fluxbox/menu</primary>
114 </indexterm>
115
116 </sect3>
117
118 <sect3>
119 <title>Configuration Information</title>
120
121 <para>If <application>Fluxbox</application> is the only Window Manager
122 you want to use, you can start it with an <filename>.xinitrc</filename>
123 file in your home folder. Be sure to backup your
124 current <filename>.xinitrc</filename> before proceeding.</para>
125
126 <indexterm zone="fluxbox fluxbox-config">
127 <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
128 </indexterm>
129
130<screen><userinput>echo startfluxbox &gt; ~/.xinitrc</userinput></screen>
131
132 <para>Or alternatively, if you use a login manager like
133 <application>GDM</application> or <application>KDM</application> and would
134 like to be able to choose <application>Fluxbox</application> at the login
135 prompt, create a <filename>fluxbox.desktop</filename> file like this.</para>
136
137 <para>As <systemitem class="username">root</systemitem>:</para>
138
139<screen role="root"><userinput>mkdir -pv /usr/share/xsessions &amp;&amp;
140cat &gt; /usr/share/xsessions/fluxbox.desktop &lt;&lt; "EOF"
141<literal>[Desktop Entry]
142Encoding=UTF-8
143Name=Fluxbox
144Comment=This session logs you into Fluxbox
145Exec=startfluxbox
146Type=Application</literal>
147EOF</userinput></screen>
148
149 <para>If you didn't install <application>GDM</application> 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 &amp;&amp;
157cp -v /usr/share/fluxbox/init ~/.fluxbox/init &amp;&amp;
158cp -v /usr/share/fluxbox/keys ~/.fluxbox/keys</userinput></screen>
159
160 <para>To generate the application menu, first you may wish to run
161 <command>fluxbox-generate_menu -h</command>, in order to choose any
162 <replaceable>&lt;user_options&gt;</replaceable>, then issue:</para>
163
164<screen><userinput>cd ~/.fluxbox &amp;&amp;
165fluxbox-generate_menu <replaceable>&lt;user_options&gt;</replaceable></userinput></screen>
166
167 <para>Alternately, copy a pregenerated menu:</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
177 command, change <replaceable>&lt;theme&gt;</replaceable> for the name of
178 the theme you want and change
179 <replaceable>&lt;/path/to/nice/image.ext&gt;</replaceable> to point to
180 the actual image you want to use, where <replaceable>ext</replaceable>
181 must be <quote>xpm</quote>, if <xref linkend="imlib2"/> is not installed
182 to allow other image formats.</para>
183
184<screen><userinput>cp /usr/share/fluxbox/styles/&lt;theme&gt; ~/.fluxbox/theme &amp;&amp;
185
186sed -i 's,\(session.styleFile:\).*,\1 ~/.fluxbox/theme,' ~/.fluxbox/init &amp;&amp;
187
188[ -f ~/.fluxbox/theme ] &amp;&amp;
189echo "background.pixmap: &lt;/path/to/nice/image.ext&gt;" >> ~/.fluxbox/theme ||
190[ -d ~/.fluxbox/theme ] &amp;&amp;
191echo "background.pixmap: &lt;/path/to/nice/image.ext&gt;" >> ~/.fluxbox/theme/theme.cfg</userinput></screen>
192
193 <para>In some locales the font specified in the theme may not contain the
194 needed characters. This results in menus with blank items. You can fix
195 this by editing <filename>~/.fluxbox/theme</filename> with a text editor
196 and altering it so that it names a suitable font.</para>
197
198 </sect3>
199
200 </sect2>
201
202 <sect2 role="content">
203 <title>Contents</title>
204
205 <segmentedlist>
206 <segtitle>Installed Programs</segtitle>
207 <segtitle>Installed Libraries</segtitle>
208 <segtitle>Installed Directories</segtitle>
209
210 <seglistitem>
211 <seg>fluxbox, fbsetbg, fbsetroot, fluxbox-generate_menu, startfluxbox,
212 fbrun, fluxbox-remote, and fluxbox-update_configs</seg>
213 <seg>None</seg>
214 <seg>/usr/share/fluxbox and ~/.fluxbox</seg>
215 </seglistitem>
216 </segmentedlist>
217
218 <variablelist>
219 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
220 <?dbfo list-presentation="list"?>
221 <?dbhtml list-presentation="table"?>
222
223 <varlistentry id="fluxbox-prog">
224 <term><command>fluxbox</command></term>
225 <listitem>
226 <para>is a window manager for <application>X11</application> based
227 on <application>Blackbox</application> 0.61.0.</para>
228 <indexterm zone="fluxbox fluxbox-prog">
229 <primary sortas="b-fluxbox">fluxbox</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 <varlistentry id="fbsetbg">
235 <term><command>fbsetbg</command></term>
236 <listitem>
237 <para>is a utility that sets the background image. It requires one
238 of the following at runtime:
239 <command>Esetroot</command>, <command>wmsetbg</command>,
240 <xref linkend="feh-prog"/>, <command>hsetroot</command>,
241 <command>chbg</command>, <xref linkend="display"/>,
242 <command>qiv</command>, <command>xv</command>,
243 <command>xsri</command>, <command>xli</command>, or <command>xsetbg</command>.
244 It also requires <xref linkend="which-prog"/> if <command>Esetroot</command> is
245 found.</para>
246 <indexterm zone="fluxbox fbsetbg">
247 <primary sortas="b-fbsetbg">fbsetbg</primary>
248 </indexterm>
249 </listitem>
250 </varlistentry>
251
252 <varlistentry id="fbsetroot">
253 <term><command>fbsetroot</command></term>
254 <listitem>
255 <para>is a utility to change root window appearance based on the
256 <application>Blackbox</application> application bsetroot.</para>
257 <indexterm zone="fluxbox fbsetroot">
258 <primary sortas="b-fbsetroot">fbsetroot</primary>
259 </indexterm>
260 </listitem>
261 </varlistentry>
262
263 <varlistentry id="fluxbox-generate_menu">
264 <term><command>fluxbox-generate_menu</command></term>
265 <listitem>
266 <para>is a utility that generates a menu by scanning your
267 <envar>PATH</envar>.</para>
268 <indexterm zone="fluxbox fluxbox-generate_menu">
269 <primary sortas="b-fluxbox-generate_menu">fluxbox-generate_menu</primary>
270 </indexterm>
271 </listitem>
272 </varlistentry>
273
274 <varlistentry id="startfluxbox">
275 <term><command>startfluxbox</command></term>
276 <listitem>
277 <para>is a session startup script that allows for command
278 executions prior to <command>fluxbox</command> starting.</para>
279 <indexterm zone="fluxbox startfluxbox">
280 <primary sortas="b-startfluxbox">startfluxbox</primary>
281 </indexterm>
282 </listitem>
283 </varlistentry>
284
285 <varlistentry id="fbrun">
286 <term><command>fbrun</command></term>
287 <listitem>
288 <para>displays a run dialog window.</para>
289 <indexterm zone="fluxbox fbrun">
290 <primary sortas="b-fbrun">fbrun</primary>
291 </indexterm>
292 </listitem>
293 </varlistentry>
294
295 <varlistentry id="fluxbox-remote">
296 <term><command>fluxbox-remote</command></term>
297 <listitem>
298 <para>provides command line access to key commands for
299 <application>Fluxbox</application>.</para>
300 <indexterm zone="fluxbox fluxbox-remote">
301 <primary sortas="b-fluxbox-remote">fluxbox-remote</primary>
302 </indexterm>
303 </listitem>
304 </varlistentry>
305
306 <varlistentry id="fluxbox-update_configs">
307 <term><command>fluxbox-update_configs</command></term>
308 <listitem>
309 <para>
310 use to manage config files (reload, update, test).
311 </para>
312 <indexterm zone="fluxbox fluxbox-update_configs">
313 <primary sortas="b-fluxbox-update_configs">fluxbox-update_configs</primary>
314 </indexterm>
315 </listitem>
316 </varlistentry>
317
318 </variablelist>
319
320 </sect2>
321
322</sect1>
Note: See TracBrowser for help on using the repository browser.