source: x/wm/fluxbox.xml@ 371ff30

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 371ff30 was 371ff30, checked in by DJ Lucas <dj@…>, 18 years ago

several cleanups-Xorg7 related

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

  • Property mode set to 100644
File size: 10.7 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 "44.5 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"/>,
65 <xref linkend="xorg"/>, or <xref linkend="xorg7"/>)</para>
66
67 <bridgehead renderas="sect4">Optional</bridgehead>
68 <para role="optional"><xref linkend="imlib2"/> Image display library</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>Now, as the <systemitem class="username">root</systemitem> user:</para>
82
83<screen role="root"><userinput>make install</userinput></screen>
84
85 </sect2>
86
87 <sect2 role="commands">
88 <title>Command Explanations</title>
89
90 <para><option>--enable-imlib2</option>:
91 Use this option if you wish image formats additional to xpm.</para>
92
93 </sect2>
94
95 <sect2 role="configuration">
96 <title>Configuring Fluxbox</title>
97
98 <sect3 id="fluxbox-config">
99 <title>Config Files</title>
100
101 <para><filename>~/.fluxbox/init</filename>,
102 <filename>~/.fluxbox/keys</filename>, and
103 <filename>~/.fluxbox/menu</filename></para>
104
105 <indexterm zone="fluxbox fluxbox-config">
106 <primary sortas="e-AA.fluxbox-init">~/.fluxbox/init</primary>
107 </indexterm>
108
109 <indexterm zone="fluxbox fluxbox-config">
110 <primary sortas="e-AA.fluxbox-keys">~/.fluxbox/keys</primary>
111 </indexterm>
112
113 <indexterm zone="fluxbox fluxbox-config">
114 <primary sortas="e-AA.fluxbox-menu">~/.fluxbox/menu</primary>
115 </indexterm>
116
117 </sect3>
118
119 <sect3>
120 <title>Configuration Information</title>
121
122 <para>If <application>Fluxbox</application> is the only Window Manager
123 you want to use, you can start it with an <filename>.xinitrc</filename>
124 file in your home folder. Be sure to backup your
125 current <filename>.xinitrc</filename> before proceeding.</para>
126
127 <indexterm zone="fluxbox fluxbox-config">
128 <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
129 </indexterm>
130
131<screen><userinput>echo startfluxbox &gt; ~/.xinitrc</userinput></screen>
132
133 <para>Or alternatively, if you use a login manager like
134 <xref linkend="gdm"/> or <application>kdm</application> and would
135 like to be able to choose <application>Fluxbox</application> at the login
136 prompt, create a <filename>fluxbox.desktop</filename> file like this.</para>
137
138 <para>As <systemitem class="username">root</systemitem>:</para>
139
140<screen><userinput>cat &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 <xref linkend="gdm"/> 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>Now if you have <xref linkend="which"/> installed:</para>
161
162<screen><userinput>cd ~/.fluxbox &amp;&amp;
163fluxbox-generate_menu</userinput></screen>
164
165 <para>otherwise:</para>
166
167<screen><userinput>cp -v /usr/share/fluxbox/menu ~/.fluxbox/menu</userinput></screen>
168
169 <para>Menu items are added by editing <filename>~/.fluxbox/menu</filename>.
170 The syntax is explained on the <command>fluxbox</command> man page.</para>
171
172 <para>The themes installed in <filename
173 class='directory'>/usr/share/fluxbox/styles</filename> have not been
174 fixed to call <command>fbsetroot</command>, they still call it by its old
175 name, bsetroot. If you want to change the desktop color with the theme,
176 then fix the styles (as <systemitem class="username">root</systemitem>)
177 with these commands:</para>
178
179<screen><userinput>sed -i 's@ bsetroot@ fbsetroot@' \
180 $(grep -lr bsetroot /usr/share/fluxbox/styles)</userinput></screen>
181
182 <para>However, if you set the desktop color with the themes, it creates a
183 problem when setting a background image. Fluxbox loads the themes after
184 the commands in <filename>~/.fluxbox/startup</filename> have been run,
185 which wipes out the pretty picture it's just set on your desktop! The
186 solution is to comment out the <command>fbsetroot</command> command in
187 the themes (again, as <systemitem
188 class="username">root</systemitem>):</para>
189
190<screen><userinput>sed -i 's@^ro@! &amp;@' \
191 $(grep -lr bsetroot /usr/share/fluxbox/styles)</userinput></screen>
192
193 <para>You can still set any color you want as your desktop with an
194 <command>fbsetroot</command> command in
195 <filename>~/.fluxbox/startup</filename>.</para>
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.
199 <systemitem class="username">Root</systemitem> can fix this by opening the
200 relevant file in <filename class='directory'>/usr/share/fluxbox/styles</filename>
201 with a text editor and altering it so that it names a font you like.</para>
202
203 </sect3>
204
205 </sect2>
206
207 <sect2 role="content">
208 <title>Contents</title>
209
210 <segmentedlist>
211 <segtitle>Installed Programs</segtitle>
212 <segtitle>Installed Libraries</segtitle>
213 <segtitle>Installed Directory</segtitle>
214
215 <seglistitem>
216 <seg>fluxbox, fbsetbg, fbsetroot, fluxbox-generate_menu, startfluxbox,
217 and fbrun</seg>
218 <seg>None</seg>
219 <seg>/usr/share/fluxbox and ~/.fluxbox</seg>
220 </seglistitem>
221 </segmentedlist>
222
223 <variablelist>
224 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
225 <?dbfo list-presentation="list"?>
226 <?dbhtml list-presentation="table"?>
227
228 <varlistentry id="fluxbox-prog">
229 <term><command>fluxbox</command></term>
230 <listitem>
231 <para>is a window manager for <application>X11</application> based
232 on <application>Blackbox</application> 0.61.0.</para>
233 <indexterm zone="fluxbox fluxbox-prog">
234 <primary sortas="b-fluxbox">fluxbox</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 <varlistentry id="fbsetbg">
240 <term><command>fbsetbg</command></term>
241 <listitem>
242 <para>is a utility that sets the background image. It requires
243 <command>which</command> to find one of: <command>display</command>,
244 <command>Esetroot</command>, <command>wmsetbg</command>,
245 <command>xv</command>, <command>qiv</command> or <command>xsri</command>.
246 </para>
247 <indexterm zone="fluxbox fbsetbg">
248 <primary sortas="b-fbsetbg">fbsetbg</primary>
249 </indexterm>
250 </listitem>
251 </varlistentry>
252
253 <varlistentry id="fbsetroot">
254 <term><command>fbsetroot</command></term>
255 <listitem>
256 <para>is a utility to change root window appearance based on the
257 <application>Blackbox</application> application bsetroot.</para>
258 <indexterm zone="fluxbox fbsetroot">
259 <primary sortas="b-fbsetroot">fbsetroot</primary>
260 </indexterm>
261 </listitem>
262 </varlistentry>
263
264 <varlistentry id="fluxbox-generate">
265 <term><command>fluxbox-generate_menu</command></term>
266 <listitem>
267 <para>is a utility that generates a menu by scanning your
268 <envar>PATH</envar>. It requires <command>which</command> to function
269 properly.</para>
270 <indexterm zone="fluxbox fluxbox-generate">
271 <primary sortas="b-fluxbox-generate">fluxbox-generate_menu</primary>
272 </indexterm>
273 </listitem>
274 </varlistentry>
275
276 <varlistentry id="startfluxbox">
277 <term><command>startfluxbox</command></term>
278 <listitem>
279 <para>is a session startup script that allows for command
280 executions prior to <command>fluxbox</command> starting.</para>
281 <indexterm zone="fluxbox startfluxbox">
282 <primary sortas="b-startfluxbox">startfluxbox</primary>
283 </indexterm>
284 </listitem>
285 </varlistentry>
286
287 <varlistentry id="fbrun">
288 <term><command>fbrun</command></term>
289 <listitem>
290 <para>displays a run dialog window.</para>
291 <indexterm zone="fluxbox fbrun">
292 <primary sortas="b-fbrun">fbrun</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.