source: x/wm/fluxbox.xml@ bb7f58e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since bb7f58e was 374ac5a, checked in by Chris Staub <chris@…>, 11 years ago

Fluxbox no longer needs which, mostly

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10868 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.">
9 <!ENTITY fluxbox-md5sum "f95b0bdb9ee41bfac124bd0fc601f248">
10 <!ENTITY fluxbox-size "776 KB">
11 <!ENTITY fluxbox-buildsize "135 MB">
12 <!ENTITY fluxbox-time "1.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 &lfs72_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>To generate the application menu:</para>
163
164<screen><userinput>cd ~/.fluxbox &amp;&amp;
165fluxbox-generate_menu</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 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,' ~/.fluxbox/init &amp;&amp;
183echo "background.pixmap: &lt;/path/to/nice/image.xpm&gt;" &gt;&gt; ~/.fluxbox/theme</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 Directories</segtitle>
201
202 <seglistitem>
203 <seg>fluxbox, fbsetbg, fbsetroot, fluxbox-generate_menu, startfluxbox,
204 fbrun, fluxbox-remote, and fluxbox-update_configs</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 one of:
230 <command>display</command>, <command>Esetroot</command>, <command>wmsetbg</command>,
231 <command>xv</command>, <command>qiv</command> or <command>xsri</command>.
232 It also requires <command>which</command> if <command>Esetroot</command> is
233 found.</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>.</para>
256 <indexterm zone="fluxbox fluxbox-generate">
257 <primary sortas="b-fluxbox-generate">fluxbox-generate_menu</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
262 <varlistentry id="startfluxbox">
263 <term><command>startfluxbox</command></term>
264 <listitem>
265 <para>is a session startup script that allows for command
266 executions prior to <command>fluxbox</command> starting.</para>
267 <indexterm zone="fluxbox startfluxbox">
268 <primary sortas="b-startfluxbox">startfluxbox</primary>
269 </indexterm>
270 </listitem>
271 </varlistentry>
272
273 <varlistentry id="fbrun">
274 <term><command>fbrun</command></term>
275 <listitem>
276 <para>displays a run dialog window.</para>
277 <indexterm zone="fluxbox fbrun">
278 <primary sortas="b-fbrun">fbrun</primary>
279 </indexterm>
280 </listitem>
281 </varlistentry>
282
283 <varlistentry id="fluxbox-remote">
284 <term><command>fluxbox-remote</command></term>
285 <listitem>
286 <para>provides command line access to key commands for
287 <application>Fluxbox</application>.</para>
288 <indexterm zone="fluxbox fluxbox-remote">
289 <primary sortas="b-fluxbox-remote">fluxbox-remote</primary>
290 </indexterm>
291 </listitem>
292 </varlistentry>
293
294 </variablelist>
295
296 </sect2>
297
298</sect1>
Note: See TracBrowser for help on using the repository browser.