~ubuntu-branches/ubuntu/saucy/openbox/saucy-proposed

« back to all changes in this revision

Viewing changes to .pc/fix_center_window.patch/data/rc.xml

  • Committer: Package Import Robot
  • Author(s): Mateusz Łukasik
  • Date: 2013-10-07 14:58:17 UTC
  • mfrom: (12.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20131007145817-83jqr402jrv0q998
Tags: 3.5.2-3
* debian/control:
  + fix typo in depends openbox-dev package.

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