source: x/wm/openbox.xml@ 5b9edb4

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 5b9edb4 was 5b9edb4, checked in by Andrew Benton <andy@…>, 12 years ago

Libreoffice 3.5.3.2

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

  • Property mode set to 100644
File size: 13.5 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 openbox-download-http
8 "http://openbox.org/dist/openbox/openbox-&openbox-version;.tar.gz">
9 <!ENTITY openbox-download-ftp " ">
10 <!ENTITY openbox-md5sum "00441b53cf14c03566c8e82643544ff9">
11 <!ENTITY openbox-size "9 MB">
12 <!ENTITY openbox-buildsize "18 MB">
13 <!ENTITY openbox-time "0.3 SBU">
14]>
15
16<sect1 id="openbox" xreflabel="openbox-&openbox-version;">
17 <?dbhtml filename="openbox.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>openbox-&openbox-version;</title>
25
26 <indexterm zone="openbox">
27 <primary sortas="a-openbox">Openbox</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to openbox</title>
32
33 <para>
34 <application>Openbox</application> is a highly configurable desktop
35 window manager with extensive standards support. It allows you to control
36 almost every aspect of how you interact with your desktop.
37 </para>
38
39 &lfs71_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&openbox-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &openbox-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &openbox-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &openbox-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &openbox-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect3">Openbox Dependencies</bridgehead>
70
71 <bridgehead renderas="sect4">Required</bridgehead>
72 <para role="required">
73 <xref linkend="pkgconfig"/>,
74 <xref linkend="x-window-system"/> and
75 <xref linkend="pango"/> (compiled with support for libXft).
76 </para>
77
78 <bridgehead renderas="sect4">Optional</bridgehead>
79 <para role="optional">
80 <xref linkend="imlib2"/> (to enable icons in the right click menu).
81 </para>
82
83 <para condition="html" role="usernotes">
84 User Notes: <ulink url="&blfs-wiki;/openbox"/>
85 </para>
86 </sect2>
87
88 <sect2 role="installation">
89 <title>Installation of Openbox</title>
90
91 <para>
92 Install <application>Openbox</application> by running the following
93 commands:
94 </para>
95
96<screen><userinput>./configure -&#45;prefix=/usr -&#45;sysconfdir=/etc -&#45;disable-static \
97 -&#45;docdir=/usr/share/doc/openbox-&openbox-version; &amp;&amp;
98make</userinput></screen>
99
100 <para>
101 To test the results, issue: <command>make check</command>.
102 </para>
103
104 <para>
105 Now, as the <systemitem class="username">root</systemitem> user:
106 </para>
107
108<screen role="root"><userinput>make install</userinput></screen>
109 </sect2>
110
111 <sect2 role="commands">
112 <title>Command Explanations</title>
113
114 <para>
115 <option>-&#45;sysconfdir=/etc</option>: This option puts
116 <application>Openbox</application>'s configuration files in
117 /etc/xdg/openbox instead of /usr/etc/xdg/openbox.
118 </para>
119
120 <para>
121 <option>-&#45;disable-static</option>: This option stops it compiling
122 static versions of the libraries.
123 </para>
124
125 <para>
126 <option>-&#45;docdir=/usr/share/doc/openbox-&openbox-version;</option>:
127 this puts a few files in a versioned directory in
128 <filename class="directory">/usr/share/doc</filename>.
129 </para>
130 </sect2>
131
132 <sect2 role="configuration">
133 <title>Configuring Openbox</title>
134
135 <sect3 id="openbox-config">
136 <title>Config Files</title>
137
138 <para>
139 /etc/xdg/openbox/menu.xml, /etc/xdg/openbox/rc.xml,
140 ~/.config/openbox/menu.xml and ~/.config/openbox/rc.xml
141 </para>
142
143 <indexterm zone="openbox openbox-config">
144 <primary sortas="e-AA.menu">~/.config/openbox/menu.xml</primary>
145 </indexterm>
146
147 <indexterm zone="openbox openbox-config">
148 <primary sortas="e-AA.rc">~/.config/openbox/rc.xml</primary>
149 </indexterm>
150
151 <indexterm zone="openbox openbox-config">
152 <primary sortas="e-etc-path-menu">/etc/xdg/openbox/menu.xml</primary>
153 </indexterm>
154
155 <indexterm zone="openbox openbox-config">
156 <primary sortas="e-etc-path-rc">/etc/xdg/openbox/rc.xml</primary>
157 </indexterm>
158 </sect3>
159
160 <sect3><title>Configuration Information</title>
161
162 <para>
163 <application>Openbox</application>'s right click menu can be used to
164 launch programs. The menu itself is configured with 2 files,
165 <filename>/etc/xdg/openbox/menu.xml</filename> and
166 <filename>~/.config/openbox/menu.xml</filename>. To make changes to the
167 menu, copy /etc/xdg/openbox/menu.xml to ~/.config/openbox/menu.xml and
168 edit it:
169 </para>
170
171<screen role="user"><userinput>cp -rf /etc/xdg/openbox ~/.config</userinput></screen>
172 <para>
173
174 <filename>~/.config/openbox/menu.xml</filename> can be edited with a
175 text editor or you can install
176 <ulink url="http://obmenu.sourceforge.net/">Obmenu</ulink> (requires
177 <xref linkend="pyxml"/> and <xref linkend="pygtk"/>).
178 </para>
179
180 <para>
181 To have icons in your right click menu requires installing
182 <xref linkend="imlib2"/> before you install
183 <application>Openbox</application>. To set an icon for an entry in the
184 menu edit <filename>~/.config/openbox/menu.xml</filename> and add an
185 icon to the &lt;item&gt; tag like this:
186 </para>
187
188<screen>&lt;item label="Mplayer" icon="/usr/share/pixmaps/mplayer.png"&gt;</screen>
189
190 <para>
191 Many other aspects of <application>Openbox</application>'s behaviour are
192 configured with <filename>~/.config/openbox/rc.xml</filename> such as
193 what keybindings are used to launch programs or which mouse button
194 launches the main menu.
195 </para>
196
197 <para>
198 Details of the theme that <application>Openbox</application> applies to
199 window decorations are configured in
200 <filename>~/.config/openbox/rc.xml</filename>. You can get a list of the
201 available themes with the command:
202 </para>
203
204<screen role="user"><userinput>ls -d /usr/share/themes/*/openbox-3 | sed 's#.*es/##;s#/o.*##'</userinput></screen>
205 </sect3>
206
207 <sect3 id="openbox-init">
208 <title>Starting Openbox</title>
209
210 <para>
211 To automatically start <command>openbox</command> when you start
212 <application>Xorg</application>:
213 </para>
214
215<screen role="user"><userinput>echo openbox &gt; ~/.xinitrc</userinput></screen>
216
217 <para>
218 If you want to set a background image to your desktop you can use
219 <xref linkend="display"/> and launch it from ~/.xinitrc just before
220 openbox:
221 </para>
222
223<screen role="user"><userinput>cat &gt; ~/.xinitrc &lt;&lt; "HERE_DOC"
224display -backdrop -window root /path/to/beautiful/picture.jpeg
225exec openbox
226HERE_DOC</userinput></screen>
227
228 <para>
229 Or if you like a bit of variety, put a selection of images in a folder
230 (in this example, the directory ~/.config/backgrounds) and choose one at
231 random each time you <command>xinit</command>:
232 </para>
233
234<screen role="user"><userinput>cat &gt; ~/.xinitrc &lt;&lt; "HERE_DOC"
235# make an array which lists the pictures:
236picture_list=(~/.config/backgrounds/*)
237# create a random integer between 0 and the number of pictures:
238random_number=$(( ${RANDOM} % ${#picture_list[@]} ))
239# display the chosen picture:
240display -backdrop -window root "${picture_list[${random_number}]}"
241exec openbox
242HERE_DOC</userinput></screen>
243
244 <para>
245 If you like to have the numlock key set whan you start Xorg, install
246 <ulink url="http://home.kde.org/~seli/numlockx/">Numlockx</ulink> and
247 add that to your xinitrc. Another useful application is
248 <xref linkend="dbus"/>
249 </para>
250
251<screen role="user"><userinput>cat &gt; ~/.xinitrc &lt;&lt; "HERE_DOC"
252. /etc/profile
253picture_list=(~/.config/backgrounds/*)
254random_number=$(( ${RANDOM} % ${#picture_list[*]} ))
255display -backdrop -window root "${picture_list[${random_number}]}"
256numlockx
257eval $(dbus-launch --auto-syntax --exit-with-session)
258lxpanel &amp;
259exec openbox
260HERE_DOC</userinput></screen>
261 </sect3>
262 </sect2>
263
264 <sect2 role="content">
265 <title>Contents</title>
266
267 <segmentedlist>
268 <segtitle>Installed Programs</segtitle>
269 <segtitle>Installed Libraries</segtitle>
270 <segtitle>Installed Directories</segtitle>
271
272 <seglistitem>
273 <seg>
274 gdm-control, gnome-panel-control, obxprop, openbox,
275 openbox-gnome-session, openbox-kde-session and openbox-session
276 </seg>
277 <seg>
278 libobrender.so and libobt.so
279 </seg>
280 <seg>
281 /etc/xdg/openbox, /usr/include/openbox,
282 /usr/share/doc/openbox-&openbox-version; and /usr/share/themes.
283 </seg>
284 </seglistitem>
285 </segmentedlist>
286
287 <variablelist>
288 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
289 <?dbfo list-presentation="list"?>
290 <?dbhtml list-presentation="table"?>
291
292 <varlistentry id="gdm-control">
293 <term><command>gdm-control</command></term>
294 <listitem>
295 <para>
296 is a command line tool to send signals to
297 <application>GDM</application>.
298 </para>
299 <indexterm zone="openbox gdm-control">
300 <primary sortas="b-gdm-control">gdm-control</primary>
301 </indexterm>
302 </listitem>
303 </varlistentry>
304
305 <varlistentry id="gnome-panel-control">
306 <term><command>gnome-panel-control</command></term>
307 <listitem>
308 <para>
309 is a command line utility to invoke the <application>Gnome
310 Panel</application> run dialog/menu.
311 </para>
312 <indexterm zone="openbox gnome-panel-control">
313 <primary
314 sortas="b-gnome-panel-control">gnome-panel-control</primary>
315 </indexterm>
316 </listitem>
317 </varlistentry>
318
319 <varlistentry id="obxprop">
320 <term><command>obxprop</command></term>
321 <listitem>
322 <para>
323 is a tool for displaying the properties on an x window. It has a
324 similar functionality to <command>xprop</command>, but allows you to
325 see UTF-8 strings as text.
326 </para>
327 <indexterm zone="openbox obxprop">
328 <primary sortas="b-obxprop">obxprop</primary>
329 </indexterm>
330 </listitem>
331 </varlistentry>
332
333 <varlistentry id="openbox-prog">
334 <term><command>openbox</command></term>
335 <listitem>
336 <para>
337 is a standards compliant, highly configurable, window manager.
338 </para>
339 <indexterm zone="openbox openbox">
340 <primary sortas="b-openbox">openbox</primary>
341 </indexterm>
342 </listitem>
343 </varlistentry>
344
345 <varlistentry id="openbox-gnome-session">
346 <term><command>openbox-gnome-session</command></term>
347 <listitem>
348 <para>
349 is a script to launch an <application>Gnome</application> session
350 with openbox as your window manager from your
351 <filename>~/.xinitrc</filename>.
352 </para>
353 <indexterm zone="openbox openbox-gnome-session">
354 <primary
355 sortas="b-openbox-gnome-session">openbox-gnome-session</primary>
356 </indexterm>
357 </listitem>
358 </varlistentry>
359
360 <varlistentry id="openbox-kde-session">
361 <term><command>openbox-kde-session</command></term>
362 <listitem>
363 <para>
364 is a script to launch an <application>KDE</application> session with
365 <application>Openbox</application> as your window manager from your
366 <filename>~/.xinitrc</filename>.
367 </para>
368 <indexterm zone="openbox openbox-kde-session">
369 <primary
370 sortas="b-openbox-kde-session">openbox-kde-session</primary>
371 </indexterm>
372 </listitem>
373 </varlistentry>
374
375 <varlistentry id="openbox-session">
376 <term><command>openbox-session</command></term>
377 <listitem>
378 <para>
379 is a script to launch an <application>Openbox</application> session
380 from your <filename>~/.xinitrc</filename>.
381 </para>
382 <indexterm zone="openbox openbox-session">
383 <primary sortas="b-openbox-session">openbox-session</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
388 <varlistentry id="libobrender">
389 <term><filename class="libraryfile">libobrender.so</filename></term>
390 <listitem>
391 <para>
392 contains the functions used by <application>Openbox</application>
393 for theme rendering.
394 </para>
395 <indexterm zone="openbox libobrender">
396 <primary sortas="c-libobrender">libobrender.so</primary>
397 </indexterm>
398 </listitem>
399 </varlistentry>
400
401 <varlistentry id="libobt">
402 <term><filename class="libraryfile">libobt.so</filename></term>
403 <listitem>
404 <para>
405 is the <application>Openbox</application> toolkit library.
406 </para>
407 <indexterm zone="openbox libobt">
408 <primary sortas="c-libobt">libobt.so</primary>
409 </indexterm>
410 </listitem>
411 </varlistentry>
412 </variablelist>
413 </sect2>
414</sect1>
Note: See TracBrowser for help on using the repository browser.