source: x/wm/fluxbox.xml@ 535af54

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.0 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 535af54 was 535af54, checked in by Douglas R. Reno <renodr@…>, 5 years ago

Remove obsolete URL for Fluxbox

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

  • Property mode set to 100644
File size: 11.9 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 <!-- This was reported to no longer work. After testing, I can confirm.
11 Trying to use it results in a "No such directory" error. -->
12 <!ENTITY fluxbox-download-ftp " ">
13 <!ENTITY fluxbox-md5sum "b44afd10ee1e64624c23115aa51dcd55">
14 <!ENTITY fluxbox-size "772 KB">
15 <!ENTITY fluxbox-buildsize "101 MB">
16 <!ENTITY fluxbox-time "0.9 SBU">
17]>
18
19<sect1 id="fluxbox" xreflabel="Fluxbox-&fluxbox-version;">
20 <?dbhtml filename="fluxbox.html" ?>
21
22 <sect1info>
23 <othername>$LastChangedBy$</othername>
24 <date>$Date$</date>
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 &lfs84_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>Download (HTTP): <ulink url="&fluxbox-download-http;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download (FTP): <ulink url="&fluxbox-download-ftp;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download MD5 sum: &fluxbox-md5sum;</para>
51 </listitem>
52 <listitem>
53 <para>Download size: &fluxbox-size;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated disk space required: &fluxbox-buildsize;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated build time: &fluxbox-time;</para>
60 </listitem>
61 </itemizedlist>
62
63 <bridgehead renderas="sect3">Fluxbox Dependencies</bridgehead>
64
65 <bridgehead renderas="sect4">Required</bridgehead>
66 <para role="required"><xref linkend="x-window-system"/></para>
67
68 <bridgehead renderas="sect4">Optional</bridgehead>
69 <para role="optional">
70 <xref role="runtime" linkend="dbus"/> (runtime),
71 <xref linkend="fribidi"/>, and
72 <xref linkend="imlib2"/> (if you wish to use other image formats in addition to XPM)
73 </para>
74
75 <para condition="html" role="usernotes">User Notes:
76 <ulink url="&blfs-wiki;/fluxbox"/></para>
77
78 </sect2>
79
80 <sect2 role="installation">
81 <title>Installation of Fluxbox</title>
82
83 <para>Install <application>Fluxbox</application> by running the following
84 commands:</para>
85
86<screen><userinput>./configure --prefix=/usr &amp;&amp;
87make</userinput></screen>
88
89 <para>This package does not have a working testsuite.</para>
90
91 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
92
93<screen role="root"><userinput>make install</userinput></screen>
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 <application>GDM</application> or <application>LightDM</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 role="root"><userinput>mkdir -pv /usr/share/xsessions &amp;&amp;
143cat &gt; /usr/share/xsessions/fluxbox.desktop &lt;&lt; "EOF"
144<literal>[Desktop Entry]
145Encoding=UTF-8
146Name=Fluxbox
147Comment=This session logs you into Fluxbox
148Exec=startfluxbox
149Type=Application</literal>
150EOF</userinput></screen>
151
152 <para>If you didn't install <application>GDM</application>,
153 <application>SDDM</application>, or <application>LightDM</application>
154 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 &amp;&amp;
161cp -v /usr/share/fluxbox/init ~/.fluxbox/init &amp;&amp;
162cp -v /usr/share/fluxbox/keys ~/.fluxbox/keys</userinput></screen>
163
164 <para>To generate the application menu, first you may wish to run
165 <command>fluxbox-generate_menu -h</command>, in order to choose any
166 <replaceable>&lt;user_options&gt;</replaceable>, then issue:</para>
167
168<screen><userinput>cd ~/.fluxbox &amp;&amp;
169fluxbox-generate_menu <replaceable>&lt;user_options&gt;</replaceable></userinput></screen>
170
171 <para>Alternately, copy a pregenerated menu:</para>
172
173<screen><userinput>cp -v /usr/share/fluxbox/menu ~/.fluxbox/menu</userinput></screen>
174
175 <para>Menu items are added by editing <filename>~/.fluxbox/menu</filename>.
176 The syntax is explained on the <command>fluxbox</command> man page.</para>
177
178 <para>If you want to use an image as your desktop background, copy the
179 theme you like into <filename class='directory'>~/.fluxbox</filename>.
180 Then add a line to make it use the correct image. In the following
181 command, change <replaceable>&lt;theme&gt;</replaceable> for the name of
182 the theme you want and change
183 <replaceable>&lt;/path/to/nice/image.ext&gt;</replaceable> to point to
184 the actual image you want to use, where <replaceable>ext</replaceable>
185 must be <quote>xpm</quote>, if <xref linkend="imlib2"/> is not installed
186 to allow other image formats.</para>
187
188<screen><userinput>cp /usr/share/fluxbox/styles/&lt;theme&gt; ~/.fluxbox/theme &amp;&amp;
189
190sed -i 's,\(session.styleFile:\).*,\1 ~/.fluxbox/theme,' ~/.fluxbox/init &amp;&amp;
191
192[ -f ~/.fluxbox/theme ] &amp;&amp;
193echo "background.pixmap: &lt;/path/to/nice/image.ext&gt;" >> ~/.fluxbox/theme ||
194[ -d ~/.fluxbox/theme ] &amp;&amp;
195echo "background.pixmap: &lt;/path/to/nice/image.ext&gt;" >> ~/.fluxbox/theme/theme.cfg</userinput></screen>
196
197 <para>In some locales the font specified in the theme may not contain the
198 needed characters. This results in menus with blank items. You can fix
199 this by editing <filename>~/.fluxbox/theme</filename> with a text editor
200 and altering it so that it names a suitable font.</para>
201
202 </sect3>
203
204 </sect2>
205
206 <sect2 role="content">
207 <title>Contents</title>
208
209 <segmentedlist>
210 <segtitle>Installed Programs</segtitle>
211 <segtitle>Installed Libraries</segtitle>
212 <segtitle>Installed Directories</segtitle>
213
214 <seglistitem>
215 <seg>fluxbox, fbsetbg, fbsetroot, fluxbox-generate_menu, startfluxbox,
216 fbrun, fluxbox-remote, and fluxbox-update_configs</seg>
217 <seg>None</seg>
218 <seg>/usr/share/fluxbox and ~/.fluxbox</seg>
219 </seglistitem>
220 </segmentedlist>
221
222 <variablelist>
223 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
224 <?dbfo list-presentation="list"?>
225 <?dbhtml list-presentation="table"?>
226
227 <varlistentry id="fluxbox-prog">
228 <term><command>fluxbox</command></term>
229 <listitem>
230 <para>is a window manager for <application>X11</application> based
231 on <application>Blackbox</application> 0.61.0.</para>
232 <indexterm zone="fluxbox fluxbox-prog">
233 <primary sortas="b-fluxbox">fluxbox</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 <varlistentry id="fbsetbg">
239 <term><command>fbsetbg</command></term>
240 <listitem>
241 <para>is a utility that sets the background image. It requires one
242 of the following at runtime:
243 <command>Esetroot</command>, <command>wmsetbg</command>,
244 <xref linkend="feh-prog"/>, <command>hsetroot</command>,
245 <command>chbg</command>, <xref linkend="display"/>,
246 <command>qiv</command>, <command>xv</command>,
247 <command>xsri</command>, <command>xli</command>, or <command>xsetbg</command>.
248 It also requires <xref linkend="which-prog"/> if <command>Esetroot</command> is
249 found.</para>
250 <indexterm zone="fluxbox fbsetbg">
251 <primary sortas="b-fbsetbg">fbsetbg</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
255
256 <varlistentry id="fbsetroot">
257 <term><command>fbsetroot</command></term>
258 <listitem>
259 <para>is a utility to change root window appearance based on the
260 <application>Blackbox</application> application bsetroot.</para>
261 <indexterm zone="fluxbox fbsetroot">
262 <primary sortas="b-fbsetroot">fbsetroot</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="fluxbox-generate_menu">
268 <term><command>fluxbox-generate_menu</command></term>
269 <listitem>
270 <para>is a utility that generates a menu by scanning your
271 <envar>PATH</envar>.</para>
272 <indexterm zone="fluxbox fluxbox-generate_menu">
273 <primary sortas="b-fluxbox-generate_menu">fluxbox-generate_menu</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 <varlistentry id="startfluxbox">
279 <term><command>startfluxbox</command></term>
280 <listitem>
281 <para>is a session startup script that allows for command
282 executions prior to <command>fluxbox</command> starting.</para>
283 <indexterm zone="fluxbox startfluxbox">
284 <primary sortas="b-startfluxbox">startfluxbox</primary>
285 </indexterm>
286 </listitem>
287 </varlistentry>
288
289 <varlistentry id="fbrun">
290 <term><command>fbrun</command></term>
291 <listitem>
292 <para>displays a run dialog window.</para>
293 <indexterm zone="fluxbox fbrun">
294 <primary sortas="b-fbrun">fbrun</primary>
295 </indexterm>
296 </listitem>
297 </varlistentry>
298
299 <varlistentry id="fluxbox-remote">
300 <term><command>fluxbox-remote</command></term>
301 <listitem>
302 <para>provides command line access to key commands for
303 <application>Fluxbox</application>.</para>
304 <indexterm zone="fluxbox fluxbox-remote">
305 <primary sortas="b-fluxbox-remote">fluxbox-remote</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309
310 <varlistentry id="fluxbox-update_configs">
311 <term><command>fluxbox-update_configs</command></term>
312 <listitem>
313 <para>
314 use to manage config files (reload, update, test).
315 </para>
316 <indexterm zone="fluxbox fluxbox-update_configs">
317 <primary sortas="b-fluxbox-update_configs">fluxbox-update_configs</primary>
318 </indexterm>
319 </listitem>
320 </varlistentry>
321
322 </variablelist>
323
324 </sect2>
325
326</sect1>
Note: See TracBrowser for help on using the repository browser.