source: x/wm/fluxbox.xml@ dd4a853

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 dd4a853 was dd4a853, checked in by Bruce Dubbs <bdubbs@…>, 18 years ago

Minor style changes to fluxbox

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

  • Property mode set to 100644
File size: 10.2 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">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/data/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 </sect3>
198
199 </sect2>
200
201 <sect2 role="content">
202 <title>Contents</title>
203
204 <segmentedlist>
205 <segtitle>Installed Programs</segtitle>
206 <segtitle>Installed Libraries</segtitle>
207 <segtitle>Installed Directory</segtitle>
208
209 <seglistitem>
210 <seg>fluxbox, fbsetbg, fbsetroot, fluxbox-generate_menu, startfluxbox,
211 and fbrun</seg>
212 <seg>None</seg>
213 <seg>/usr/share/fluxbox and ~/.fluxbox</seg>
214 </seglistitem>
215 </segmentedlist>
216
217 <variablelist>
218 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
219 <?dbfo list-presentation="list"?>
220 <?dbhtml list-presentation="table"?>
221
222 <varlistentry id="fluxbox-prog">
223 <term><command>fluxbox</command></term>
224 <listitem>
225 <para>is a window manager for <application>X11</application> based
226 on <application>Blackbox</application> 0.61.0.</para>
227 <indexterm zone="fluxbox fluxbox-prog">
228 <primary sortas="b-fluxbox">fluxbox</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 <varlistentry id="fbsetbg">
234 <term><command>fbsetbg</command></term>
235 <listitem>
236 <para>is a utility that sets the background image. It needs
237 <command>display</command>, <command>Esetroot</command>,
238 <command>wmsetbg</command>, <command>xv</command>,
239 <command>qiv</command> or <command>xsri</command> to be used.</para>
240 <indexterm zone="fluxbox fbsetbg">
241 <primary sortas="b-fbsetbg">fbsetbg</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
246 <varlistentry id="fbsetroot">
247 <term><command>fbsetroot</command></term>
248 <listitem>
249 <para>is a utility to change root window appearance based on the
250 <application>Blackbox</application> application bsetroot.</para>
251 <indexterm zone="fluxbox fbsetroot">
252 <primary sortas="b-fbsetroot">fbsetroot</primary>
253 </indexterm>
254 </listitem>
255 </varlistentry>
256
257 <varlistentry id="fluxbox-generate">
258 <term><command>fluxbox-generate_menu</command></term>
259 <listitem>
260 <para>is a utility that generates a menu by scanning your
261 <envar>PATH</envar>. It requires <command>which</command> to function
262 properly.</para>
263 <indexterm zone="fluxbox fluxbox-generate">
264 <primary sortas="b-fluxbox-generate">fluxbox-generate_menu</primary>
265 </indexterm>
266 </listitem>
267 </varlistentry>
268
269 <varlistentry id="startfluxbox">
270 <term><command>startfluxbox</command></term>
271 <listitem>
272 <para>is a session startup script that allows for command
273 executions prior to <command>fluxbox</command> starting.</para>
274 <indexterm zone="fluxbox startfluxbox">
275 <primary sortas="b-startfluxbox">startfluxbox</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
279
280 <varlistentry id="fbrun">
281 <term><command>fbrun</command></term>
282 <listitem>
283 <para>displays a run dialog window.</para>
284 <indexterm zone="fluxbox fbrun">
285 <primary sortas="b-fbrun">fbrun</primary>
286 </indexterm>
287 </listitem>
288 </varlistentry>
289
290 </variablelist>
291
292 </sect2>
293
294</sect1>
Note: See TracBrowser for help on using the repository browser.