~ubuntu-branches/debian/sid/openbox/sid

« back to all changes in this revision

Viewing changes to .pc/01_rc.xml.patch/data/rc.xml

  • Committer: Bazaar Package Importer
  • Author(s): Nico Golde
  • Date: 2010-04-23 16:26:22 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20100423162622-glbe2jvey10sdiff
Tags: 3.4.11.1-1
* New upstream release (Closes: #570441).
  - removed wrong use of test command in openbox-gnome-session leading
    to misbehaviour with gnome sessions (Closes: #566685).
* Add obxprop to the installed files (Closes: #564292).
* Removed 04_escape_session_names.dpatch/03_nextprev-xinerama.dpatch
  completely from debian/, wasn't used anymore anyway.
* Bump standards version, no changes needed.
* Update install files for libobparser/libobrender and links in openbox-dev
  as the shared library minor version changed.
* Update install paths of openbox-dev files to reflect upstream changes
  and install all header files rather than pick them manually.
* Switch to regular paragraphs from asterisks in NEWS file.
* Change short description of openbox-dev to differ from openbox.
* Switch to dpkg-source 3.0 (quilt) format
  - switch from dpatch to quilt patches.
* Adding ${misc:Depends} to openbox-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
 
 
3
<!-- Do not edit this file, it will be overwritten on install.
 
4
        Copy the file to $HOME/.config/openbox/ instead. -->
 
5
 
 
6
<openbox_config xmlns="http://openbox.org/3.4/rc">
 
7
 
 
8
<resistance>
 
9
  <strength>10</strength>
 
10
  <screen_edge_strength>20</screen_edge_strength>
 
11
</resistance>
 
12
 
 
13
<focus>
 
14
  <focusNew>yes</focusNew>
 
15
  <!-- always try to focus new windows when they appear. other rules do
 
16
       apply -->
 
17
  <followMouse>no</followMouse>
 
18
  <!-- move focus to a window when you move the mouse into it -->
 
19
  <focusLast>yes</focusLast>
 
20
  <!-- focus the last used window when changing desktops, instead of the one
 
21
       under the mouse pointer. when followMouse is enabled -->
 
22
  <underMouse>no</underMouse>
 
23
  <!-- move focus under the mouse, even when the mouse is not moving -->
 
24
  <focusDelay>200</focusDelay>
 
25
  <!-- when followMouse is enabled, the mouse must be inside the window for
 
26
       this many milliseconds (1000 = 1 sec) before moving focus to it -->
 
27
  <raiseOnFocus>no</raiseOnFocus>
 
28
  <!-- when followMouse is enabled, and a window is given focus by moving the
 
29
       mouse into it, also raise the window -->
 
30
</focus>
 
31
 
 
32
<placement>
 
33
  <policy>Smart</policy>
 
34
  <!-- 'Smart' or 'UnderMouse' -->
 
35
  <center>yes</center>
 
36
  <!-- whether to place windows in the center of the free area found or
 
37
       the top left corner -->
 
38
  <monitor>Active</monitor>
 
39
  <!-- with Smart placement on a multi-monitor system, try to place new windows
 
40
       on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
 
41
       the active window is -->
 
42
  <primaryMonitor>1</primaryMonitor>
 
43
  <!-- The monitor where Openbox should place popup dialogs such as the
 
44
       focus cycling popup, or the desktop switch popup.  It can be an index
 
45
       from 1, specifying a particular monitor.  Or it can be one of the
 
46
       following: 'Mouse' - where the mouse is, or
 
47
                  'Active' - where the active window is -->
 
48
</placement>
 
49
 
 
50
<theme>
 
51
  <name>Clearlooks</name>
 
52
  <titleLayout>NLIMC</titleLayout>
 
53
  <!--
 
54
      available characters are NDSLIMC, each can occur at most once.
 
55
      N: window icon
 
56
      L: window label (AKA title).
 
57
      I: iconify
 
58
      M: maximize
 
59
      C: close
 
60
      S: shade (roll up/down)
 
61
      D: omnipresent (on all desktops).
 
62
  -->
 
63
  <keepBorder>yes</keepBorder>
 
64
  <animateIconify>yes</animateIconify>
 
65
  <font place="ActiveWindow">
 
66
    <name>sans</name>
 
67
    <size>8</size>
 
68
    <!-- font size in points -->
 
69
    <weight>bold</weight>
 
70
    <!-- 'bold' or 'normal' -->
 
71
    <slant>normal</slant>
 
72
    <!-- 'italic' or 'normal' -->
 
73
  </font>
 
74
  <font place="InactiveWindow">
 
75
    <name>sans</name>
 
76
    <size>8</size>
 
77
    <!-- font size in points -->
 
78
    <weight>bold</weight>
 
79
    <!-- 'bold' or 'normal' -->
 
80
    <slant>normal</slant>
 
81
    <!-- 'italic' or 'normal' -->
 
82
  </font>
 
83
  <font place="MenuHeader">
 
84
    <name>sans</name>
 
85
    <size>9</size>
 
86
    <!-- font size in points -->
 
87
    <weight>normal</weight>
 
88
    <!-- 'bold' or 'normal' -->
 
89
    <slant>normal</slant>
 
90
    <!-- 'italic' or 'normal' -->
 
91
  </font>
 
92
  <font place="MenuItem">
 
93
    <name>sans</name>
 
94
    <size>9</size>
 
95
    <!-- font size in points -->
 
96
    <weight>normal</weight>
 
97
    <!-- 'bold' or 'normal' -->
 
98
    <slant>normal</slant>
 
99
    <!-- 'italic' or 'normal' -->
 
100
  </font>
 
101
  <font place="OnScreenDisplay">
 
102
    <name>sans</name>
 
103
    <size>9</size>
 
104
    <!-- font size in points -->
 
105
    <weight>bold</weight>
 
106
    <!-- 'bold' or 'normal' -->
 
107
    <slant>normal</slant>
 
108
    <!-- 'italic' or 'normal' -->
 
109
  </font>
 
110
</theme>
 
111
 
 
112
<desktops>
 
113
  <!-- this stuff is only used at startup, pagers allow you to change them
 
114
       during a session
 
115
 
 
116
       these are default values to use when other ones are not already set
 
117
       by other applications, or saved in your session
 
118
 
 
119
       use obconf if you want to change these without having to log out
 
120
       and back in -->
 
121
  <number>4</number>
 
122
  <firstdesk>1</firstdesk>
 
123
  <names>
 
124
    <!-- set names up here if you want to, like this:
 
125
    <name>desktop 1</name>
 
126
    <name>desktop 2</name>
 
127
    -->
 
128
  </names>
 
129
  <popupTime>875</popupTime>
 
130
  <!-- The number of milliseconds to show the popup for when switching
 
131
       desktops.  Set this to 0 to disable the popup. -->
 
132
</desktops>
 
133
 
 
134
<resize>
 
135
  <drawContents>yes</drawContents>
 
136
  <popupShow>Nonpixel</popupShow>
 
137
  <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
 
138
  <popupPosition>Center</popupPosition>
 
139
  <!-- 'Center', 'Top', or 'Fixed' -->
 
140
  <popupFixedPosition>
 
141
    <!-- these are used if popupPosition is set to 'Fixed' -->
 
142
 
 
143
    <x>10</x>
 
144
    <!-- positive number for distance from left edge, negative number for
 
145
         distance from right edge, or 'Center' -->
 
146
    <y>10</y>
 
147
    <!-- positive number for distance from top edge, negative number for
 
148
         distance from bottom edge, or 'Center' -->
 
149
  </popupFixedPosition>
 
150
</resize>
 
151
 
 
152
<!-- You can reserve a portion of your screen where windows will not cover when
 
153
     they are maximized, or when they are initially placed.
 
154
     Many programs reserve space automatically, but you can use this in other
 
155
     cases. -->
 
156
<margins>
 
157
  <top>0</top>
 
158
  <bottom>0</bottom>
 
159
  <left>0</left>
 
160
  <right>0</right>
 
161
</margins>
 
162
 
 
163
<dock>
 
164
  <position>TopLeft</position>
 
165
  <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
 
166
  <floatingX>0</floatingX>
 
167
  <floatingY>0</floatingY>
 
168
  <noStrut>no</noStrut>
 
169
  <stacking>Above</stacking>
 
170
  <!-- 'Above', 'Normal', or 'Below' -->
 
171
  <direction>Vertical</direction>
 
172
  <!-- 'Vertical' or 'Horizontal' -->
 
173
  <autoHide>no</autoHide>
 
174
  <hideDelay>300</hideDelay>
 
175
  <!-- in milliseconds (1000 = 1 second) -->
 
176
  <showDelay>300</showDelay>
 
177
  <!-- in milliseconds (1000 = 1 second) -->
 
178
  <moveButton>Middle</moveButton>
 
179
  <!-- 'Left', 'Middle', 'Right' -->
 
180
</dock>
 
181
 
 
182
<keyboard>
 
183
  <chainQuitKey>C-g</chainQuitKey>
 
184
 
 
185
  <!-- Keybindings for desktop switching -->
 
186
  <keybind key="C-A-Left">
 
187
    <action name="DesktopLeft"><dialog>no</dialog><wrap>no</wrap></action>
 
188
  </keybind>
 
189
  <keybind key="C-A-Right">
 
190
    <action name="DesktopRight"><dialog>no</dialog><wrap>no</wrap></action>
 
191
  </keybind>
 
192
  <keybind key="C-A-Up">
 
193
    <action name="DesktopUp"><dialog>no</dialog><wrap>no</wrap></action>
 
194
  </keybind>
 
195
  <keybind key="C-A-Down">
 
196
    <action name="DesktopDown"><dialog>no</dialog><wrap>no</wrap></action>
 
197
  </keybind>
 
198
  <keybind key="S-A-Left">
 
199
    <action name="SendToDesktopLeft"><dialog>no</dialog><wrap>no</wrap></action>
 
200
  </keybind>
 
201
  <keybind key="S-A-Right">
 
202
    <action name="SendToDesktopRight"><dialog>no</dialog><wrap>no</wrap></action>
 
203
  </keybind>
 
204
  <keybind key="S-A-Up">
 
205
    <action name="SendToDesktopUp"><dialog>no</dialog><wrap>no</wrap></action>
 
206
  </keybind>
 
207
  <keybind key="S-A-Down">
 
208
    <action name="SendToDesktopDown"><dialog>no</dialog><wrap>no</wrap></action>
 
209
  </keybind>
 
210
  <keybind key="W-F1">
 
211
    <action name="Desktop"><desktop>1</desktop></action>
 
212
  </keybind>
 
213
  <keybind key="W-F2">
 
214
    <action name="Desktop"><desktop>2</desktop></action>
 
215
  </keybind>
 
216
  <keybind key="W-F3">
 
217
    <action name="Desktop"><desktop>3</desktop></action>
 
218
  </keybind>
 
219
  <keybind key="W-F4">
 
220
    <action name="Desktop"><desktop>4</desktop></action>
 
221
  </keybind>
 
222
  <keybind key="W-d">
 
223
    <action name="ToggleShowDesktop"/>
 
224
  </keybind>
 
225
 
 
226
  <!-- Keybindings for windows -->
 
227
  <keybind key="A-F4">
 
228
    <action name="Close"/>
 
229
  </keybind>
 
230
  <keybind key="A-Escape">
 
231
    <action name="Lower"/>
 
232
    <action name="FocusToBottom"/>
 
233
    <action name="Unfocus"/>
 
234
  </keybind>
 
235
  <keybind key="A-space">
 
236
    <action name="ShowMenu"><menu>client-menu</menu></action>
 
237
  </keybind>
 
238
 
 
239
  <!-- Keybindings for window switching -->
 
240
  <keybind key="A-Tab">
 
241
    <action name="NextWindow"/>
 
242
  </keybind>
 
243
  <keybind key="A-S-Tab">
 
244
    <action name="PreviousWindow"/>
 
245
  </keybind>
 
246
  <keybind key="C-A-Tab">
 
247
    <action name="NextWindow">
 
248
      <panels>yes</panels><desktop>yes</desktop>
 
249
    </action>
 
250
  </keybind>
 
251
 
 
252
  <!-- Keybindings for running applications -->
 
253
  <keybind key="W-e">
 
254
    <action name="Execute">
 
255
      <startupnotify>
 
256
        <enabled>true</enabled>
 
257
        <name>Konqueror</name>
 
258
      </startupnotify>
 
259
      <command>kfmclient openProfile filemanagement</command>
 
260
    </action>
 
261
  </keybind>
 
262
</keyboard>
 
263
 
 
264
<mouse>
 
265
  <dragThreshold>8</dragThreshold>
 
266
  <!-- number of pixels the mouse must move before a drag begins -->
 
267
  <doubleClickTime>200</doubleClickTime>
 
268
  <!-- in milliseconds (1000 = 1 second) -->
 
269
  <screenEdgeWarpTime>400</screenEdgeWarpTime>
 
270
  <!-- Time before changing desktops when the pointer touches the edge of the
 
271
       screen while moving a window, in milliseconds (1000 = 1 second).
 
272
       Set this to 0 to disable warping -->
 
273
 
 
274
  <context name="Frame">
 
275
    <mousebind button="A-Left" action="Press">
 
276
      <action name="Focus"/>
 
277
      <action name="Raise"/>
 
278
    </mousebind>
 
279
    <mousebind button="A-Left" action="Click">
 
280
      <action name="Unshade"/>
 
281
    </mousebind>
 
282
    <mousebind button="A-Left" action="Drag">
 
283
      <action name="Move"/>
 
284
    </mousebind>
 
285
 
 
286
    <mousebind button="A-Right" action="Press">
 
287
      <action name="Focus"/>
 
288
      <action name="Raise"/>
 
289
      <action name="Unshade"/>
 
290
    </mousebind>
 
291
    <mousebind button="A-Right" action="Drag">
 
292
      <action name="Resize"/>
 
293
    </mousebind> 
 
294
 
 
295
    <mousebind button="A-Middle" action="Press">
 
296
      <action name="Lower"/>
 
297
      <action name="FocusToBottom"/>
 
298
      <action name="Unfocus"/>
 
299
    </mousebind>
 
300
 
 
301
    <mousebind button="A-Up" action="Click">
 
302
      <action name="DesktopPrevious"/>
 
303
    </mousebind>
 
304
    <mousebind button="A-Down" action="Click">
 
305
      <action name="DesktopNext"/>
 
306
    </mousebind>
 
307
    <mousebind button="C-A-Up" action="Click">
 
308
      <action name="DesktopPrevious"/>
 
309
    </mousebind>
 
310
    <mousebind button="C-A-Down" action="Click">
 
311
      <action name="DesktopNext"/>
 
312
    </mousebind>
 
313
    <mousebind button="A-S-Up" action="Click">
 
314
      <action name="SendToDesktopPrevious"/>
 
315
    </mousebind>
 
316
    <mousebind button="A-S-Down" action="Click">
 
317
      <action name="SendToDesktopNext"/>
 
318
    </mousebind>
 
319
  </context>
 
320
 
 
321
  <context name="Titlebar">
 
322
    <mousebind button="Left" action="Press">
 
323
      <action name="Focus"/>
 
324
      <action name="Raise"/>
 
325
    </mousebind>
 
326
    <mousebind button="Left" action="Drag">
 
327
      <action name="Move"/>
 
328
    </mousebind>
 
329
    <mousebind button="Left" action="DoubleClick">
 
330
      <action name="ToggleMaximizeFull"/>
 
331
    </mousebind>
 
332
 
 
333
    <mousebind button="Middle" action="Press">
 
334
      <action name="Lower"/>
 
335
      <action name="FocusToBottom"/>
 
336
      <action name="Unfocus"/>
 
337
    </mousebind>
 
338
 
 
339
    <mousebind button="Up" action="Click">
 
340
      <action name="Shade"/>
 
341
      <action name="FocusToBottom"/>
 
342
      <action name="Unfocus"/>
 
343
      <action name="Lower"/>
 
344
    </mousebind>
 
345
    <mousebind button="Down" action="Click">
 
346
      <action name="Unshade"/>
 
347
      <action name="Raise"/>
 
348
    </mousebind>
 
349
 
 
350
    <mousebind button="Right" action="Press">
 
351
      <action name="Focus"/>
 
352
      <action name="Raise"/>
 
353
      <action name="ShowMenu"><menu>client-menu</menu></action>
 
354
    </mousebind>
 
355
  </context>
 
356
 
 
357
  <context name="Top">
 
358
    <mousebind button="Left" action="Press">
 
359
      <action name="Focus"/>
 
360
      <action name="Raise"/>
 
361
      <action name="Unshade"/>
 
362
    </mousebind>
 
363
    <mousebind button="Left" action="Drag">
 
364
      <action name="Resize"><edge>top</edge></action>
 
365
    </mousebind>
 
366
  </context>
 
367
 
 
368
  <context name="Left">
 
369
    <mousebind button="Left" action="Press">
 
370
      <action name="Focus"/>
 
371
      <action name="Raise"/>
 
372
    </mousebind>
 
373
    <mousebind button="Left" action="Drag">
 
374
      <action name="Resize"><edge>left</edge></action>
 
375
    </mousebind>
 
376
 
 
377
    <mousebind button="Right" action="Press">
 
378
      <action name="Focus"/>
 
379
      <action name="Raise"/>
 
380
      <action name="ShowMenu"><menu>client-menu</menu></action>
 
381
    </mousebind>
 
382
  </context>
 
383
 
 
384
  <context name="Right">
 
385
    <mousebind button="Left" action="Press">
 
386
      <action name="Focus"/>
 
387
      <action name="Raise"/>
 
388
    </mousebind>
 
389
    <mousebind button="Left" action="Drag">
 
390
      <action name="Resize"><edge>right</edge></action>
 
391
    </mousebind>
 
392
 
 
393
    <mousebind button="Right" action="Press">
 
394
      <action name="Focus"/>
 
395
      <action name="Raise"/>
 
396
      <action name="ShowMenu"><menu>client-menu</menu></action>
 
397
    </mousebind>
 
398
  </context>
 
399
 
 
400
  <context name="Bottom">
 
401
    <mousebind button="Left" action="Press">
 
402
      <action name="Focus"/>
 
403
      <action name="Raise"/>
 
404
    </mousebind>
 
405
    <mousebind button="Left" action="Drag">
 
406
      <action name="Resize"><edge>bottom</edge></action>
 
407
    </mousebind>
 
408
 
 
409
    <mousebind button="Middle" action="Press">
 
410
      <action name="Lower"/>
 
411
      <action name="FocusToBottom"/>
 
412
      <action name="Unfocus"/>
 
413
    </mousebind>
 
414
 
 
415
    <mousebind button="Right" action="Press">
 
416
      <action name="Focus"/>
 
417
      <action name="Raise"/>
 
418
      <action name="ShowMenu"><menu>client-menu</menu></action>
 
419
    </mousebind>
 
420
  </context>
 
421
 
 
422
  <context name="BLCorner">
 
423
    <mousebind button="Left" action="Press">
 
424
      <action name="Focus"/>
 
425
      <action name="Raise"/>
 
426
    </mousebind>
 
427
    <mousebind button="Left" action="Drag">
 
428
      <action name="Resize"/>
 
429
    </mousebind>
 
430
  </context>
 
431
 
 
432
  <context name="BRCorner">
 
433
    <mousebind button="Left" action="Press">
 
434
      <action name="Focus"/>
 
435
      <action name="Raise"/>
 
436
    </mousebind>
 
437
    <mousebind button="Left" action="Drag">
 
438
      <action name="Resize"/>
 
439
    </mousebind>
 
440
  </context>
 
441
 
 
442
  <context name="TLCorner">
 
443
    <mousebind button="Left" action="Press">
 
444
      <action name="Focus"/>
 
445
      <action name="Raise"/>
 
446
      <action name="Unshade"/>
 
447
    </mousebind>
 
448
    <mousebind button="Left" action="Drag">
 
449
      <action name="Resize"/>
 
450
    </mousebind>
 
451
  </context>
 
452
 
 
453
  <context name="TRCorner">
 
454
    <mousebind button="Left" action="Press">
 
455
      <action name="Focus"/>
 
456
      <action name="Raise"/>
 
457
      <action name="Unshade"/>
 
458
    </mousebind>
 
459
    <mousebind button="Left" action="Drag">
 
460
      <action name="Resize"/>
 
461
    </mousebind>
 
462
  </context>
 
463
 
 
464
  <context name="Client">
 
465
    <mousebind button="Left" action="Press">
 
466
      <action name="Focus"/>
 
467
      <action name="Raise"/>
 
468
    </mousebind>
 
469
    <mousebind button="Middle" action="Press">
 
470
      <action name="Focus"/>
 
471
      <action name="Raise"/>
 
472
    </mousebind>
 
473
    <mousebind button="Right" action="Press">
 
474
      <action name="Focus"/>
 
475
      <action name="Raise"/>
 
476
    </mousebind>
 
477
  </context>
 
478
 
 
479
  <context name="Icon">
 
480
    <mousebind button="Left" action="Press">
 
481
      <action name="Focus"/>
 
482
      <action name="Raise"/>
 
483
      <action name="Unshade"/>
 
484
      <action name="ShowMenu"><menu>client-menu</menu></action>
 
485
    </mousebind>
 
486
    <mousebind button="Right" action="Press">
 
487
      <action name="Focus"/>
 
488
      <action name="Raise"/>
 
489
      <action name="ShowMenu"><menu>client-menu</menu></action>
 
490
    </mousebind>
 
491
  </context>
 
492
 
 
493
  <context name="AllDesktops">
 
494
    <mousebind button="Left" action="Press">
 
495
      <action name="Focus"/>
 
496
      <action name="Raise"/>
 
497
      <action name="Unshade"/>
 
498
    </mousebind>
 
499
    <mousebind button="Left" action="Click">
 
500
      <action name="ToggleOmnipresent"/>
 
501
    </mousebind>
 
502
  </context>
 
503
 
 
504
  <context name="Shade">
 
505
    <mousebind button="Left" action="Press">
 
506
      <action name="Focus"/>
 
507
      <action name="Raise"/>
 
508
    </mousebind>
 
509
    <mousebind button="Left" action="Click">
 
510
      <action name="ToggleShade"/>
 
511
    </mousebind>
 
512
  </context>
 
513
 
 
514
  <context name="Iconify">
 
515
    <mousebind button="Left" action="Press">
 
516
      <action name="Focus"/>
 
517
      <action name="Raise"/>
 
518
    </mousebind>
 
519
    <mousebind button="Left" action="Click">
 
520
      <action name="Iconify"/>
 
521
    </mousebind>
 
522
  </context>
 
523
 
 
524
  <context name="Maximize">
 
525
    <mousebind button="Left" action="Press">
 
526
      <action name="Focus"/>
 
527
      <action name="Raise"/>
 
528
      <action name="Unshade"/>
 
529
    </mousebind>
 
530
    <mousebind button="Middle" action="Press">
 
531
      <action name="Focus"/>
 
532
      <action name="Raise"/>
 
533
      <action name="Unshade"/>
 
534
    </mousebind>
 
535
    <mousebind button="Right" action="Press">
 
536
      <action name="Focus"/>
 
537
      <action name="Raise"/>
 
538
      <action name="Unshade"/>
 
539
    </mousebind>
 
540
    <mousebind button="Left" action="Click">
 
541
      <action name="ToggleMaximizeFull"/>
 
542
    </mousebind>
 
543
    <mousebind button="Middle" action="Click">
 
544
      <action name="ToggleMaximizeVert"/>
 
545
    </mousebind>
 
546
    <mousebind button="Right" action="Click">
 
547
      <action name="ToggleMaximizeHorz"/>
 
548
    </mousebind>
 
549
  </context>
 
550
 
 
551
  <context name="Close">
 
552
    <mousebind button="Left" action="Press">
 
553
      <action name="Focus"/>
 
554
      <action name="Raise"/>
 
555
      <action name="Unshade"/>
 
556
    </mousebind>
 
557
    <mousebind button="Left" action="Click">
 
558
      <action name="Close"/>
 
559
    </mousebind>
 
560
  </context>
 
561
 
 
562
  <context name="Desktop">
 
563
    <mousebind button="Up" action="Click">
 
564
      <action name="DesktopPrevious"/>
 
565
    </mousebind>
 
566
    <mousebind button="Down" action="Click">
 
567
      <action name="DesktopNext"/>
 
568
    </mousebind>
 
569
 
 
570
    <mousebind button="A-Up" action="Click">
 
571
      <action name="DesktopPrevious"/>
 
572
    </mousebind>
 
573
    <mousebind button="A-Down" action="Click">
 
574
      <action name="DesktopNext"/>
 
575
    </mousebind>
 
576
    <mousebind button="C-A-Up" action="Click">
 
577
      <action name="DesktopPrevious"/>
 
578
    </mousebind>
 
579
    <mousebind button="C-A-Down" action="Click">
 
580
      <action name="DesktopNext"/>
 
581
    </mousebind>
 
582
 
 
583
    <mousebind button="Left" action="Press">
 
584
      <action name="Focus"/>
 
585
      <action name="Raise"/>
 
586
    </mousebind>
 
587
    <mousebind button="Right" action="Press">
 
588
      <action name="Focus"/>
 
589
      <action name="Raise"/>
 
590
    </mousebind>
 
591
  </context>
 
592
 
 
593
  <context name="Root">
 
594
    <!-- Menus -->
 
595
    <mousebind button="Middle" action="Press">
 
596
      <action name="ShowMenu"><menu>client-list-combined-menu</menu></action>
 
597
    </mousebind> 
 
598
    <mousebind button="Right" action="Press">
 
599
      <action name="ShowMenu"><menu>root-menu</menu></action>
 
600
    </mousebind>
 
601
  </context>
 
602
 
 
603
  <context name="MoveResize">
 
604
    <mousebind button="Up" action="Click">
 
605
      <action name="DesktopPrevious"/>
 
606
    </mousebind>
 
607
    <mousebind button="Down" action="Click">
 
608
      <action name="DesktopNext"/>
 
609
    </mousebind>
 
610
    <mousebind button="A-Up" action="Click">
 
611
      <action name="DesktopPrevious"/>
 
612
    </mousebind>
 
613
    <mousebind button="A-Down" action="Click">
 
614
      <action name="DesktopNext"/>
 
615
    </mousebind>
 
616
  </context>
 
617
</mouse>
 
618
 
 
619
<menu>
 
620
  <!-- You can specify more than one menu file in here and they are all loaded,
 
621
       just don't make menu ids clash or, well, it'll be kind of pointless -->
 
622
 
 
623
  <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
 
624
  <file>menu.xml</file>
 
625
  <hideDelay>200</hideDelay>
 
626
  <!-- if a press-release lasts longer than this setting (in milliseconds), the
 
627
       menu is hidden again -->
 
628
  <middle>no</middle>
 
629
  <!-- center submenus vertically about the parent entry -->
 
630
  <submenuShowDelay>100</submenuShowDelay>
 
631
  <!-- time to delay before showing a submenu after hovering over the parent
 
632
       entry.
 
633
       if this is a negative value, then the delay is infinite and the
 
634
       submenu will not be shown until it is clicked on -->
 
635
  <submenuHideDelay>400</submenuHideDelay>
 
636
  <!-- time to delay before hiding a submenu when selecting another
 
637
       entry in parent menu -->
 
638
       if this is a negative value, then the delay is infinite and the
 
639
       submenu will not be hidden until a different submenu is opened -->
 
640
  <applicationIcons>yes</applicationIcons>
 
641
  <!-- controls if icons appear in the client-list-(combined-)menu -->
 
642
  <manageDesktops>yes</manageDesktops>
 
643
  <!-- show the manage desktops section in the client-list-(combined-)menu -->
 
644
</menu>
 
645
 
 
646
<applications>
 
647
<!--
 
648
  # this is an example with comments through out. use these to make your
 
649
  # own rules, but without the comments of course.
 
650
 
 
651
  <application name="the window's _OB_APP_NAME property (see obxprop)"
 
652
              class="the window's _OB_APP_CLASS property (see obxprop)"
 
653
               role="the window's _OB_APP_ROLE property (see obxprop)"
 
654
               type="the window's _OB_APP_TYPE property (see obxprob)..
 
655
                      (if unspecified, then it is 'dialog' for child windows)">
 
656
  # you may set only one of name/class/role/type, or you may use more than one
 
657
  # together to restrict your matches.
 
658
 
 
659
  # the name, class, and role use simple wildcard matching such as those
 
660
  # used by a shell. you can use * to match any characters and ? to match
 
661
  # any single character.
 
662
 
 
663
  # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
 
664
  #    or desktop
 
665
 
 
666
  # when multiple rules match a window, they will all be applied, in the
 
667
  # order that they appear in this list
 
668
 
 
669
 
 
670
    # each rule element can be left out or set to 'default' to specify to not 
 
671
    # change that attribute of the window
 
672
 
 
673
    <decor>yes</decor>
 
674
    # enable or disable window decorations
 
675
 
 
676
    <shade>no</shade>
 
677
    # make the window shaded when it appears, or not
 
678
 
 
679
    <position force="no">
 
680
      # the position is only used if both an x and y coordinate are provided
 
681
      # (and not set to 'default')
 
682
      # when force is "yes", then the window will be placed here even if it
 
683
      # says you want it placed elsewhere.  this is to override buggy
 
684
      # applications who refuse to behave
 
685
      <x>center</x>
 
686
      # a number like 50, or 'center' to center on screen. use a negative number
 
687
      # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
 
688
      # right edge (or bottom).
 
689
      <y>200</y>
 
690
      <monitor>1</monitor>
 
691
      # specifies the monitor in a xinerama setup.
 
692
      # 1 is the first head, or 'mouse' for wherever the mouse is
 
693
    </position>
 
694
 
 
695
    <focus>yes</focus>
 
696
    # if the window should try be given focus when it appears. if this is set
 
697
    # to yes it doesn't guarantee the window will be given focus. some
 
698
    # restrictions may apply, but Openbox will try to
 
699
 
 
700
    <desktop>1</desktop>
 
701
    # 1 is the first desktop, 'all' for all desktops
 
702
 
 
703
    <layer>normal</layer>
 
704
    # 'above', 'normal', or 'below'
 
705
 
 
706
    <iconic>no</iconic>
 
707
    # make the window iconified when it appears, or not
 
708
 
 
709
    <skip_pager>no</skip_pager>
 
710
    # asks to not be shown in pagers
 
711
 
 
712
    <skip_taskbar>no</skip_taskbar>
 
713
    # asks to not be shown in taskbars. window cycling actions will also
 
714
    # skip past such windows
 
715
 
 
716
    <fullscreen>yes</fullscreen>
 
717
    # make the window in fullscreen mode when it appears
 
718
 
 
719
    <maximized>true</maximized>
 
720
    # 'Horizontal', 'Vertical' or boolean (yes/no)
 
721
  </application>
 
722
 
 
723
  # end of the example
 
724
-->
 
725
</applications>
 
726
 
 
727
</openbox_config>