~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, Nico Golde, Eugenio Paolantonio
  • Date: 2011-10-03 22:59:30 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20111003225930-tdvyax5tx63dyoez
Tags: 3.5.0-1
[Nico Golde]
* New upstream release (Closes: #638783).
  - Fix crashes in the menu code (Closes: #563891).
* Add Brazilian translation to openbox.desktop,
  thanks Sérgio Cipolla (Closes: #627912).
* Remove 06_fix_swap_byte_order.patch, applied upstream.
* Bump debhelper dependency to >= 7.0.50~ due to override.
* Remove CHANGELOG from openbox.docs to prevent double installation.
* Add 02_fix_freedesktop_compliance.dpatch desktop file to
  /usr/share/applications.

[Eugenio Paolantonio]
* debian/patches:
  - Disabled 03_place_windows_in_quadrants.patch
  - Updated 01_rc.xml.patch and 06_fix_swap_byte_order.patch
  - Removed 04_fix_ftbfs_no-add-needed.patch and 20_24bits_support.patch
* debian/control:
  - Added myself to the Uploaders.
  - Build-Depends: removed libxau-dev, libxft-dev and python-xdg;
    added libimlib2-dev
  - openbox Suggests: added python-xdg
  - libobrender21 renamed to libobrender27
  - libobparser21 renamed to libobt0
* debian/rules:
  - Rewrote using a simpler debhelper syntax
  - Moved the install pass to openbox.install
* debian/*.{install,links,dirs}:
  - Updated.
* debian/openbox.xsession:
  - Removed. Openbox now ships it by default.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<!-- Do not edit this file, it will be overwritten on install.
4
4
        Copy the file to $HOME/.config/openbox/ instead. -->
5
5
 
6
 
<openbox_config xmlns="http://openbox.org/3.4/rc">
 
6
<openbox_config xmlns="http://openbox.org/3.4/rc"
 
7
                xmlns:xi="http://www.w3.org/2001/XInclude">
7
8
 
8
9
<resistance>
9
10
  <strength>10</strength>
35
36
  <center>yes</center>
36
37
  <!-- whether to place windows in the center of the free area found or
37
38
       the top left corner -->
38
 
  <monitor>Active</monitor>
 
39
  <monitor>Primary</monitor>
39
40
  <!-- with Smart placement on a multi-monitor system, try to place new windows
40
41
       on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
41
 
       the active window is -->
 
42
       the active window is, 'Primary' - only on the primary monitor -->
42
43
  <primaryMonitor>1</primaryMonitor>
43
44
  <!-- The monitor where Openbox should place popup dialogs such as the
44
45
       focus cycling popup, or the desktop switch popup.  It can be an index
98
99
    <slant>normal</slant>
99
100
    <!-- 'italic' or 'normal' -->
100
101
  </font>
101
 
  <font place="OnScreenDisplay">
 
102
  <font place="ActiveOnScreenDisplay">
 
103
    <name>sans</name>
 
104
    <size>9</size>
 
105
    <!-- font size in points -->
 
106
    <weight>bold</weight>
 
107
    <!-- 'bold' or 'normal' -->
 
108
    <slant>normal</slant>
 
109
    <!-- 'italic' or 'normal' -->
 
110
  </font>
 
111
  <font place="InactiveOnScreenDisplay">
102
112
    <name>sans</name>
103
113
    <size>9</size>
104
114
    <!-- font size in points -->
184
194
 
185
195
  <!-- Keybindings for desktop switching -->
186
196
  <keybind key="C-A-Left">
187
 
    <action name="DesktopLeft"><dialog>no</dialog><wrap>no</wrap></action>
 
197
    <action name="GoToDesktop"><to>left</to><wrap>no</wrap></action>
188
198
  </keybind>
189
199
  <keybind key="C-A-Right">
190
 
    <action name="DesktopRight"><dialog>no</dialog><wrap>no</wrap></action>
 
200
    <action name="GoToDesktop"><to>right</to><wrap>no</wrap></action>
191
201
  </keybind>
192
202
  <keybind key="C-A-Up">
193
 
    <action name="DesktopUp"><dialog>no</dialog><wrap>no</wrap></action>
 
203
    <action name="GoToDesktop"><to>up</to><wrap>no</wrap></action>
194
204
  </keybind>
195
205
  <keybind key="C-A-Down">
196
 
    <action name="DesktopDown"><dialog>no</dialog><wrap>no</wrap></action>
 
206
    <action name="GoToDesktop"><to>down</to><wrap>no</wrap></action>
197
207
  </keybind>
198
208
  <keybind key="S-A-Left">
199
 
    <action name="SendToDesktopLeft"><dialog>no</dialog><wrap>no</wrap></action>
 
209
    <action name="SendToDesktop"><to>left</to><wrap>no</wrap></action>
200
210
  </keybind>
201
211
  <keybind key="S-A-Right">
202
 
    <action name="SendToDesktopRight"><dialog>no</dialog><wrap>no</wrap></action>
 
212
    <action name="SendToDesktop"><to>right</to><wrap>no</wrap></action>
203
213
  </keybind>
204
214
  <keybind key="S-A-Up">
205
 
    <action name="SendToDesktopUp"><dialog>no</dialog><wrap>no</wrap></action>
 
215
    <action name="SendToDesktop"><to>up</to><wrap>no</wrap></action>
206
216
  </keybind>
207
217
  <keybind key="S-A-Down">
208
 
    <action name="SendToDesktopDown"><dialog>no</dialog><wrap>no</wrap></action>
 
218
    <action name="SendToDesktop"><to>down</to><wrap>no</wrap></action>
209
219
  </keybind>
210
220
  <keybind key="W-F1">
211
 
    <action name="Desktop"><desktop>1</desktop></action>
 
221
    <action name="GoToDesktop"><to>1</to></action>
212
222
  </keybind>
213
223
  <keybind key="W-F2">
214
 
    <action name="Desktop"><desktop>2</desktop></action>
 
224
    <action name="GoToDesktop"><to>2</to></action>
215
225
  </keybind>
216
226
  <keybind key="W-F3">
217
 
    <action name="Desktop"><desktop>3</desktop></action>
 
227
    <action name="GoToDesktop"><to>3</to></action>
218
228
  </keybind>
219
229
  <keybind key="W-F4">
220
 
    <action name="Desktop"><desktop>4</desktop></action>
 
230
    <action name="GoToDesktop"><to>4</to></action>
221
231
  </keybind>
222
232
  <keybind key="W-d">
223
233
    <action name="ToggleShowDesktop"/>
238
248
 
239
249
  <!-- Keybindings for window switching -->
240
250
  <keybind key="A-Tab">
241
 
    <action name="NextWindow"/>
 
251
    <action name="NextWindow">
 
252
      <finalactions>
 
253
        <action name="Focus"/>
 
254
        <action name="Raise"/>
 
255
        <action name="Unshade"/>
 
256
      </finalactions>
 
257
    </action>
242
258
  </keybind>
243
259
  <keybind key="A-S-Tab">
244
 
    <action name="PreviousWindow"/>
 
260
    <action name="PreviousWindow">
 
261
      <finalactions>
 
262
        <action name="Focus"/>
 
263
        <action name="Raise"/>
 
264
        <action name="Unshade"/>
 
265
      </finalactions>
 
266
    </action>
245
267
  </keybind>
246
268
  <keybind key="C-A-Tab">
247
269
    <action name="NextWindow">
248
270
      <panels>yes</panels><desktop>yes</desktop>
 
271
      <finalactions>
 
272
        <action name="Focus"/>
 
273
        <action name="Raise"/>
 
274
        <action name="Unshade"/>
 
275
      </finalactions>
 
276
    </action>
 
277
  </keybind>
 
278
 
 
279
  <!-- Keybindings for window switching with the arrow keys -->
 
280
  <keybind key="W-S-Right">
 
281
    <action name="DirectionalCycleWindows">
 
282
      <direction>right</direction>
 
283
    </action>
 
284
  </keybind>
 
285
  <keybind key="W-S-Left">
 
286
    <action name="DirectionalCycleWindows">
 
287
      <direction>left</direction>
 
288
    </action>
 
289
  </keybind>
 
290
  <keybind key="W-S-Up">
 
291
    <action name="DirectionalCycleWindows">
 
292
      <direction>up</direction>
 
293
    </action>
 
294
  </keybind>
 
295
  <keybind key="W-S-Down">
 
296
    <action name="DirectionalCycleWindows">
 
297
      <direction>down</direction>
249
298
    </action>
250
299
  </keybind>
251
300
 
262
311
</keyboard>
263
312
 
264
313
<mouse>
265
 
  <dragThreshold>8</dragThreshold>
 
314
  <dragThreshold>1</dragThreshold>
266
315
  <!-- number of pixels the mouse must move before a drag begins -->
267
316
  <doubleClickTime>200</doubleClickTime>
268
317
  <!-- in milliseconds (1000 = 1 second) -->
270
319
  <!-- Time before changing desktops when the pointer touches the edge of the
271
320
       screen while moving a window, in milliseconds (1000 = 1 second).
272
321
       Set this to 0 to disable warping -->
 
322
  <screenEdgeWarpMouse>false</screenEdgeWarpMouse>
 
323
  <!-- Set this to TRUE to move the mouse pointer across the desktop when
 
324
       switching due to hitting the edge of the screen -->
273
325
 
274
326
  <context name="Frame">
275
327
    <mousebind button="A-Left" action="Press">
299
351
    </mousebind>
300
352
 
301
353
    <mousebind button="A-Up" action="Click">
302
 
      <action name="DesktopPrevious"/>
 
354
      <action name="GoToDesktop"><to>previous</to></action>
303
355
    </mousebind>
304
356
    <mousebind button="A-Down" action="Click">
305
 
      <action name="DesktopNext"/>
 
357
      <action name="GoToDesktop"><to>next</to></action>
306
358
    </mousebind>
307
359
    <mousebind button="C-A-Up" action="Click">
308
 
      <action name="DesktopPrevious"/>
 
360
      <action name="GoToDesktop"><to>previous</to></action>
309
361
    </mousebind>
310
362
    <mousebind button="C-A-Down" action="Click">
311
 
      <action name="DesktopNext"/>
 
363
      <action name="GoToDesktop"><to>next</to></action>
312
364
    </mousebind>
313
365
    <mousebind button="A-S-Up" action="Click">
314
 
      <action name="SendToDesktopPrevious"/>
 
366
      <action name="SendToDesktop"><to>previous</to></action>
315
367
    </mousebind>
316
368
    <mousebind button="A-S-Down" action="Click">
317
 
      <action name="SendToDesktopNext"/>
 
369
      <action name="SendToDesktop"><to>next</to></action>
318
370
    </mousebind>
319
371
  </context>
320
372
 
321
373
  <context name="Titlebar">
322
 
    <mousebind button="Left" action="Press">
323
 
      <action name="Focus"/>
324
 
      <action name="Raise"/>
325
 
    </mousebind>
326
374
    <mousebind button="Left" action="Drag">
327
375
      <action name="Move"/>
328
376
    </mousebind>
329
377
    <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"/>
 
378
      <action name="ToggleMaximize"/>
337
379
    </mousebind>
338
380
 
339
381
    <mousebind button="Up" action="Click">
340
 
      <action name="Shade"/>
341
 
      <action name="FocusToBottom"/>
342
 
      <action name="Unfocus"/>
343
 
      <action name="Lower"/>
 
382
      <action name="if">
 
383
        <shaded>no</shaded>
 
384
        <then>
 
385
          <action name="Shade"/>
 
386
          <action name="FocusToBottom"/>
 
387
          <action name="Unfocus"/>
 
388
          <action name="Lower"/>
 
389
        </then>
 
390
      </action>
344
391
    </mousebind>
345
392
    <mousebind button="Down" action="Click">
 
393
      <action name="if">
 
394
        <shaded>yes</shaded>
 
395
        <then>
 
396
          <action name="Unshade"/>
 
397
          <action name="Raise"/>
 
398
        </then>
 
399
      </action>
 
400
    </mousebind>
 
401
  </context>
 
402
 
 
403
  <context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
 
404
    <mousebind button="Left" action="Press">
 
405
      <action name="Focus"/>
 
406
      <action name="Raise"/>
346
407
      <action name="Unshade"/>
347
 
      <action name="Raise"/>
 
408
    </mousebind>
 
409
 
 
410
    <mousebind button="Middle" action="Press">
 
411
      <action name="Lower"/>
 
412
      <action name="FocusToBottom"/>
 
413
      <action name="Unfocus"/>
348
414
    </mousebind>
349
415
 
350
416
    <mousebind button="Right" action="Press">
355
421
  </context>
356
422
 
357
423
  <context name="Top">
358
 
    <mousebind button="Left" action="Press">
359
 
      <action name="Focus"/>
360
 
      <action name="Raise"/>
361
 
      <action name="Unshade"/>
362
 
    </mousebind>
363
424
    <mousebind button="Left" action="Drag">
364
425
      <action name="Resize"><edge>top</edge></action>
365
426
    </mousebind>
366
427
  </context>
367
428
 
368
429
  <context name="Left">
369
 
    <mousebind button="Left" action="Press">
370
 
      <action name="Focus"/>
371
 
      <action name="Raise"/>
372
 
    </mousebind>
373
430
    <mousebind button="Left" action="Drag">
374
431
      <action name="Resize"><edge>left</edge></action>
375
432
    </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
433
  </context>
383
434
 
384
435
  <context name="Right">
385
 
    <mousebind button="Left" action="Press">
386
 
      <action name="Focus"/>
387
 
      <action name="Raise"/>
388
 
    </mousebind>
389
436
    <mousebind button="Left" action="Drag">
390
437
      <action name="Resize"><edge>right</edge></action>
391
438
    </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
439
  </context>
399
440
 
400
441
  <context name="Bottom">
401
 
    <mousebind button="Left" action="Press">
402
 
      <action name="Focus"/>
403
 
      <action name="Raise"/>
404
 
    </mousebind>
405
442
    <mousebind button="Left" action="Drag">
406
443
      <action name="Resize"><edge>bottom</edge></action>
407
444
    </mousebind>
408
445
 
409
 
    <mousebind button="Middle" action="Press">
410
 
      <action name="Lower"/>
411
 
      <action name="FocusToBottom"/>
412
 
      <action name="Unfocus"/>
413
 
    </mousebind>
414
 
 
415
446
    <mousebind button="Right" action="Press">
416
447
      <action name="Focus"/>
417
448
      <action name="Raise"/>
419
450
    </mousebind>
420
451
  </context>
421
452
 
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">
 
453
  <context name="TRCorner BRCorner TLCorner BLCorner">
454
454
    <mousebind button="Left" action="Press">
455
455
      <action name="Focus"/>
456
456
      <action name="Raise"/>
538
538
      <action name="Unshade"/>
539
539
    </mousebind>
540
540
    <mousebind button="Left" action="Click">
541
 
      <action name="ToggleMaximizeFull"/>
 
541
      <action name="ToggleMaximize"/>
542
542
    </mousebind>
543
543
    <mousebind button="Middle" action="Click">
544
 
      <action name="ToggleMaximizeVert"/>
 
544
      <action name="ToggleMaximize"><direction>vertical</direction></action>
545
545
    </mousebind>
546
546
    <mousebind button="Right" action="Click">
547
 
      <action name="ToggleMaximizeHorz"/>
 
547
      <action name="ToggleMaximize"><direction>horizontal</direction></action>
548
548
    </mousebind>
549
549
  </context>
550
550
 
561
561
 
562
562
  <context name="Desktop">
563
563
    <mousebind button="Up" action="Click">
564
 
      <action name="DesktopPrevious"/>
 
564
      <action name="GoToDesktop"><to>previous</to></action>
565
565
    </mousebind>
566
566
    <mousebind button="Down" action="Click">
567
 
      <action name="DesktopNext"/>
 
567
      <action name="GoToDesktop"><to>next</to></action>
568
568
    </mousebind>
569
569
 
570
570
    <mousebind button="A-Up" action="Click">
571
 
      <action name="DesktopPrevious"/>
 
571
      <action name="GoToDesktop"><to>previous</to></action>
572
572
    </mousebind>
573
573
    <mousebind button="A-Down" action="Click">
574
 
      <action name="DesktopNext"/>
 
574
      <action name="GoToDesktop"><to>next</to></action>
575
575
    </mousebind>
576
576
    <mousebind button="C-A-Up" action="Click">
577
 
      <action name="DesktopPrevious"/>
 
577
      <action name="GoToDesktop"><to>previous</to></action>
578
578
    </mousebind>
579
579
    <mousebind button="C-A-Down" action="Click">
580
 
      <action name="DesktopNext"/>
 
580
      <action name="GoToDesktop"><to>next</to></action>
581
581
    </mousebind>
582
582
 
583
583
    <mousebind button="Left" action="Press">
602
602
 
603
603
  <context name="MoveResize">
604
604
    <mousebind button="Up" action="Click">
605
 
      <action name="DesktopPrevious"/>
 
605
      <action name="GoToDesktop"><to>previous</to></action>
606
606
    </mousebind>
607
607
    <mousebind button="Down" action="Click">
608
 
      <action name="DesktopNext"/>
 
608
      <action name="GoToDesktop"><to>next</to></action>
609
609
    </mousebind>
610
610
    <mousebind button="A-Up" action="Click">
611
 
      <action name="DesktopPrevious"/>
 
611
      <action name="GoToDesktop"><to>previous</to></action>
612
612
    </mousebind>
613
613
    <mousebind button="A-Down" action="Click">
614
 
      <action name="DesktopNext"/>
 
614
      <action name="GoToDesktop"><to>next</to></action>
615
615
    </mousebind>
616
616
  </context>
617
617
</mouse>
647
647
<!--
648
648
  # this is an example with comments through out. use these to make your
649
649
  # own rules, but without the comments of course.
 
650
  # you may use one or more of the name/class/role/title/type rules to specify
 
651
  # windows to match
650
652
 
651
653
  <application name="the window's _OB_APP_NAME property (see obxprop)"
652
654
              class="the window's _OB_APP_CLASS property (see obxprop)"
653
655
               role="the window's _OB_APP_ROLE property (see obxprop)"
 
656
              title="the window's _OB_APP_TITLE property (see obxprop)"
654
657
               type="the window's _OB_APP_TYPE property (see obxprob)..
655
658
                      (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.
 
659
  # you may set only one of name/class/role/title/type, or you may use more
 
660
  # than one together to restrict your matches.
658
661
 
659
 
  # the name, class, and role use simple wildcard matching such as those
 
662
  # the name, class, role, and title use simple wildcard matching such as those
660
663
  # used by a shell. you can use * to match any characters and ? to match
661
664
  # any single character.
662
665