source: x/wm/fluxbox.xml@ 2b7420b

10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2b7420b was 2b7420b, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tag printer stack, window managers, and misc

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

  • Property mode set to 100644
File size: 12.4 KB
RevLine 
[feeb99a]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[feeb99a]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[8dfc5c3]7 <!ENTITY fluxbox-download-http "&sourceforge-dl;/fluxbox/fluxbox-&fluxbox-version;.tar.xz">
[535af54]8 <!-- <!ENTITY fluxbox-download-ftp
9 "&jaist-ftp-repo;/f/fl/fluxbox/fluxbox/&fluxbox-version;/fluxbox-&fluxbox-version;.tar.xz"> -->
10 <!-- This was reported to no longer work. After testing, I can confirm.
11 Trying to use it results in a "No such directory" error. -->
12 <!ENTITY fluxbox-download-ftp " ">
[0ef4fd1]13 <!ENTITY fluxbox-md5sum "b44afd10ee1e64624c23115aa51dcd55">
14 <!ENTITY fluxbox-size "772 KB">
[f9c1214]15 <!ENTITY fluxbox-buildsize "101 MB">
[faf325d]16 <!ENTITY fluxbox-time "0.9 SBU">
[feeb99a]17]>
[4f6275fd]18
[0b5a693]19<sect1 id="fluxbox" xreflabel="Fluxbox-&fluxbox-version;">
[f0d4ce27]20 <?dbhtml filename="fluxbox.html" ?>
21
22 <sect1info>
23 <othername>$LastChangedBy$</othername>
24 <date>$Date$</date>
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
[97ee53d]36 <para>
37 The <application>Fluxbox</application> package contains a window
38 manager.
39 </para>
[f0d4ce27]40
[2b7420b]41 &lfs101_checked;
[80a92f4]42
[f0d4ce27]43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
[97ee53d]46 <para>
47 Download (HTTP): <ulink url="&fluxbox-download-http;"/>
48 </para>
[f0d4ce27]49 </listitem>
50 <listitem>
[97ee53d]51 <para>
52 Download (FTP): <ulink url="&fluxbox-download-ftp;"/>
53 </para>
[f0d4ce27]54 </listitem>
55 <listitem>
[97ee53d]56 <para>
57 Download MD5 sum: &fluxbox-md5sum;
58 </para>
[f0d4ce27]59 </listitem>
60 <listitem>
[97ee53d]61 <para>
62 Download size: &fluxbox-size;
63 </para>
[f0d4ce27]64 </listitem>
65 <listitem>
[97ee53d]66 <para>
67 Estimated disk space required: &fluxbox-buildsize;
68 </para>
[f0d4ce27]69 </listitem>
70 <listitem>
[97ee53d]71 <para>
72 Estimated build time: &fluxbox-time;
73 </para>
[f0d4ce27]74 </listitem>
75 </itemizedlist>
76
77 <bridgehead renderas="sect3">Fluxbox Dependencies</bridgehead>
78
79 <bridgehead renderas="sect4">Required</bridgehead>
[97ee53d]80 <para role="required">
81 <xref linkend="x-window-system"/>
82 </para>
[f0d4ce27]83
[d4eb6ba]84 <bridgehead renderas="sect4">Optional</bridgehead>
[faf325d]85 <para role="optional">
[e71a98d9]86 <xref role="runtime" linkend="dbus"/> (runtime),
[de1a0d9]87 <xref linkend="fribidi"/>, and
[97ee53d]88 <xref linkend="imlib2"/> (if you wish to use other image formats in
89 addition to XPM)
[faf325d]90 </para>
[d4eb6ba]91
[c5c2654]92 <para condition="html" role="usernotes">User Notes:
93 <ulink url="&blfs-wiki;/fluxbox"/></para>
94
[d4eb6ba]95 </sect2>
[f0d4ce27]96
97 <sect2 role="installation">
98 <title>Installation of Fluxbox</title>
99
[97ee53d]100 <para>
101 Install <application>Fluxbox</application> by running the following
102 commands:
103 </para>
[f0d4ce27]104
105<screen><userinput>./configure --prefix=/usr &amp;&amp;
106make</userinput></screen>
107
[97ee53d]108 <para>
109 This package does not have a working testsuite.
110 </para>
[84da85a]111
[97ee53d]112 <para>
113 Now, as the <systemitem class="username">root</systemitem> user:
114 </para>
[f0d4ce27]115
116<screen role="root"><userinput>make install</userinput></screen>
117
118 </sect2>
119
120 <sect2 role="configuration">
121 <title>Configuring Fluxbox</title>
122
123 <sect3 id="fluxbox-config">
124 <title>Config Files</title>
125
[97ee53d]126 <para>
127 <filename>~/.fluxbox/init</filename>,
128 <filename>~/.fluxbox/keys</filename>, and
129 <filename>~/.fluxbox/menu</filename>
130 </para>
[f0d4ce27]131
132 <indexterm zone="fluxbox fluxbox-config">
133 <primary sortas="e-AA.fluxbox-init">~/.fluxbox/init</primary>
134 </indexterm>
135
136 <indexterm zone="fluxbox fluxbox-config">
137 <primary sortas="e-AA.fluxbox-keys">~/.fluxbox/keys</primary>
138 </indexterm>
139
140 <indexterm zone="fluxbox fluxbox-config">
141 <primary sortas="e-AA.fluxbox-menu">~/.fluxbox/menu</primary>
142 </indexterm>
143
144 </sect3>
145
146 <sect3>
147 <title>Configuration Information</title>
148
[97ee53d]149 <para>
150 If <application>Fluxbox</application> is the only Window Manager
151 you want to use, you can start it with an <filename>.xinitrc</filename>
152 file in your home folder. Be sure to backup your
153 current <filename>.xinitrc</filename> before proceeding.
154 </para>
[f0d4ce27]155
156 <indexterm zone="fluxbox fluxbox-config">
157 <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
158 </indexterm>
159
[0fbb464]160<screen><userinput>echo startfluxbox &gt; ~/.xinitrc</userinput></screen>
[d083dd01]161
[97ee53d]162 <para>
163 Or alternatively, if you use a login manager like
164 <xref linkend="gdm"/> or <xref linkend="lightdm"/>,
165 and would like to be able to choose <application>Fluxbox</application>
166 at the login prompt, create a <filename>fluxbox.desktop</filename>
167 file. As <systemitem class="username">root</systemitem>:
168 </para>
[d083dd01]169
[a581662]170<screen role="root"><userinput>mkdir -pv /usr/share/xsessions &amp;&amp;
171cat &gt; /usr/share/xsessions/fluxbox.desktop &lt;&lt; "EOF"
[0fbb464]172<literal>[Desktop Entry]
173Encoding=UTF-8
174Name=Fluxbox
175Comment=This session logs you into Fluxbox
176Exec=startfluxbox
177Type=Application</literal>
[f0d4ce27]178EOF</userinput></screen>
179
[97ee53d]180 <para>
181 If you didn't install <xref linkend="gdm"/> or <xref
182 linkend="lightdm"/> in <filename class='directory'>/usr</filename>,
183 then change that command to fit the prefix you chose.
184 </para>
[f1aeb59e]185
[97ee53d]186 <para>
187 Now create the <application>Fluxbox</application> configuration files:
188 </para>
[f0d4ce27]189
[84cfa433]190<screen><userinput>mkdir -v ~/.fluxbox &amp;&amp;
191cp -v /usr/share/fluxbox/init ~/.fluxbox/init &amp;&amp;
192cp -v /usr/share/fluxbox/keys ~/.fluxbox/keys</userinput></screen>
[2e4ab21f]193
[97ee53d]194 <para>
195 To generate the application menu, first you may wish to run
196 <command>fluxbox-generate_menu -h</command>, in order to choose any
197 <replaceable>&lt;user_options&gt;</replaceable>, then issue:
198 </para>
[2e4ab21f]199
[97ee53d]200<screen role="nodump"><userinput>cd ~/.fluxbox &amp;&amp;
[f9c1214]201fluxbox-generate_menu <replaceable>&lt;user_options&gt;</replaceable></userinput></screen>
[2e4ab21f]202
[97ee53d]203 <para>
204 Alternately, copy a pregenerated menu:
205 </para>
[2e4ab21f]206
[84cfa433]207<screen><userinput>cp -v /usr/share/fluxbox/menu ~/.fluxbox/menu</userinput></screen>
[f0d4ce27]208
[97ee53d]209 <para>
210 Menu items are added by editing <filename>~/.fluxbox/menu</filename>.
211 The syntax is explained on the <command>fluxbox</command> man page.
212 </para>
213
214 <para>
215 If you want to use an image as your desktop background, copy the
216 theme you like into <filename class='directory'>~/.fluxbox</filename>.
217 Then add a line to make it use the correct image. In the following
218 command, change <replaceable>&lt;theme&gt;</replaceable> for the name
219 of the theme you want and change
220 <replaceable>&lt;/path/to/nice/image.ext&gt;</replaceable> to point to
221 the actual image you want to use, where <replaceable>ext</replaceable>
222 must be <quote>xpm</quote>, if <xref linkend="imlib2"/> is not installed
223 to allow other image formats.
224 </para>
225
226<screen role="nodump"><userinput>cp /usr/share/fluxbox/styles/&lt;theme&gt; ~/.fluxbox/theme &amp;&amp;
[f9c1214]227
[e2e42c7]228sed -i 's,\(session.styleFile:\).*,\1 ~/.fluxbox/theme,' ~/.fluxbox/init &amp;&amp;
[f9c1214]229
230[ -f ~/.fluxbox/theme ] &amp;&amp;
231echo "background.pixmap: &lt;/path/to/nice/image.ext&gt;" >> ~/.fluxbox/theme ||
232[ -d ~/.fluxbox/theme ] &amp;&amp;
233echo "background.pixmap: &lt;/path/to/nice/image.ext&gt;" >> ~/.fluxbox/theme/theme.cfg</userinput></screen>
[5af003c5]234
[97ee53d]235 <para>
236 In some locales the font specified in the theme may not contain the
237 needed characters. This results in menus with blank items. You can fix
238 this by editing <filename>~/.fluxbox/theme</filename> with a text
239 editor and altering it so that it names a suitable font.
240 </para>
[39252d9]241
[f0d4ce27]242 </sect3>
243
244 </sect2>
245
246 <sect2 role="content">
247 <title>Contents</title>
248
249 <segmentedlist>
250 <segtitle>Installed Programs</segtitle>
251 <segtitle>Installed Libraries</segtitle>
[80a92f4]252 <segtitle>Installed Directories</segtitle>
[f0d4ce27]253
254 <seglistitem>
[d083dd01]255 <seg>fluxbox, fbsetbg, fbsetroot, fluxbox-generate_menu, startfluxbox,
[80a92f4]256 fbrun, fluxbox-remote, and fluxbox-update_configs</seg>
[f0d4ce27]257 <seg>None</seg>
258 <seg>/usr/share/fluxbox and ~/.fluxbox</seg>
259 </seglistitem>
260 </segmentedlist>
261
262 <variablelist>
263 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
264 <?dbfo list-presentation="list"?>
265 <?dbhtml list-presentation="table"?>
266
267 <varlistentry id="fluxbox-prog">
268 <term><command>fluxbox</command></term>
269 <listitem>
[97ee53d]270 <para>
271 is a window manager for <application>X11</application> based
[4c24eb0a]272 on <application>Blackbox</application> 0.61.0
[97ee53d]273 </para>
[f0d4ce27]274 <indexterm zone="fluxbox fluxbox-prog">
275 <primary sortas="b-fluxbox">fluxbox</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
279
280 <varlistentry id="fbsetbg">
281 <term><command>fbsetbg</command></term>
282 <listitem>
[97ee53d]283 <para>
284 is a utility that sets the background image. It requires one
285 of the following at runtime:
286 <command>Esetroot</command>, <command>wmsetbg</command>,
287 <xref linkend="feh-prog"/>, <command>hsetroot</command>,
288 <command>chbg</command>, <xref linkend="display"/>,
289 <command>qiv</command>, <command>xv</command>,
290 <command>xsri</command>, <command>xli</command>, or
[4c24eb0a]291 <command>xsetbg</command>. It also requires
292 <xref linkend="which-prog"/> if <command>Esetroot</command> is
293 found
[97ee53d]294 </para>
[f0d4ce27]295 <indexterm zone="fluxbox fbsetbg">
296 <primary sortas="b-fbsetbg">fbsetbg</primary>
297 </indexterm>
298 </listitem>
299 </varlistentry>
300
[d083dd01]301 <varlistentry id="fbsetroot">
302 <term><command>fbsetroot</command></term>
[f0d4ce27]303 <listitem>
[97ee53d]304 <para>
305 is a utility to change root window appearance based on the
[4c24eb0a]306 <application>Blackbox</application> application bsetroot
[97ee53d]307 </para>
[d083dd01]308 <indexterm zone="fluxbox fbsetroot">
309 <primary sortas="b-fbsetroot">fbsetroot</primary>
[f0d4ce27]310 </indexterm>
311 </listitem>
312 </varlistentry>
313
[6d772cc]314 <varlistentry id="fluxbox-generate_menu">
[f0d4ce27]315 <term><command>fluxbox-generate_menu</command></term>
316 <listitem>
[97ee53d]317 <para>
318 is a utility that generates a menu by scanning your
[4c24eb0a]319 <envar>PATH</envar>
[97ee53d]320 </para>
[6d772cc]321 <indexterm zone="fluxbox fluxbox-generate_menu">
322 <primary sortas="b-fluxbox-generate_menu">fluxbox-generate_menu</primary>
[f0d4ce27]323 </indexterm>
324 </listitem>
325 </varlistentry>
326
327 <varlistentry id="startfluxbox">
328 <term><command>startfluxbox</command></term>
329 <listitem>
[97ee53d]330 <para>
331 is a session startup script that allows for command
[4c24eb0a]332 executions prior to <command>fluxbox</command> starting
[97ee53d]333 </para>
[f0d4ce27]334 <indexterm zone="fluxbox startfluxbox">
335 <primary sortas="b-startfluxbox">startfluxbox</primary>
336 </indexterm>
337 </listitem>
338 </varlistentry>
339
340 <varlistentry id="fbrun">
341 <term><command>fbrun</command></term>
342 <listitem>
[97ee53d]343 <para>
[4c24eb0a]344 displays a run dialog window
[97ee53d]345 </para>
[f0d4ce27]346 <indexterm zone="fluxbox fbrun">
347 <primary sortas="b-fbrun">fbrun</primary>
348 </indexterm>
349 </listitem>
350 </varlistentry>
351
[80a92f4]352 <varlistentry id="fluxbox-remote">
353 <term><command>fluxbox-remote</command></term>
354 <listitem>
[97ee53d]355 <para>
356 provides command line access to key commands for
[4c24eb0a]357 <application>Fluxbox</application>
[97ee53d]358 </para>
[80a92f4]359 <indexterm zone="fluxbox fluxbox-remote">
360 <primary sortas="b-fluxbox-remote">fluxbox-remote</primary>
361 </indexterm>
362 </listitem>
363 </varlistentry>
364
[6d772cc]365 <varlistentry id="fluxbox-update_configs">
366 <term><command>fluxbox-update_configs</command></term>
367 <listitem>
368 <para>
[4c24eb0a]369 use to manage config files (reload, update, test)
[6d772cc]370 </para>
371 <indexterm zone="fluxbox fluxbox-update_configs">
372 <primary sortas="b-fluxbox-update_configs">fluxbox-update_configs</primary>
373 </indexterm>
374 </listitem>
375 </varlistentry>
376
[f0d4ce27]377 </variablelist>
378
379 </sect2>
[f45b1953]380
381</sect1>
Note: See TracBrowser for help on using the repository browser.