]> Dogcows Code - chaz/openbox/blob - doc/openbox.1.in
took bsetroot from Blackbox moving_target.. "bsetroot now sets xrootpmap_id, pseudo...
[chaz/openbox] / doc / openbox.1.in
1 .\"
2 .\" Man page for Openbox
3 .\"
4 .\" Copyright (c) 2000 by Wilbert Berendsen <wbsoft@xs4all.nl>
5 .\"
6 .\" This manual page may be freely distributed and modified.
7 .\" Parts of the text are taken from website and several README's
8 .\" by His Great Hughesness himself. Why reinvent wheels?
9 .\"
10 .\" Created with NEdit, tested with ``man'' and ``tkman.''
11 .\" This manpage uses only standard groff and tmac.an macros.
12 .\" To all translators who didn't do manpages earlier (like me ;-):
13 .\" Read the Man-Page-Mini-HOWTO and the LDP manpage ``man 7 man''
14 .\" There's all I needed to know about these macros.
15 .\"
16 .\" Updated for bb 0.61 at Sat Sep 9 06:56:04 CEST 2000
17 .\"
18 .\" ..define sort of <blockquote><pre> macro
19 .de EX
20 .ne 5
21 .if n .sp 1
22 .if t .sp .5
23 .nf
24 .in +.5i
25 ..
26 .de EE
27 .fi
28 .in -.5i
29 .if n .sp 1
30 .if t .sp .5
31 ..
32 .TH openbox 1 "April 8th, 2002" "@VERSION@"
33 .SH NAME
34 openbox \- a window manager for X11
35 .SH SYNOPSIS
36 .BR openbox " \-help | \-version"
37 .br
38 .B openbox
39 .RI "[ \-rc" " rcfile " "] [ \-display" " display " ]
40 .SH DESCRIPTION
41 .\"
42 .\" First few Paragraphs taken from FILLMEINNOW
43 .\"
44 .\"Openbox is yet another addition to the list of window managers for the Open
45 .\"Group's X Window System, Version 11 Release 6 and above.
46 .\"Openbox is built with C++, sharing no common code with any other window
47 .\"manager (even though the graphics implementation is similar to that of Window
48 .\"Maker).
49 .\".PP
50 .\"From the time the first line of code was written, Openbox has evolved around
51 .\"one premise, minimalism.
52 .\"It's not meant to be Eye Candy, nor the most Featureful, nor the most Adorned
53 .\"for modelling the Widely acclaimed NeXT interface.
54 .\"It is just meant to be
55 .\".BR fast .
56 .\".PP
57 .\"Openbox provides configurable window decorations, a root menu to launch
58 .\"applications, and a toolbar that shows the current workspace name, the focused
59 .\"application name, and the current time.
60 .\"There is also a workspace menu to add or remove workspaces. The `slit' can be
61 .\"used to dock small applications, e.g. most of the bbtools can use the slit.
62 .\".PP
63 .\"Openbox features a special kind of icon handling: When you minimize a window,
64 .\"no icon appears; instead, you can view all minimized applications in the `Icons'
65 .\"submenu of the workspace menu.
66 .\"Your desktop will never get cluttered with icons. As an alternative to icons,
67 .\"shaded windows are provided: A double click on the titlebar of a window will
68 .\"shade it (i.e. the window will disappear; only the titlebar stays visible).
69 .\".PP
70 .\"Openbox uses its own graphics class to render its images on the fly.
71 .\"By using style files, you can determine at a great level how your desktop looks.
72 .\"Openbox currently uses its own protocol to communicate with other clients such
73 .\"as the pager. Work is underway to support the new window manager specification
74 .\"that both GNOME and KDE use.
75 .SH OPTIONS
76 Openbox supports the following command line options:
77 .TP
78 .B \-help
79 Display command line options and compiled-in features, then exit.
80 .TP
81 .B \-version
82 Display version info and exit.
83 .TP
84 .BI \-rc \ rcfile
85 Use another rcfile than the default
86 .IR "~/.openbox/rc" .
87 .TP
88 .BI \-display \ display
89 Start Openbox on the specified display.
90 Programs started by Openbox will have the
91 .B DISPLAY
92 environment variable set to this value, too.
93 .SH RUNNING BLACKBOX
94 This program is usually started by the user's startup script, most times called
95 .IR ~/.xinitrc .
96 To run openbox, modify the script by adding
97 .EX 0
98 exec openbox
99 .EE
100 as the last executed command of the script.
101 When Openbox terminates, the X session will terminate too.
102 .PP
103 When started, Openbox will try to find a default menu file in
104 .IR @defaultmenu@ .
105 You can provide a system-wide menu for your users here.
106 .PP
107 On exit or restart, Openbox will save user defaults in the file
108 .I ~/.openbox/rc
109 in the user's home directory.
110 Some resources in this file can be edited by hand.
111 .SH USING BLACKBOX
112 From version 0.60.x, Openbox does no keyboard handling by itself; instead, it
113 relies on an external program
114 .IR bbkeys (1)
115 for this.
116 So, in this section, we will discuss all mouse commands.
117 .SS Root window (background):
118 A right click (button 3) will pop up the root menu.
119 With this, you can launch your applications.
120 You can also customize this menu for your needs. See above for its location.
121 A middle click (button 2) will pop up the workspace menu.
122 You can add or remove a workspace, view
123 applications running on all workspace, inspect your iconified applications,
124 and jump directly to any workspace or application.
125 .PP
126 Left clicking (button 1) on an application in the Workspaces menu will bring
127 you to that workspace and raise/focus that application;
128 middle clicking (button 2) will warp the application to the current workspace.
129 .SS Toolbar:
130 The toolbar consists of three fields: a workspace name, the name of the
131 window that currently has focus, and a clock.
132 A left click on the toolbar will bring it to the foreground, a
133 middle click will hide it behind other windows (if AlwaysOnTop is not set), and
134 the right button will bring up a little menu.
135 .PP
136 Using this menu, you can enter a name for the current workspace (when finished,
137 press Enter).
138 Also, you can choose the toolbar's position, whether or not it
139 should be always on top (i.e. it cannot be obscured by other windows),
140 and whether it should hide itself when the mouse moves away.
141 .PP
142 Note: In Openbox versions below 0.60.0, a right click on the toolbar
143 immediately entered workspace name edit mode.
144 .SS Window Titlebar and Borders:
145 A left click on any part of the window's border will raise it.
146 Dragging then moves the window.
147 Dragging the resize grips at the bottom left and bottom right
148 corners resizes the window.
149 Middle clicking will immediately lower the window.
150 Right clicking on the border or titlebar pops up the window menu,
151 containing these commands:
152 .TP
153 .B Send To...
154 Send window to another workspace.
155 When you select the workspace with the middle button, Openbox will
156 send you, along with the application, to the selected workspace.
157 .TP
158 .B Shade
159 Shade window (display titlebar only).
160 .TP
161 .B Iconify
162 Iconify window.
163 The `icon' can be found in the `Icons' submenu of the workspace menu. It will
164 *NOT* appear on screen otherwise.
165 .TP
166 .B Maximize
167 (Un)Maximize window.
168 When you click the middle button on this item, the
169 window will maximize only vertically.
170 .TP
171 .B Raise
172 Raise window.
173 .TP
174 .B Lower
175 Lower window.
176 .TP
177 .B Stick
178 (Un)Stick window.
179 A stuck window will always be displayed in the current workspace.
180 .TP
181 .B Kill Client
182 Kill (-SIGKILL) owner of window. Only use this if the client refuses to close.
183 .TP
184 .B Close
185 Close the application cleanly.
186 .PP
187 When you double click on the titlebar of a window, it will `shade', so
188 that only the titlebar stays visible.
189 Another double click will redisplay the window contents.
190 .SS Window Buttons:
191 The button at the left upper corner of a window is the Minimize button.
192 Clicking with any button causes the window to be iconified.
193 The rightmost button (with the X) closes the application.
194 The other button on the right (if present) maximizes the window in three ways:
195 Button 1 causes full screen maximization, button 2 maximizes the window only
196 vertically, and button 3 only horizontally.
197 .SS Any menu:
198 Clicking button 3 in a menu will popdown the menu.
199 Clicking button 1 on the titlebar of any (sub)menu and then dragging it somewhere
200 else will cause the menu to stay visible, and not disappear when you click on
201 a menu item.
202 .SS Miscellaneous:
203 When you want to drag a window, but cannot see either the bottom handle or its
204 titlebar, you can press Alt + button 1 anywhere in the window and then
205 drag it around.
206 You can also use Alt + button 1 to raise a partially visible window.
207 Finally, Alt + button 2 lowers a window, and Alt + button 3 resizes the window.
208 .SH MENU FILE
209 A default menu file is installed in
210 .IR @defaultmenu@ .
211 Of course, this system-wide menu can be customized for all users at once.
212 But it is also possible to create a personal menu.
213 It is a convention to use the directory
214 .IR "~/.openbox/"
215 in your home directory, and to create a menu file, e.g.
216 .I menu
217 in this directory, or copy the system-wide menu file to this location.
218 Next, we have to tell Openbox to load our menu file instead of the default.
219 This is accomplished by adding (or changing) a resource value in the
220 .I ~/.openbox/rc
221 file, e.g.:
222 .EX
223 session.menuFile: ~/.openbox/menu
224 .EE
225 For this change to take effect, Openbox has to be restarted.
226 Be sure that your menu is usable, then choose `Restart' from the default
227 Openbox root menu.
228 .SS Menu syntax
229 The menu syntax is very simple and very effective.
230 There are up to three fields in a menu line.
231 They are of the form:
232 .EX
233 [tag] (label or filename) {command or filename}
234 .EE
235 The supported tags are as follows:
236 .TP
237 .B [begin] (label for root menu)
238 This tells Openbox to start parsing the menu file.
239 This tag is required for Openbox to parse your menu file.
240 If it cannot find it, the system default menu is used instead.
241 .TP
242 .B [end]
243 This tells Openbox that it is at the end of a menu.
244 This can either be a submenu or the main root menu.
245 There must be at least one of these tags in your menu to correspond to the
246 required [begin] tag.
247 .TP
248 .B [exec] (label for command) {shell command}
249 Inserts a command item into the menu.
250 When you select the menu item from the menu, Openbox runs `shell command.'
251 .TP
252 .B [exit] (label for exit)
253 Inserts an item that shuts down and exits Openbox.
254 Any running programs are not closed.
255 .TP
256 .B [include] (filename)
257 Parses the file specified by
258 .I filename
259 and includes it with the current menu. The filename can be the full path to a
260 file, or it can begin with
261 .IR ~/ ,
262 which will be expanded into your home directory (e.g.
263 .EX
264 [include] (~/.openbox/stylesmenu)
265 .EE
266 will include
267 .I /home/bhughes/.openbox/stylesmenu
268 in my menu).
269 .TP
270 .B [nop] (label - optional)
271 Insert a non-operational item into the current menu.
272 This can be used to help format the menu into blocks or sections
273 if so desired.
274 .B [nop]
275 does accept a label, but it is not required, and a blank item will be used
276 if none is supplied.
277 .TP
278 .B [style] (label) {filename}
279 This tells Openbox to insert an item that, when selected, reads the style file
280 named
281 .I filename
282 and applies the new textures, colors, and fonts to the current
283 running session.
284 .TP
285 .B [stylesdir] (directory name)
286 Reads all filenames (directories are ignored) from the specified directory and
287 creates menu items in the current menu for every filename. Openbox assumes
288 that each file is a valid style file. When selected by the user, Openbox
289 applies the selected style file to the current session.
290 The labels that are created in the menu are the filenames of the style files.
291 .TP
292 .B [stylesmenu] (label) {directory name}
293 Creates a submenu entry with
294 .I label
295 (that is also the title of the new submenu), and inserts in that submenu all
296 filenames in the specified directory, in the same way as the
297 .B [stylesdir]
298 command does.
299 .IP
300 .RB Both\ [stylesdir] \ and\ [stylesmenu]
301 commands make it possible to install style files without editing your menu file.
302 .TP
303 .B [submenu] (label) {title for menu - optional}
304 This tells Openbox to create and parse a new menu.
305 This menu is inserted as a submenu into the parent menu.
306 These menus are parsed recursively, so there is no limit to the number of levels
307 or nested submenus you can have.
308 The title for the new menu is optional; if none is supplied,
309 the new menu's title is the same as the item label.
310 An
311 .B [end]
312 tag is required to end the submenu.
313 .TP
314 .B [reconfig] (label)
315 When selected, this item rereads the current style and menu files and
316 applies any changes.
317 This is useful for creating a new style or theme, as you don't have to
318 constantly restart Openbox every time you save your style.
319 However, Openbox automagically rereads the menu whenever it changes.
320 .TP
321 .B [restart] (label) {shell command - optional}
322 This tells Openbox to restart.
323 If `shell command' is supplied, it shuts down and runs the command (which is
324 commonly the name of another window manager).
325 If the command is omitted, Openbox restarts itself.
326 .TP
327 .B [config] (label)
328 Inserts a Openbox generated submenu item containing numerous configuration
329 options concerning window placement, focus style, window moving style, etc.
330 .TP
331 .B [workspaces] (label)
332 This tells Openbox to insert a link to the workspaces menu directly
333 into your menu.
334 This is handy for those users who can't access the
335 workspace menu directly (e.g. if you don't have a 3 button mouse).
336 .PP
337 Any line that starts with a `#' is considered a comment and ignored by Openbox.
338 Also, in the labels/commands/filenames fields,
339 you can escape any character like so:
340 .EX
341 [exec] (\\(my cool\\) \\{XTERM\\}) {xterm -T \\"cool XTERM\\"}
342 .EE
343 Using `\\\\' inserts a literal back-slash into the label/command/filename field.
344 .SS Menu example
345 Now let's put together some things.
346 Here is a short example of a menu file:
347 .PP
348 .nf
349 # Openbox menu file
350 [begin] (Openbox @version@)
351 [exec] (rxvt) {rxvt -ls}
352 [exec] (Mozilla) {mozilla}
353 [exec] (The GIMP) {gimp}
354 [submenu] (Window Manager)
355 [exec] (Edit Menus) {nedit .openbox/Menu}
356 [submenu] (Style) {Which Style?}
357 [stylesdir] (~/.openbox/styles)
358 [stylesmenu] (Openbox Styles) {@pkgdatadir@/styles}
359 [end]
360 [config] (Config Options)
361 [reconfig] (Reconfigure)
362 [restart] (Restart)
363 [end]
364 [exit] (Log Out)
365 [end]
366 # end of menu file
367 .fi
368 .SH STYLES
369 Openbox enables you to use specialized files that contain
370 .IR X (1)
371 resources to specify colors, textures, and fonts and therefore
372 the overall look of your window borders, menus, and the toolbar.
373 .PP
374 The default installation of Openbox provides some of these style files.
375 Usually they are put in
376 .IR @pkgdatadir@/styles .
377 You can study or edit these files to grasp how the Openbox style mechanism
378 works.
379 You can use the
380 .BR [style] ", " [stylesdir] " and " [stylesmenu]
381 menu commands in your menu file to be able to select and change between styles
382 on the fly.
383 .PP
384 You can also create a directory in your home directory (usually named
385 .I ~/.openbox/styles)
386 and put your own style files there.
387 Of course, you may choose any name for this directory, but many downloadable
388 themes will rely on the name
389 .I styles
390 (following the bb.themes.org naming scheme).
391 .PP
392 To understand how the style mechanism works, you should have a little knowledge
393 of how X resources work.
394 .PP
395 X resources consist of a key and a value.
396 The key is constructed of several smaller keys (sometimes referred to as
397 children), delimited by a period (`.').
398 Keys may also contain a star (`*') to serve as a wildcard, which means that one
399 line of typed text will match several keys.
400 This is useful for styles that are based on one or two colors.
401 .PP
402 Openbox allows you to configure its four main components: the toolbar, the
403 slit, the menus, and the window decorations.
404 .PP
405 The little window that shows the x-y position while dragging windows borrows
406 its style from the window's titlebar.
407 .PP
408 Here are some quick examples:
409 .EX
410 toolbar.clock.color: green
411 .EE
412 This sets the color resource of the toolbar clock to `green'. Another example:
413 .EX
414 menu*color: rgb:3/4/5
415 .EE
416 This sets the color resource of the menu
417 .I and all of its `children'
418 to `rgb:3/4/5'.
419 (For a description of color names, see
420 .IR X (1).)
421 So this one also applies to
422 .IR menu.title.color " and " menu.frame.color .
423 And with
424 .EX
425 *font: -b&h-lucida-medium-r-normal-*-*-140-*
426 .EE
427 you set the font resource for all keys to this font name all at once.
428 (For information about the fonts installed on your system, you can use a program like
429 .IR xfontsel "(1), " gtkfontsel ", or " xlsfonts "(1).)"
430 .PP
431 Now what makes Openbox just so spectacular is its ability to render textures
432 on the fly.
433 Texture descriptions are specified in a similar way to the colors shown above
434 e.g.:
435 .ta \w'toolbar.clock.colorTo:\ 'u
436 .EX
437 toolbar.clock: Raised Gradient Diagonal Bevel1
438 toolbar.clock.color: rgb:8/6/4
439 toolbar.clock.colorTo: rgb:4/3/2
440 .EE
441 Don't worry; we will explain right now!
442 A texture description consists of up to five fields, which are as follows:
443 .TP
444 .B Flat / Raised / Sunken
445 gives the component either a flat, raised, or sunken appearance.
446 .TP
447 .B Gradient / Solid
448 tells Openbox to draw either a solid color or a texture with gradient.
449 .TP
450 .B Horizontal / Vertical / Diagonal / Crossdiagonal / Pipecross / Elliptic / Rectangle / Pyramid
451 Select one of these texture types. They only work when
452 .B Gradient
453 is also specified!
454 .TP
455 .B Interlaced
456 tells Openbox to interlace the texture (darken every other line).
457 This option is most commonly used with gradiented textures, but, from Openbox
458 version 0.60.3 on, it also works in solid textures.
459 .TP
460 .B Bevel1 / Bevel2
461 tells Openbox which type of bevel to use.
462 Bevel1 is the default bevel.
463 The shading is placed on the edge of the image.
464 Bevel2 is an alternative.
465 The shading is placed one pixel in from the edge of the image.
466 .PP
467 Instead of a texture description, the option
468 .B ParentRelative
469 is also available, which makes the component appear as a part of its parent, i.e.
470 totally transparent.
471 .PP
472 All gradient textures are composed of two color values: the
473 .IR color " and " colorTo " resources."
474 color represents the initial color, colorTo represents the final color of the
475 gradient.
476 When
477 .B Interlaced
478 is used in
479 .B Solid
480 mode, the
481 .I colorTo
482 resource is used to specify the interlacing color.
483 .PP
484 Well, here is the complete component list; also, all components together with
485 which kind of value they can contain.
486 Comments are preceded with an exclamation sign (!), which is also used for
487 comments in Openbox style c.q. X resource files.
488 .PP
489 .ta \w'window.button.unfocus.picColor:\ 'u
490 .nf
491 .\"
492 .\" The comments also to be translated!
493 .\"
494 ! The toolbar itself.
495 toolbar: Texture
496 toolbar.color: Color
497 toolbar.colorTo: Color
498
499 ! The buttons on the toolbar.
500 toolbar.button: Texture or \fIParentRelative\fR
501 toolbar.button.color: Color
502 toolbar.button.colorTo: Color
503
504 ! Color of the button arrows.
505 toolbar.button.picColor: Color
506
507 ! Buttons in pressed state.
508 toolbar.button.pressed: Texture \fI(e.g. Sunken)\fR or \fIParentRelative\fR
509 toolbar.button.pressed.color: Color
510 toolbar.button.pressed.colorTo: Color
511
512 ! Color of pressed button arrows.
513 toolbar.button.pressed.picColor: Color
514
515 ! The toolbar workspace label.
516 toolbar.label: Texture or \fIParentRelative\fR
517 toolbar.label.color: Color
518 toolbar.label.colorTo: Color
519 toolbar.label.textColor: Color
520
521 ! The toolbar window label.
522 toolbar.windowLabel: Texture or \fIParentRelative\fR
523 toolbar.windowLabel.color: Color
524 toolbar.windowLabel.colorTo: Color
525 toolbar.windowLabel.textColor: Color
526
527 ! The toolbar clock.
528 toolbar.clock: Texture or \fIParentRelative\fR
529 toolbar.clock.color: Color
530 toolbar.clock.colorTo: Color
531 toolbar.clock.textColor: Color
532
533 ! How the toolbar's text should be justified.
534 toolbar.justify: \fIcenter\fR, \fIleft\fR, or \fIright\fR
535
536 ! Font to be used for all toolbar components.
537 toolbar.font: Font \fI(e.g. -*-helvetica-medium-r-normal-*-*-100-*)\fR
538
539 ! The menu titlebar.
540 menu.title: Texture
541 menu.title.color: Color
542 menu.title.colorTo: Color
543 menu.title.textColor: Color
544 menu.title.font: Font
545 menu.title.justify: \fIcenter\fR, \fIleft\fR, or \fIright\fR
546
547 ! The menu frame.
548 menu.frame: Texture
549 menu.frame.color: Color
550 menu.frame.colorTo: Color
551 menu.frame.textColor: Color
552 menu.frame.disableColor: Color
553 menu.frame.font: Font
554 menu.frame.justify: \fIcenter\fR, \fIleft\fR, or \fIright\fR
555
556 ! Bullets for submenu items.
557 menu.bullet: \fIempty\fR, \fItriangle\fR, \fIsquare\fR, or \fIdiamond\fR
558 menu.bullet.position: \fIright\fR or \fIleft\fR
559
560 ! The highlighted menu item.
561 menu.hilite: Texture (e.g. \fIRaised\fR)
562 menu.hilite.color: Color
563 menu.hilite.colorTo: Color
564 menu.hilite.textColor: Color
565
566 ! A focused window.
567 window.title.focus: Texture
568 window.title.focus.color: Color
569 window.title.focus.colorTo: Color
570
571 ! An unfocused window.
572 window.title.unfocus: Texture
573 window.title.unfocus.color: Color
574 window.title.unfocus.colorTo: Color
575
576 ! Window label.
577 window.label.focus: Texture or \fIParentRelative\fR
578 window.label.focus.color: Color
579 window.label.focus.colorTo: Color
580 window.label.focus.textColor: Color
581
582 window.label.unfocus: Texture or \fIParentRelative\fR
583 window.label.unfocus.color: Color
584 window.label.unfocus.colorTo: Color
585 window.label.unfocus.textColor: Color
586
587 ! Handlebar.
588 window.handle.focus: Texture
589 window.handle.focus.color: Color
590 window.handle.focus.colorTo: Color
591
592 window.handle.unfocus: Texture
593 window.handle.unfocus.color: Color
594 window.handle.unfocus.colorTo: Color
595
596 ! Resize grips.
597 window.grip.focus: Texture
598 window.grip.focus.color: Color
599 window.grip.focus.colorTo: Color
600
601 window.grip.unfocus: Texture
602 window.grip.unfocus.color: Color
603 window.grip.unfocus.colorTo: Color
604
605 ! Window buttons.
606 window.button.focus: Texture or \fIParentRelative\fR
607 window.button.focus.color: Color
608 window.button.focus.colorTo: Color
609 window.button.focus.picColor: Color
610
611 window.button.unfocus: Texture or \fIParentRelative\fR
612 window.button.unfocus.color: Color
613 window.button.unfocus.colorTo: Color
614 window.button.unfocus.picColor: Color
615
616 window.button.pressed: Texture (e.g. \fISunken\fR)
617 window.button.pressed.color: Color
618 window.button.pressed.colorTo: Color
619
620 ! Frame around window.
621 window.frame.focusColor: Color
622 window.frame.unfocusColor: Color
623
624 ! Font and justification for window labels.
625 window.font: Font
626 window.justify: \fIcenter\fR, \fIleft\fR, or \fIright\fR
627
628 ! Miscellaneous resources.
629
630 ! A border can be drawn around all components.
631 borderWidth: a number of pixels, e.g. \fI1\fR
632 borderColor: Color
633
634 bevelWidth: a number of pixels > 0
635 handleWidth: a number of pixels > 0
636
637 ! Width of the window frame (from version 0.61 on).
638 ! When not specified, frameWidth defaults to the value of bevelWidth.
639 frameWidth: a number of pixels >= 0
640
641
642 ! This command is executed whenever this style is selected.
643 ! Typically it sets the root window to a nice picture.
644 rootCommand: Shell command, e.g. \fIbsetroot -mod 4 4 -fg rgb: 5/6/6 -bg grey20\fR
645
646 ! Some of the bbtools read these old 0.51 resources.
647 menuFont: Font
648 titleFont: Font
649 .fi
650 .PP
651 Now, this seems a long list, but, remember, when you create your own style, you
652 can easily set lots of keys with a single command, e.g.
653 .EX
654 .ta \w'*unfocus.textColor:\ 'u
655 *color: slategrey
656 *colorTo: darkslategrey
657 *unfocus.color: darkslategrey
658 *unfocus.colorTo: black
659 *textColor: white
660 *unfocus.textColor: lightgrey
661 *font: lucidasans-10
662 .EE
663 This sets already nice defaults for many components.
664 .SH THE SLIT
665 The slit is a special Openbox window frame that can contain dockable
666 applications, e.g. the `bbtools' or WindowMaker's dockapps.
667 When applications are run in the slit, they have no window borders of their own;
668 instead, they are framed in the slit, and they are always visible in the current
669 workspace.
670 You can click button 3 on the edge of the slit window to get a menu to
671 determine its position, whether its contained applications should be grouped
672 horizontally or vertically and whether it should hide itself when the
673 mouse moves away.
674 .PP
675 Most dockable applications use the
676 .B -w
677 option to run in the slit.
678 For example, you could put in your
679 .IR ~/.xinitrc :
680 .EX
681 bbmail -w &
682 bbpager -w &
683 exec openbox
684 .EE
685 Of course, to use the slit, you must have slit support compiled in (this is
686 the default).
687 .SH RESOURCE FILE
688 Usually the
689 .I ~/.openbox/rc
690 resource file is created and maintained by Openbox itself.
691 All options from the
692 .B [config]
693 menu (from 0.60.x on), the last selected style file, your workspace names and
694 so on are saved automatically in this file.
695 However, there are some resources in it you might want to edit yourself:
696 .TP
697 .B session.menuFile:
698 This tells Openbox where to look for its menu file.
699 .TP
700 .B session.screen0.toolbar.widthPercent:
701 This determines the amount (in %) of space the toolbar will take.
702 Default value is:
703 .IR 66 .
704 .TP
705 .B session.screen0.strftimeFormat:
706 This adjusts the way the current time is displayed in the toolbar.
707 The
708 .IR strftime (3)
709 format is used.
710 Default value is:
711 .IR "%I:%M %p" .
712 .TP
713 .B session.autoRaiseDelay:
714 This adjusts the delay (in ms) before focused windows will raise when using the
715 Auto Raise option.
716 Default value is:
717 .IR 250 .
718 .TP
719 .B session.doubleClickInterval:
720 This adjusts the delay (in ms) between mouse clicks for Openbox to consider a double click.
721 Default value is:
722 .IR 250 .
723 .TP
724 .B session.screen0.edgeSnapThreshold:
725 When moving a window across your screen, Openbox is able to have it `snap' to
726 the edges of the screen for easy placement.
727 This variable tells Openbox the distance (in pixels) at which the window will
728 jump to the edge.
729 Default value is:
730 .IR 0 .
731 .TP
732 .B session.cacheMax:
733 This tells Openbox how much memory (in Kb) it may use to store cached pixmaps on
734 the X server.
735 If your machine runs short of memory, you may lower this value.
736 Default value is:
737 .IR 200 .
738 .TP
739 .B session.cacheLife:
740 This tells Openbox how long (in minutes) unused pixmaps may stay in the X
741 server's memory.
742 Default value is:
743 .IR 5 .
744 .TP
745 .B session.colorsPerChannel:
746 This tells Openbox how many colors to take from the X server on pseudocolor
747 displays. A channel would be red, green, or blue.
748 Openbox will allocate this variable ^ 3 colors and make them always available.
749 This value must be between 2 and 6.
750 When you run Openbox on an 8-bit display, you must set this resource to 4.
751 Default value is:
752 .IR 4.
753 .PP
754 When running Openbox in a multiple desktop environment, the
755 .B screen0
756 key can also be
757 .B screen1, 2
758 etc. for any appropriate desktop.
759 .SH ENVIRONMENT
760 .TP
761 .B HOME
762 Openbox uses
763 .RB $ HOME
764 to find its
765 .I .openbox/rc
766 file, and to resolve style file and directory names.
767 .TP
768 .B DISPLAY
769 When no other display was given on the command line, Openbox will start on the
770 display specified by this variable.
771 .SH AUTHOR and CREDITS
772 All of the code was initially written and maintained as Blackbox by Brad Hughes
773 .nh \" hyphenation off
774 (blackbox@alug.org)
775 .hy \" on again
776 and then Jeff Raven
777 .nh
778 (jraven@psu.edu),
779 .hy
780 and then Sean 'Shaleh' Perry
781 .nh
782 (shaleh@debian.org)
783 .hy
784 .hy
785 and is now maintained as Openbox by Ben Jansens
786 .nh
787 (ben@orodu.net)
788 .hy
789 with contributions and patches merged from
790 many individuals around the world.
791 .PP
792 The official Openbox website:
793 .nh
794 .B http://FILLMEINNOW/
795 .hy
796 .br
797 The bug and feature request page, as well as current releases can be found at:
798 .nh
799 .B http://FILLMEINNOW/
800 .hy
801 .br
802 Many themes and other contributions:
803 .nh
804 .B http://bb.themes.org/
805 .hy
806 .PP
807 This manpage was put together by Wilbert Berendsen
808 .nh
809 (wbsoft@xs4all.nl).
810 .hy
811 Numerous other languages will be available.
812 .SH SEE ALSO
813 .IR bsetroot (1), \ bbkeys (1) \" not there, yet ;-(
This page took 0.071538 seconds and 4 git commands to generate.