Clip client rect to monitor bounds while picking a corner for resizing
[dana/openbox.git] / doc / openbox.1.sgml
1 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
2
3 <!-- Process this file with docbook-to-man to generate an nroff manual
4      page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
5      the manual page with: `docbook-to-man manpage.sgml | nroff -man |
6      less'.  A typical entry in a Makefile or Makefile.am is:
7
8 manpage.1: manpage.sgml
9         docbook-to-man $< > $@
10
11     
12         The docbook-to-man binary is found in the docbook-to-man package.
13         Please remember that if you create the nroff version in one of the
14         debian/rules file targets (such as build), you will need to include
15         docbook-to-man in your Build-Depends control field.
16
17   -->
18
19   <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
20   <!ENTITY dhucpackage "<refentrytitle>OPENBOX</refentrytitle>">
21   <!ENTITY dhpackage   "openbox">
22 ]>
23
24 <refentry>
25   <refmeta>
26     &dhucpackage;
27
28     &dhsection;
29   </refmeta>
30   <refnamediv>
31     <refname>&dhpackage;</refname>
32
33     <refpurpose>A minimalistic, highly configurable, next generation window
34       manager with extensive standards support.</refpurpose>
35   </refnamediv>
36   <refsynopsisdiv>
37     <cmdsynopsis>
38       <command>&dhpackage;</command>
39       <arg><option>--help</option></arg>
40       <arg><option>--version</option></arg>
41       <arg><option>--replace</option></arg>
42       <arg><option>--reconfigure</option></arg>
43       <arg><option>--restart</option></arg>
44       <arg><option>--sm-disable</option></arg>
45       <arg><option>--sync</option></arg>
46       <arg><option>--debug</option></arg>
47       <arg><option>--debug-focus</option></arg>
48       <arg><option>--debug-xinerama</option></arg>
49     </cmdsynopsis>
50   </refsynopsisdiv>
51   <refsect1>
52     <title>DESCRIPTION</title>
53
54     <para>Openbox is minimalistic, highly configurable, next generation window
55       manager with extensive standards support.</para>
56
57     <para>You can start Openbox in three ways:</para>
58
59     <para>If you run a display manager such as GDM, you will find 3 entries
60       in the login session type menu for Openbox:
61       <command>GNOME/Openbox</command>, <command>KDE/Openbox</command>
62       and <command>Openbox</command>. If you want to use Openbox
63       within GNOME or KDE, you can choose the appropriate entry, and it will
64       launch GNOME or KDE with Openbox as the window manager.</para>
65
66     <para>The third option at log in, which is <command>Openbox</command>
67       without a session manager, uses the <command>openbox-session</command>
68       command to start Openbox. On log in, <command>&dhpackage;</command> will
69       run the ~/.config/openbox/autostart.sh script if it exists, and will run
70       the system-wide script @configdir@/openbox/autostart.sh otherwise. You
71       may place anything you want to run automatically in those files, for
72       example:
73       </para>
74
75     <blockquote><literallayout>
76       xsetroot -solid grey &
77       gnome-settings-daemon &</literallayout></blockquote>
78
79     <para>Make sure that each line is followed by a "&" or else the script will
80       stop there and further commands will not be executed. You can use the
81       @configdir@/openbox/autostart.sh file as an example for creating your
82       own.</para>
83
84     <para>The default @configdir@/openbox/autostart.sh runs a number of things
85       with Openbox.</para>
86
87     <para>Lastly, if you use <command>startx</command> to launch your X
88       session, you can set up a ~/.xinitrc file to run
89       <command>openbox-session</command> and follow the same directions as
90       above regarding the autostart.sh file.</para>
91
92     <para>You can use the <command>obconf</command> tool to configure Openbox
93       easily with a graphical interface, however more in-depth configuration
94       is possible by editing the configuration files by hand.</para>
95
96     <para>The default configuration and menu files are installed in
97       @configdir@/openbox/, and the user configuration is placed in
98       ~/.config/openbox/. You can copy the default configuration and menus
99       to ~/.config/openbox and edit it to your liking.</para>
100   </refsect1>
101   <refsect1>
102     <title>OPTIONS</title>
103
104     <para>These are the possible options that <command>&dhpackage;</command> accepts:</para>
105     <variablelist>
106       <varlistentry>
107         <term><option>--help</option></term>
108         <listitem>
109           <para>Show a summary of the command line options available
110             and exit.</para>
111         </listitem>
112       </varlistentry>
113       <varlistentry>
114         <term><option>--version</option></term>
115         <listitem>
116           <para>Show the version of the program and exit.</para>
117         </listitem>
118       </varlistentry>
119       <varlistentry>
120         <term><option>--replace</option></term>
121         <listitem>
122           <para>Replace the currently running window manager.</para>
123         </listitem>
124       </varlistentry>
125       <varlistentry>
126         <term><option>--config-file FILE</option></term>
127         <listitem>
128           <para>Specify the path to the config file to use.</para>
129         </listitem>
130       </varlistentry>
131       <varlistentry>
132         <term><option>--reconfigure</option></term>
133         <listitem>
134           <para>If Openbox is already running on the display, tell it to
135             reload its configuration.</para>
136         </listitem>
137       </varlistentry>
138       <varlistentry>
139         <term><option>--restart</option></term>
140         <listitem>
141           <para>If Openbox is already running on the display, tell it to
142             restart. This is useful if you have upgraded Openbox and don't
143             want to restart X.</para>
144         </listitem>
145       </varlistentry>
146       <varlistentry>
147         <term><option>--exit</option></term>
148         <listitem>
149           <para>Exit Openbox.</para>
150         </listitem>
151       </varlistentry>
152       <varlistentry>
153         <term><option>--sm-disable</option></term>
154         <listitem>
155           <para>Do not connect to the session manager.</para>
156         </listitem>
157       </varlistentry>
158       <varlistentry>
159         <term><option>--sync</option></term>
160         <listitem>
161           <para>Run in synchronous mode (for debugging).</para>
162         </listitem>
163       </varlistentry>
164       <varlistentry>
165         <term><option>--startup CMD</option></term>
166         <listitem>
167           <para>Run CMD after starting.</para>
168         </listitem>
169       </varlistentry>
170       <varlistentry>
171         <term><option>--debug</option></term>
172         <listitem>
173           <para>Display debugging output.</para>
174         </listitem>
175       </varlistentry>
176       <varlistentry>
177         <term><option>--debug-focus</option></term>
178         <listitem>
179           <para>Display debugging output for focus handling.</para>
180         </listitem>
181       </varlistentry>
182       <varlistentry>
183         <term><option>--debug-session</option></term>
184         <listitem>
185           <para>Display debugging output for session management.</para>
186         </listitem>
187       </varlistentry>
188       <varlistentry>
189         <term><option>--debug-xinerama</option></term>
190         <listitem>
191           <para>Split the display into two fake xinerama regions, if
192             xinerama is not already enabled. This is for debugging
193             xinerama support.</para>
194         </listitem>
195       </varlistentry>
196     </variablelist>
197   </refsect1>
198   <refsect1>
199     <title>SEE ALSO</title>
200
201     <para>obconf (1), openbox-session(1), openbox-gnome-session(1),
202       openbox-kde-session(1).</para>
203
204     <para>The program's full documentation is available on the website:
205       <literal>http://openbox.org/</literal></para>
206
207     <para>Please report bugs to: <literal>http://bugzilla.icculus.org/
208       </literal></para>
209   </refsect1>
210 </refentry>
211
212 <!-- Keep this comment at the end of the file
213 Local variables:
214 mode: sgml
215 sgml-omittag:t
216 sgml-shorttag:t
217 sgml-minimize-attributes:nil
218 sgml-always-quote-attributes:t
219 sgml-indent-step:2
220 sgml-indent-data:t
221 sgml-parent-document:nil
222 sgml-default-dtd-file:nil
223 sgml-exposed-tags:nil
224 sgml-local-catalogs:nil
225 sgml-local-ecat-files:nil
226 End:
227 -->
228
229