source: x/wm/fluxbox.xml@ f27505a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 f27505a was f27505a, checked in by Andrew Benton <andy@…>, 18 years ago

Fixed some typos

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5400 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.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY fluxbox-download-http "http://prdownloads.sourceforge.net/fluxbox/fluxbox-&fluxbox-version;.tar.bz2">
8 <!ENTITY fluxbox-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/fluxbox-&fluxbox-version;.tar.bz2">
9 <!ENTITY fluxbox-md5sum "7641aaea532841e103e9705bb5b98f62">
10 <!ENTITY fluxbox-size "657 KB">
11 <!ENTITY fluxbox-buildsize "10 MB">
12 <!ENTITY fluxbox-time "0.8 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 <keywordset>
22 <keyword role="package">fluxbox-&fluxbox-version;.tar</keyword>
23 <keyword role="ftpdir">fluxbox</keyword>
24 </keywordset>
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 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&fluxbox-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&fluxbox-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &fluxbox-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &fluxbox-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &fluxbox-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &fluxbox-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <bridgehead renderas="sect3">Fluxbox Dependencies</bridgehead>
62
63 <bridgehead renderas="sect4">Required</bridgehead>
64 <para role="required">X (<xref linkend="xfree86"/> or
65 <xref linkend="xorg"/>)</para>
66
67 <bridgehead renderas="sect4">Recommended</bridgehead>
68 <para role="recommended"><xref linkend="which"/> (The fluxbox-generate_menu and
69 fbsetbg scripts use the command <command>which</command>)</para>
70
71 <bridgehead renderas="sect4">Optional</bridgehead>
72 <para role="optional"><xref linkend="imlib2"/> Image display library</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 &amp;&amp;
83make</userinput></screen>
84
85 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
86
87<screen role="root"><userinput>make install</userinput></screen>
88
89 </sect2>
90
91 <sect2 role="commands">
92 <title>Command Explanations</title>
93
94 <para><option>--enable-imlib2</option>:
95 Use this option if you wish image formats additional to xpm.</para>
96
97 </sect2>
98
99 <sect2 role="configuration">
100 <title>Configuring Fluxbox</title>
101
102 <sect3 id="fluxbox-config">
103 <title>Config Files</title>
104
105 <para><filename>~/.fluxbox/init</filename>,
106 <filename>~/.fluxbox/keys</filename>, and
107 <filename>~/.fluxbox/menu</filename></para>
108
109 <indexterm zone="fluxbox fluxbox-config">
110 <primary sortas="e-AA.fluxbox-init">~/.fluxbox/init</primary>
111 </indexterm>
112
113 <indexterm zone="fluxbox fluxbox-config">
114 <primary sortas="e-AA.fluxbox-keys">~/.fluxbox/keys</primary>
115 </indexterm>
116
117 <indexterm zone="fluxbox fluxbox-config">
118 <primary sortas="e-AA.fluxbox-menu">~/.fluxbox/menu</primary>
119 </indexterm>
120
121 </sect3>
122
123 <sect3>
124 <title>Configuration Information</title>
125
126 <para>If <application>Fluxbox</application> is the only Window Manager
127 you want to use, you can start it with an <filename>.xinitrc</filename>
128 file in your home folder. Be sure to backup your
129 current <filename>.xinitrc</filename> before proceeding.</para>
130
131 <indexterm zone="fluxbox fluxbox-config">
132 <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
133 </indexterm>
134
135<screen><userinput>echo startfluxbox &gt; ~/.xinitrc</userinput></screen>
136
137 <para>Or alternatively, if you use a login manager like
138 <xref linkend="gdm"/> or <application>kdm</application> and would
139 like to be able to choose <application>Fluxbox</application> at the login
140 prompt, create a <filename>fluxbox.desktop</filename> file like this.</para>
141
142 <para>As <systemitem class="username">root</systemitem>:</para>
143
144<screen><userinput>cat &gt; /usr/share/xsessions/fluxbox.desktop &lt;&lt; "EOF"
145<literal>[Desktop Entry]
146Encoding=UTF-8
147Name=Fluxbox
148Comment=This session logs you into Fluxbox
149Exec=startfluxbox
150Type=Application</literal>
151EOF</userinput></screen>
152
153 <para>If you didn't install <xref linkend="gdm"/> or
154 <application>kdm</application> 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>Now if you have <application>Which</application> installed:</para>
165
166<screen><userinput>cd ~/.fluxbox &amp;&amp;
167fluxbox-generate_menu</userinput></screen>
168
169 <para>Else, if you do not have <application>Which</application>
170 installed:</para>
171
172<screen><userinput>cp -v /usr/share/fluxbox/menu ~/.fluxbox/menu</userinput></screen>
173
174 <para>Menu items are added by editing <filename>~/.fluxbox/menu</filename>.
175 The syntax is explained on the <command>fluxbox</command> man page.</para>
176
177 <para>The themes installed in <filename class='directory'>/usr/share/fluxbox/styles
178 </filename> have not been fixed to call <command>fbsetroot</command>, they still
179 call it by its old name, bsetroot. If you want to change the desktop color with
180 the theme, then fix the styles (as <systemitem class="username">root</systemitem>)
181 with these commands:</para>
182
183<screen><userinput>sed -i 's@ bsetroot@ fbsetroot@' \
184 $(grep -lr bsetroot /usr/share/fluxbox/data/styles)</userinput></screen>
185
186 <para>However, if you set the desktop color with the themes, it creates a problem
187 for setting a background image. Fluxbox loads the themes after the commands in
188 <filename>~/.fluxbox/startup</filename> have been run, which wipes out the pretty
189 picture it's just set as your desktop...DOH! The solution is to comment out
190 the <command>fbsetroot</command> command in the themes like this (again, as
191 <systemitem class="username">root</systemitem>):</para>
192
193<screen><userinput>sed -i 's@^ro@! &amp;@' \
194 $(grep -lr bsetroot /usr/share/fluxbox/styles)</userinput></screen>
195
196 <para>You can still set any color you want as your desktop with an
197 <command>fbsetroot</command> command in <filename>~/.fluxbox/startup</filename>.
198 </para>
199
200 </sect3>
201
202 </sect2>
203
204 <sect2 role="content">
205 <title>Contents</title>
206
207 <segmentedlist>
208 <segtitle>Installed Programs</segtitle>
209 <segtitle>Installed Libraries</segtitle>
210 <segtitle>Installed Directory</segtitle>
211
212 <seglistitem>
213 <seg>fluxbox, fbsetbg, fbsetroot, fluxbox-generate_menu, startfluxbox,
214 and fbrun</seg>
215 <seg>None</seg>
216 <seg>/usr/share/fluxbox and ~/.fluxbox</seg>
217 </seglistitem>
218 </segmentedlist>
219
220 <variablelist>
221 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
222 <?dbfo list-presentation="list"?>
223 <?dbhtml list-presentation="table"?>
224
225 <varlistentry id="fluxbox-prog">
226 <term><command>fluxbox</command></term>
227 <listitem>
228 <para>is a window manager for <application>X11</application> based
229 on <application>Blackbox</application> 0.61.0.</para>
230 <indexterm zone="fluxbox fluxbox-prog">
231 <primary sortas="b-fluxbox">fluxbox</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235
236 <varlistentry id="fbsetbg">
237 <term><command>fbsetbg</command></term>
238 <listitem>
239 <para>is a utility that sets the background image. It needs
240 <command>display</command>, <command>Esetroot</command>,
241 <command>wmsetbg</command>, <command>xv</command>,
242 <command>qiv</command> or <command>xsri</command> to be used.</para>
243 <indexterm zone="fluxbox fbsetbg">
244 <primary sortas="b-fbsetbg">fbsetbg</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
249 <varlistentry id="fbsetroot">
250 <term><command>fbsetroot</command></term>
251 <listitem>
252 <para>is a utility to change root window appearance based on the
253 <application>Blackbox</application> application bsetroot.</para>
254 <indexterm zone="fluxbox fbsetroot">
255 <primary sortas="b-fbsetroot">fbsetroot</primary>
256 </indexterm>
257 </listitem>
258 </varlistentry>
259
260 <varlistentry id="fluxbox-generate">
261 <term><command>fluxbox-generate_menu</command></term>
262 <listitem>
263 <para>is a utility that generates a menu by scanning your
264 <envar>PATH</envar>. It requires <command>which</command> to function
265 properly.</para>
266 <indexterm zone="fluxbox fluxbox-generate">
267 <primary sortas="b-fluxbox-generate">fluxbox-generate_menu</primary>
268 </indexterm>
269 </listitem>
270 </varlistentry>
271
272 <varlistentry id="startfluxbox">
273 <term><command>startfluxbox</command></term>
274 <listitem>
275 <para>is a session startup script that allows for command
276 executions prior to <command>fluxbox</command> starting.</para>
277 <indexterm zone="fluxbox startfluxbox">
278 <primary sortas="b-startfluxbox">startfluxbox</primary>
279 </indexterm>
280 </listitem>
281 </varlistentry>
282
283 <varlistentry id="fbrun">
284 <term><command>fbrun</command></term>
285 <listitem>
286 <para>displays a run dialog window.</para>
287 <indexterm zone="fluxbox fbrun">
288 <primary sortas="b-fbrun">fbrun</primary>
289 </indexterm>
290 </listitem>
291 </varlistentry>
292
293 </variablelist>
294
295 </sect2>
296
297</sect1>
Note: See TracBrowser for help on using the repository browser.