source: x/wm/fluxbox.xml@ b7a67e90

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 b7a67e90 was de1a0d9, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Add references to dbus-launch to window managers

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

  • Property mode set to 100644
File size: 10.4 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
9 "&jaist-ftp-repo;/f/fl/fluxbox/fluxbox/&fluxbox-version;/fluxbox-&fluxbox-version;.tar.bz2">
10 <!ENTITY fluxbox-md5sum "9d9e183424a0934e20417ff20775a570">
11 <!ENTITY fluxbox-size "787 KB">
12 <!ENTITY fluxbox-buildsize "150 MB">
13 <!ENTITY fluxbox-time "0.9 SBU">
14]>
15
16<sect1 id="fluxbox" xreflabel="Fluxbox-&fluxbox-version;">
17 <?dbhtml filename="fluxbox.html" ?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>Fluxbox-&fluxbox-version;</title>
25
26 <indexterm zone="fluxbox">
27 <primary sortas="a-Fluxbox">Fluxbox</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Fluxbox</title>
32
33 <para>The <application>Fluxbox</application> package contains a window
34 manager.</para>
35
36 &lfs75_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&fluxbox-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&fluxbox-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &fluxbox-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &fluxbox-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &fluxbox-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &fluxbox-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">Fluxbox Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Required</bridgehead>
63 <para role="required"><xref linkend="x-window-system"/></para>
64
65 <bridgehead renderas="sect4">Optional</bridgehead>
66 <para role="optional">
67 <xref linkend="dbus-launch"/> (runtime),
68 <xref linkend="fribidi"/>, and
69 <xref linkend="imlib2"/> (if you wish to use other image formats in addition to XPM)
70 </para>
71
72 <para condition="html" role="usernotes">User Notes:
73 <ulink url="&blfs-wiki;/fluxbox"/></para>
74
75 </sect2>
76
77 <sect2 role="installation">
78 <title>Installation of Fluxbox</title>
79
80 <para>Install <application>Fluxbox</application> by running the following
81 commands:</para>
82
83<screen><userinput>./configure --prefix=/usr &amp;&amp;
84make</userinput></screen>
85
86 <para>This package does not have a working testsuite.</para>
87
88 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
89
90<screen role="root"><userinput>make install</userinput></screen>
91
92 </sect2>
93
94 <sect2 role="configuration">
95 <title>Configuring Fluxbox</title>
96
97 <sect3 id="fluxbox-config">
98 <title>Config Files</title>
99
100 <para><filename>~/.fluxbox/init</filename>,
101 <filename>~/.fluxbox/keys</filename>, and
102 <filename>~/.fluxbox/menu</filename></para>
103
104 <indexterm zone="fluxbox fluxbox-config">
105 <primary sortas="e-AA.fluxbox-init">~/.fluxbox/init</primary>
106 </indexterm>
107
108 <indexterm zone="fluxbox fluxbox-config">
109 <primary sortas="e-AA.fluxbox-keys">~/.fluxbox/keys</primary>
110 </indexterm>
111
112 <indexterm zone="fluxbox fluxbox-config">
113 <primary sortas="e-AA.fluxbox-menu">~/.fluxbox/menu</primary>
114 </indexterm>
115
116 </sect3>
117
118 <sect3>
119 <title>Configuration Information</title>
120
121 <para>If <application>Fluxbox</application> is the only Window Manager
122 you want to use, you can start it with an <filename>.xinitrc</filename>
123 file in your home folder. Be sure to backup your
124 current <filename>.xinitrc</filename> before proceeding.</para>
125
126 <indexterm zone="fluxbox fluxbox-config">
127 <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
128 </indexterm>
129
130<screen><userinput>echo startfluxbox &gt; ~/.xinitrc</userinput></screen>
131
132 <para>Or alternatively, if you use a login manager like
133 <application>GDM</application> or <application>KDM</application> and would
134 like to be able to choose <application>Fluxbox</application> at the login
135 prompt, create a <filename>fluxbox.desktop</filename> file like this.</para>
136
137 <para>As <systemitem class="username">root</systemitem>:</para>
138
139<screen><userinput>cat &gt; /usr/share/xsessions/fluxbox.desktop &lt;&lt; "EOF"
140<literal>[Desktop Entry]
141Encoding=UTF-8
142Name=Fluxbox
143Comment=This session logs you into Fluxbox
144Exec=startfluxbox
145Type=Application</literal>
146EOF</userinput></screen>
147
148 <para>If you didn't install <application>GDM</application> or
149 <application>KDM</application> in <filename class='directory'>/usr</filename>,
150 then change that command to fit the prefix you chose.</para>
151
152 <para>Now create the <application>Fluxbox</application> configuration
153 files:</para>
154
155<screen><userinput>mkdir -v ~/.fluxbox &amp;&amp;
156cp -v /usr/share/fluxbox/init ~/.fluxbox/init &amp;&amp;
157cp -v /usr/share/fluxbox/keys ~/.fluxbox/keys</userinput></screen>
158
159 <para>To generate the application menu:</para>
160
161<screen><userinput>cd ~/.fluxbox &amp;&amp;
162fluxbox-generate_menu</userinput></screen>
163
164 <para>Alternately, copy a pregenerated menu:</para>
165
166<screen><userinput>cp -v /usr/share/fluxbox/menu ~/.fluxbox/menu</userinput></screen>
167
168 <para>Menu items are added by editing <filename>~/.fluxbox/menu</filename>.
169 The syntax is explained on the <command>fluxbox</command> man page.</para>
170
171 <para>If you want to use an image as your desktop background, copy the
172 theme you like into <filename class='directory'>~/.fluxbox</filename>.
173 Then add a line to make it use the correct image. In the following command,
174 change <replaceable>&lt;theme&gt;</replaceable> for the name of the theme you
175 want and change <replaceable>&lt;/path/to/nice/image.xpm&gt;</replaceable> to
176 point to the actual image you want to use.</para>
177
178<screen><userinput>cp /usr/share/fluxbox/styles/&lt;theme&gt; ~/.fluxbox/theme &amp;&amp;
179sed -i 's,\(session.styleFile:\).*,\1 ~/.fluxbox/theme,' ~/.fluxbox/init &amp;&amp;
180echo "background.pixmap: &lt;/path/to/nice/image.xpm&gt;" &gt;&gt; ~/.fluxbox/theme</userinput></screen>
181
182 <para>In some locales the font specified in the theme may not contain the
183 needed characters. This results in menus with blank items. You can fix
184 this by editing <filename>~/.fluxbox/theme</filename> with a text editor
185 and altering it so that it names a suitable font.</para>
186
187 </sect3>
188
189 </sect2>
190
191 <sect2 role="content">
192 <title>Contents</title>
193
194 <segmentedlist>
195 <segtitle>Installed Programs</segtitle>
196 <segtitle>Installed Libraries</segtitle>
197 <segtitle>Installed Directories</segtitle>
198
199 <seglistitem>
200 <seg>fluxbox, fbsetbg, fbsetroot, fluxbox-generate_menu, startfluxbox,
201 fbrun, fluxbox-remote, and fluxbox-update_configs</seg>
202 <seg>None</seg>
203 <seg>/usr/share/fluxbox and ~/.fluxbox</seg>
204 </seglistitem>
205 </segmentedlist>
206
207 <variablelist>
208 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
209 <?dbfo list-presentation="list"?>
210 <?dbhtml list-presentation="table"?>
211
212 <varlistentry id="fluxbox-prog">
213 <term><command>fluxbox</command></term>
214 <listitem>
215 <para>is a window manager for <application>X11</application> based
216 on <application>Blackbox</application> 0.61.0.</para>
217 <indexterm zone="fluxbox fluxbox-prog">
218 <primary sortas="b-fluxbox">fluxbox</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 <varlistentry id="fbsetbg">
224 <term><command>fbsetbg</command></term>
225 <listitem>
226 <para>is a utility that sets the background image. It requires one of:
227 <command>display</command>, <command>Esetroot</command>, <command>wmsetbg</command>,
228 <command>xv</command>, <command>qiv</command> or <command>xsri</command>.
229 It also requires <command>which</command> if <command>Esetroot</command> is
230 found.</para>
231 <indexterm zone="fluxbox fbsetbg">
232 <primary sortas="b-fbsetbg">fbsetbg</primary>
233 </indexterm>
234 </listitem>
235 </varlistentry>
236
237 <varlistentry id="fbsetroot">
238 <term><command>fbsetroot</command></term>
239 <listitem>
240 <para>is a utility to change root window appearance based on the
241 <application>Blackbox</application> application bsetroot.</para>
242 <indexterm zone="fluxbox fbsetroot">
243 <primary sortas="b-fbsetroot">fbsetroot</primary>
244 </indexterm>
245 </listitem>
246 </varlistentry>
247
248 <varlistentry id="fluxbox-generate">
249 <term><command>fluxbox-generate_menu</command></term>
250 <listitem>
251 <para>is a utility that generates a menu by scanning your
252 <envar>PATH</envar>.</para>
253 <indexterm zone="fluxbox fluxbox-generate">
254 <primary sortas="b-fluxbox-generate">fluxbox-generate_menu</primary>
255 </indexterm>
256 </listitem>
257 </varlistentry>
258
259 <varlistentry id="startfluxbox">
260 <term><command>startfluxbox</command></term>
261 <listitem>
262 <para>is a session startup script that allows for command
263 executions prior to <command>fluxbox</command> starting.</para>
264 <indexterm zone="fluxbox startfluxbox">
265 <primary sortas="b-startfluxbox">startfluxbox</primary>
266 </indexterm>
267 </listitem>
268 </varlistentry>
269
270 <varlistentry id="fbrun">
271 <term><command>fbrun</command></term>
272 <listitem>
273 <para>displays a run dialog window.</para>
274 <indexterm zone="fluxbox fbrun">
275 <primary sortas="b-fbrun">fbrun</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
279
280 <varlistentry id="fluxbox-remote">
281 <term><command>fluxbox-remote</command></term>
282 <listitem>
283 <para>provides command line access to key commands for
284 <application>Fluxbox</application>.</para>
285 <indexterm zone="fluxbox fluxbox-remote">
286 <primary sortas="b-fluxbox-remote">fluxbox-remote</primary>
287 </indexterm>
288 </listitem>
289 </varlistentry>
290
291 </variablelist>
292
293 </sect2>
294
295</sect1>
Note: See TracBrowser for help on using the repository browser.