~ubuntu-branches/ubuntu/saucy/lubuntu-default-settings/saucy

« back to all changes in this revision

Viewing changes to usr/share/lubuntu/openbox/qt-rc.xml

  • Committer: Package Import Robot
  • Author(s): Julien Lavergne, Julien Lavergne, Stéphane Graber
  • Date: 2013-07-01 00:16:48 UTC
  • Revision ID: package-import@ubuntu.com-20130701001648-njdb18ugm41v5zxz
Tags: 0.32
[ Julien Lavergne ]
* Add a new QLubuntu session, by using only Qt applications 
* usr/bin/start*
 - Remove gnome-keyring workaround, since we have the proper fix for ssh.
* Use x-www-browser and x-terminal-emulator in more places.
* debian/*
 - Update with the new QLubuntu session.
* debian/control:
 - Depends on lxsession-logout since it's a separate binary.
* etc/xdg/lxsession :
 - Use new lxsession features instead of autostart commands.
 - Add conffiles configuration files.
* usr/share/lubuntu/openbox/menu.xml & rc.xml
 - Use lxsession-default when it's available.
* usr/share/lubuntu/pcmanfm/main.lubuntu
 - Use lxsession-default for terminal
* usr/share/lubuntu/pcmanfm/main.lubuntu & etc/xdg/lubuntu/libfm/libfm.conf
 - Rebase with new upstream options.
* etc/xdg/lubuntu/applications/defaults.list
 - Use firefox instead of chromium-browser.
* usr/bin
 - Remove startlubuntu* scripts, handle by lxsession (LP: #579524).
* usr/share/applications/
 - Use lxlock and lxsession-default for .desktop files.
* usr/share/xsessions/
 - Use only lxsession to start the sessions.

[ Stéphane Graber ]
* Add lxsession upstart user job.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!-- Do not edit this file, it will be overwritten on install.
 
3
        Copy the file to $HOME/.config/openbox/ instead. -->
 
4
<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
 
5
  <resistance>
 
6
    <strength>10</strength>
 
7
    <screen_edge_strength>20</screen_edge_strength>
 
8
  </resistance>
 
9
  <focus>
 
10
    <focusNew>yes</focusNew>
 
11
    <!-- always try to focus new windows when they appear. other rules do
 
12
       apply -->
 
13
    <followMouse>no</followMouse>
 
14
    <!-- move focus to a window when you move the mouse into it -->
 
15
    <focusLast>yes</focusLast>
 
16
    <!-- focus the last used window when changing desktops, instead of the one
 
17
       under the mouse pointer. when followMouse is enabled -->
 
18
    <underMouse>no</underMouse>
 
19
    <!-- move focus under the mouse, even when the mouse is not moving -->
 
20
    <focusDelay>200</focusDelay>
 
21
    <!-- when followMouse is enabled, the mouse must be inside the window for
 
22
       this many milliseconds (1000 = 1 sec) before moving focus to it -->
 
23
    <raiseOnFocus>no</raiseOnFocus>
 
24
    <!-- when followMouse is enabled, and a window is given focus by moving the
 
25
       mouse into it, also raise the window -->
 
26
  </focus>
 
27
  <placement>
 
28
    <policy>Smart</policy>
 
29
    <!-- 'Smart' or 'UnderMouse' -->
 
30
    <center>yes</center>
 
31
    <!-- whether to place windows in the center of the free area found or
 
32
       the top left corner -->
 
33
    <monitor>Mouse</monitor>
 
34
    <!-- with Smart placement on a multi-monitor system, try to place new windows
 
35
       on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
 
36
       the active window is, 'Primary' - only on the primary monitor -->
 
37
    <primaryMonitor>Mouse</primaryMonitor>
 
38
    <!-- The monitor where Openbox should place popup dialogs such as the
 
39
       focus cycling popup, or the desktop switch popup.  It can be an index
 
40
       from 1, specifying a particular monitor.  Or it can be one of the
 
41
       following: 'Mouse' - where the mouse is, or
 
42
                  'Active' - where the active window is -->
 
43
  </placement>
 
44
  <theme>
 
45
    <name>Lubuntu-default</name>
 
46
    <titleLayout>NLIMC</titleLayout>
 
47
    <!--
 
48
      available characters are NDSLIMC, each can occur at most once.
 
49
      N: window icon
 
50
      L: window label (AKA title).
 
51
      I: iconify
 
52
      M: maximize
 
53
      C: close
 
54
      S: shade (roll up/down)
 
55
      D: omnipresent (on all desktops).
 
56
  -->
 
57
    <keepBorder>yes</keepBorder>
 
58
    <animateIconify>yes</animateIconify>
 
59
    <font place="ActiveWindow">
 
60
      <name>Ubuntu Medium</name>
 
61
      <size>11</size>
 
62
      <!-- font size in points -->
 
63
      <weight>bold</weight>
 
64
      <!-- 'bold' or 'normal' -->
 
65
      <slant>normal</slant>
 
66
      <!-- 'italic' or 'normal' -->
 
67
    </font>
 
68
    <font place="InactiveWindow">
 
69
      <name>Ubuntu Medium</name>
 
70
      <size>11</size>
 
71
      <!-- font size in points -->
 
72
      <weight>bold</weight>
 
73
      <!-- 'bold' or 'normal' -->
 
74
      <slant>normal</slant>
 
75
      <!-- 'italic' or 'normal' -->
 
76
    </font>
 
77
    <font place="MenuHeader">
 
78
      <name>Ubuntu</name>
 
79
      <size>11</size>
 
80
      <!-- font size in points -->
 
81
      <weight>normal</weight>
 
82
      <!-- 'bold' or 'normal' -->
 
83
      <slant>normal</slant>
 
84
      <!-- 'italic' or 'normal' -->
 
85
    </font>
 
86
    <font place="MenuItem">
 
87
      <name>Ubuntu</name>
 
88
      <size>11</size>
 
89
      <!-- font size in points -->
 
90
      <weight>normal</weight>
 
91
      <!-- 'bold' or 'normal' -->
 
92
      <slant>normal</slant>
 
93
      <!-- 'italic' or 'normal' -->
 
94
    </font>
 
95
    <font place="ActiveOnScreenDisplay">
 
96
      <name>Ubuntu Medium</name>
 
97
      <size>11</size>
 
98
      <!-- font size in points -->
 
99
      <weight>bold</weight>
 
100
      <!-- 'bold' or 'normal' -->
 
101
      <slant>normal</slant>
 
102
      <!-- 'italic' or 'normal' -->
 
103
    </font>
 
104
    <font place="InactiveOnScreenDisplay">
 
105
      <name>Ubuntu Medium</name>
 
106
      <size>11</size>
 
107
      <!-- font size in points -->
 
108
      <weight>bold</weight>
 
109
      <!-- 'bold' or 'normal' -->
 
110
      <slant>normal</slant>
 
111
      <!-- 'italic' or 'normal' -->
 
112
    </font>
 
113
  </theme>
 
114
  <desktops>
 
115
    <!-- this stuff is only used at startup, pagers allow you to change them
 
116
       during a session
 
117
 
 
118
       these are default values to use when other ones are not already set
 
119
       by other applications, or saved in your session
 
120
 
 
121
       use obconf if you want to change these without having to log out
 
122
       and back in -->
 
123
    <number>2</number>
 
124
    <firstdesk>1</firstdesk>
 
125
    <names>
 
126
      <!-- set names up here if you want to, like this:
 
127
    <name>desktop 1</name>
 
128
    <name>desktop 2</name>
 
129
    -->
 
130
    </names>
 
131
    <popupTime>875</popupTime>
 
132
    <!-- The number of milliseconds to show the popup for when switching
 
133
       desktops.  Set this to 0 to disable the popup. -->
 
134
  </desktops>
 
135
  <resize>
 
136
    <drawContents>no</drawContents>
 
137
    <popupShow>Nonpixel</popupShow>
 
138
    <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
 
139
    <popupPosition>Center</popupPosition>
 
140
    <!-- 'Center', 'Top', or 'Fixed' -->
 
141
    <popupFixedPosition>
 
142
      <!-- these are used if popupPosition is set to 'Fixed' -->
 
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
  <!-- You can reserve a portion of your screen where windows will not cover when
 
152
     they are maximized, or when they are initially placed.
 
153
     Many programs reserve space automatically, but you can use this in other
 
154
     cases. -->
 
155
  <margins>
 
156
    <top>0</top>
 
157
    <bottom>0</bottom>
 
158
    <left>0</left>
 
159
    <right>0</right>
 
160
  </margins>
 
161
  <dock>
 
162
    <position>TopLeft</position>
 
163
    <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
 
164
    <floatingX>0</floatingX>
 
165
    <floatingY>0</floatingY>
 
166
    <noStrut>no</noStrut>
 
167
    <stacking>Above</stacking>
 
168
    <!-- 'Above', 'Normal', or 'Below' -->
 
169
    <direction>Vertical</direction>
 
170
    <!-- 'Vertical' or 'Horizontal' -->
 
171
    <autoHide>no</autoHide>
 
172
    <hideDelay>300</hideDelay>
 
173
    <!-- in milliseconds (1000 = 1 second) -->
 
174
    <showDelay>300</showDelay>
 
175
    <!-- in milliseconds (1000 = 1 second) -->
 
176
    <moveButton>Middle</moveButton>
 
177
    <!-- 'Left', 'Middle', 'Right' -->
 
178
  </dock>
 
179
  <keyboard>
 
180
    <chainQuitKey>C-g</chainQuitKey>
 
181
    <!-- Keybindings for desktop switching -->
 
182
    <keybind key="C-A-Left">
 
183
      <action name="GoToDesktop">
 
184
        <to>left</to>
 
185
        <wrap>no</wrap>
 
186
      </action>
 
187
    </keybind>
 
188
    <keybind key="C-A-Right">
 
189
      <action name="GoToDesktop">
 
190
        <to>right</to>
 
191
        <wrap>no</wrap>
 
192
      </action>
 
193
    </keybind>
 
194
    <keybind key="C-A-Up">
 
195
      <action name="GoToDesktop">
 
196
        <to>up</to>
 
197
        <wrap>no</wrap>
 
198
      </action>
 
199
    </keybind>
 
200
    <keybind key="C-A-Down">
 
201
      <action name="GoToDesktop">
 
202
        <to>down</to>
 
203
        <wrap>no</wrap>
 
204
      </action>
 
205
    </keybind>
 
206
    <keybind key="S-A-Left">
 
207
      <action name="SendToDesktop">
 
208
        <to>left</to>
 
209
        <wrap>no</wrap>
 
210
      </action>
 
211
    </keybind>
 
212
    <keybind key="S-A-Right">
 
213
      <action name="SendToDesktop">
 
214
        <to>right</to>
 
215
        <wrap>no</wrap>
 
216
      </action>
 
217
    </keybind>
 
218
    <keybind key="S-A-Up">
 
219
      <action name="SendToDesktop">
 
220
        <to>up</to>
 
221
        <wrap>no</wrap>
 
222
      </action>
 
223
    </keybind>
 
224
    <keybind key="S-A-Down">
 
225
      <action name="SendToDesktop">
 
226
        <to>down</to>
 
227
        <wrap>no</wrap>
 
228
      </action>
 
229
    </keybind>
 
230
    <keybind key="W-F1">
 
231
      <action name="GoToDesktop">
 
232
        <to>1</to>
 
233
      </action>
 
234
    </keybind>
 
235
    <keybind key="W-F2">
 
236
      <action name="GoToDesktop">
 
237
        <to>2</to>
 
238
      </action>
 
239
    </keybind>
 
240
    <keybind key="W-F3">
 
241
      <action name="GoToDesktop">
 
242
        <to>3</to>
 
243
      </action>
 
244
    </keybind>
 
245
    <keybind key="W-F4">
 
246
      <action name="GoToDesktop">
 
247
        <to>4</to>
 
248
      </action>
 
249
    </keybind>
 
250
    <keybind key="W-d">
 
251
      <action name="ToggleShowDesktop"/>
 
252
    </keybind>
 
253
    <!-- Keybindings for windows -->
 
254
    <keybind key="A-F4">
 
255
      <action name="Close"/>
 
256
    </keybind>
 
257
    <keybind key="A-Escape">
 
258
      <action name="Lower"/>
 
259
      <action name="FocusToBottom"/>
 
260
      <action name="Unfocus"/>
 
261
    </keybind>
 
262
    <keybind key="A-space">
 
263
      <action name="ShowMenu">
 
264
        <menu>client-menu</menu>
 
265
      </action>
 
266
    </keybind>
 
267
    <!-- Take a screenshot of the current window with scrot when Alt+Print are pressed -->
 
268
    <keybind key="A-Print">
 
269
      <action name="Execute">
 
270
        <command>scrot -u -b</command>
 
271
      </action>
 
272
    </keybind>
 
273
    <!-- Keybindings for window switching -->
 
274
    <keybind key="A-Tab">
 
275
      <action name="NextWindow">
 
276
        <dialog>icons</dialog>
 
277
        <finalactions>
 
278
          <action name="Focus"/>
 
279
          <action name="Raise"/>
 
280
          <action name="Unshade"/>
 
281
        </finalactions>
 
282
      </action>
 
283
    </keybind>
 
284
    <keybind key="A-S-Tab">
 
285
      <action name="PreviousWindow">
 
286
        <finalactions>
 
287
          <action name="Focus"/>
 
288
          <action name="Raise"/>
 
289
          <action name="Unshade"/>
 
290
        </finalactions>
 
291
      </action>
 
292
    </keybind>
 
293
    <keybind key="C-A-Tab">
 
294
      <action name="NextWindow">
 
295
        <panels>yes</panels>
 
296
        <desktop>yes</desktop>
 
297
        <finalactions>
 
298
          <action name="Focus"/>
 
299
          <action name="Raise"/>
 
300
          <action name="Unshade"/>
 
301
        </finalactions>
 
302
      </action>
 
303
    </keybind>
 
304
    <!-- Keybindings for window switching with the arrow keys -->
 
305
    <keybind key="W-S-Right">
 
306
      <action name="DirectionalCycleWindows">
 
307
        <direction>right</direction>
 
308
      </action>
 
309
    </keybind>
 
310
    <keybind key="W-S-Left">
 
311
      <action name="DirectionalCycleWindows">
 
312
        <direction>left</direction>
 
313
      </action>
 
314
    </keybind>
 
315
    <keybind key="W-S-Up">
 
316
      <action name="DirectionalCycleWindows">
 
317
        <direction>up</direction>
 
318
      </action>
 
319
    </keybind>
 
320
    <keybind key="W-S-Down">
 
321
      <action name="DirectionalCycleWindows">
 
322
        <direction>down</direction>
 
323
      </action>
 
324
    </keybind>
 
325
    <!-- Keybindings for window tiling -->
 
326
    <keybind key="W-Left">        # HalfLeftScreen
 
327
      <action name="UnmaximizeFull"/>
 
328
      <action name="MoveResizeTo">
 
329
        <x>0</x>
 
330
        <y>0</y>
 
331
        <height>97%</height>
 
332
        <width>50%</width>
 
333
      </action>
 
334
    </keybind>
 
335
    <keybind key="W-Right">        # HalfRightScreen
 
336
      <action name="UnmaximizeFull"/>
 
337
      <action name="MoveResizeTo">
 
338
        <x>-0</x>
 
339
        <y>0</y>
 
340
        <height>97%</height>
 
341
        <width>50%</width>
 
342
      </action>
 
343
    </keybind>
 
344
    <keybind key="W-Up">        # HalfUpperScreen
 
345
      <action name="UnmaximizeFull"/>
 
346
      <action name="MoveResizeTo">
 
347
        <x>0</x>
 
348
        <y>0</y>
 
349
        <width>100%</width>
 
350
        <height>50%</height>
 
351
      </action>
 
352
    </keybind>
 
353
    <keybind key="W-Down">        # HalfLowerScreen
 
354
      <action name="UnmaximizeFull"/>
 
355
      <action name="MoveResizeTo">
 
356
        <x>0</x>
 
357
        <y>-0</y>
 
358
        <width>100%</width>
 
359
        <height>50%</height>
 
360
      </action>
 
361
    </keybind>
 
362
    <!-- Keybindings for running applications on Home + E -->
 
363
    <keybind key="W-e">
 
364
      <action name="Execute">
 
365
        <startupnotify>
 
366
          <enabled>true</enabled>
 
367
          <name>PCManFM</name>
 
368
        </startupnotify>
 
369
        <command>pcmanfm-qt</command>
 
370
      </action>
 
371
    </keybind>
 
372
    <!-- Keybindings for running Run menu from Lxpanel on Home + R-->
 
373
    <keybind key="W-r">
 
374
      <action name="Execute">
 
375
        <command>lxpanelctl run</command>
 
376
      </action>
 
377
    </keybind>
 
378
    <keybind key="A-F2">
 
379
      <action name="Execute">
 
380
        <command>lxpanelctl run</command>
 
381
      </action>
 
382
    </keybind>
 
383
    <!-- Keybindings for running Menu from Lxpanel -->
 
384
    <keybind key="A-F1">
 
385
      <action name="Execute">
 
386
        <command>lxpanelctl menu</command>
 
387
      </action>
 
388
    </keybind>
 
389
    <keybind key="C-Escape">
 
390
      <action name="Execute">
 
391
        <command>lxpanelctl menu</command>
 
392
      </action>
 
393
    </keybind>
 
394
    <!-- Keybindings to toggle fullscreen -->
 
395
    <keybind key="F11">
 
396
      <action name="ToggleFullscreen"/>
 
397
    </keybind>
 
398
    <!-- Launch task manager on Ctrl + Alt + Del-->
 
399
    <keybind key="C-A-Delete">
 
400
      <action name="Execute">
 
401
        <command>lxtask</command>
 
402
      </action>
 
403
    </keybind>
 
404
    <!-- Launch a terminal on Ctrl + Alt + T-->
 
405
    <keybind key="C-A-T">
 
406
      <action name="Execute">
 
407
        <command>x-terminal-emulator</command>
 
408
      </action>
 
409
    </keybind>
 
410
    <!-- Launch a filemanager on Ctrl + Alt + D-->
 
411
    <keybind key="C-A-D">
 
412
      <action name="Execute">
 
413
        <startupnotify>
 
414
          <enabled>true</enabled>
 
415
          <name>PCManFM</name>
 
416
        </startupnotify>
 
417
        <command>pcmanfm-qt</command>
 
418
      </action>
 
419
    </keybind>
 
420
    <!-- Lock the screen on Ctrl + Alt + l-->
 
421
    <keybind key="C-A-l">
 
422
      <action name="Execute">
 
423
        <command>lxlock</command>
 
424
      </action>
 
425
    </keybind>
 
426
    <!-- Keybinding for Volume management -->
 
427
    <keybind key="XF86AudioRaiseVolume">
 
428
        <action name="Execute">
 
429
            <command>amixer -q sset Master 3%+ unmute</command>
 
430
        </action>
 
431
    </keybind>
 
432
    <keybind key="XF86AudioLowerVolume">
 
433
        <action name="Execute">
 
434
            <command>amixer -q sset Master 3%- unmute</command>
 
435
        </action>
 
436
    </keybind>
 
437
    <keybind key="XF86AudioMute">
 
438
        <action name="Execute">
 
439
            <command>amixer -q sset Master toggle</command>
 
440
        </action>
 
441
    </keybind>
 
442
    <!-- Keybinding for terminal button-->
 
443
    <keybind key="XF86WWW">
 
444
      <action name="Execute">
 
445
        <command>x-terminal-emulator</command>
 
446
      </action>
 
447
    </keybind>
 
448
    <keybind key="XF86Terminal">
 
449
      <action name="Execute">
 
450
        <command>x-terminal-emulator</command>
 
451
      </action>
 
452
    </keybind>
 
453
    <!-- Keybinding for calculator button-->
 
454
    <keybind key="XF86Calculator">
 
455
      <action name="Execute">
 
456
        <command>galculator</command>
 
457
      </action>
 
458
    </keybind>
 
459
    <!-- Keybinding for computer button-->
 
460
    <keybind key="XF86MyComputer">
 
461
      <action name="Execute">
 
462
        <command>pcmanfm-qt</command>
 
463
      </action>
 
464
    </keybind>
 
465
    <!-- Keybindings for Multimedia Keys and LCD Backlight (alternative when not using gnome-power-manager or xfce4-volumed) -->
 
466
    <keybind key="C-F7">
 
467
      <action name="Execute">
 
468
        <command>sleep 2;xset dpms force off</command>
 
469
      </action>
 
470
    </keybind>
 
471
    <keybind key="C-F10">
 
472
      <action name="Execute">
 
473
        <command>xbacklight -dec 10</command>
 
474
      </action>
 
475
    </keybind>
 
476
    <keybind key="C-F11">
 
477
      <action name="Execute">
 
478
        <command>xbacklight -inc 10</command>
 
479
      </action>
 
480
    </keybind>
 
481
    <!-- Launch scrot when Print is pressed -->
 
482
    <keybind key="Print">
 
483
      <action name="Execute">
 
484
        <command>scrot</command>
 
485
      </action>
 
486
    </keybind>
 
487
    <!-- Launch logout when push on the shutdown button -->
 
488
    <keybind key="XF86PowerOff">
 
489
      <action name="Execute">
 
490
        <command>lxsession-default quit</command>
 
491
      </action>
 
492
    </keybind>
 
493
  </keyboard>
 
494
  <mouse>
 
495
    <dragThreshold>8</dragThreshold>
 
496
    <!-- number of pixels the mouse must move before a drag begins -->
 
497
    <doubleClickTime>200</doubleClickTime>
 
498
    <!-- in milliseconds (1000 = 1 second) -->
 
499
    <screenEdgeWarpTime>400</screenEdgeWarpTime>
 
500
    <!-- Time before changing desktops when the pointer touches the edge of the
 
501
       screen while moving a window, in milliseconds (1000 = 1 second).
 
502
       Set this to 0 to disable warping -->
 
503
    <screenEdgeWarpMouse>false</screenEdgeWarpMouse>
 
504
    <!-- Set this to TRUE to move the mouse pointer across the desktop when
 
505
       switching due to hitting the edge of the screen -->
 
506
    <context name="Frame">
 
507
      <mousebind button="A-Left" action="Press">
 
508
        <action name="Focus"/>
 
509
        <action name="Raise"/>
 
510
      </mousebind>
 
511
      <mousebind button="A-Left" action="Click">
 
512
        <action name="Unshade"/>
 
513
      </mousebind>
 
514
      <mousebind button="A-Left" action="Drag">
 
515
        <action name="Move"/>
 
516
      </mousebind>
 
517
      <mousebind button="A-Right" action="Press">
 
518
        <action name="Focus"/>
 
519
        <action name="Raise"/>
 
520
        <action name="Unshade"/>
 
521
      </mousebind>
 
522
      <mousebind button="A-Right" action="Drag">
 
523
        <action name="Resize"/>
 
524
      </mousebind>
 
525
      <mousebind button="A-Middle" action="Press">
 
526
        <action name="Lower"/>
 
527
        <action name="FocusToBottom"/>
 
528
        <action name="Unfocus"/>
 
529
      </mousebind>
 
530
      <mousebind button="A-Up" action="Click">
 
531
        <action name="GoToDesktop">
 
532
          <to>previous</to>
 
533
        </action>
 
534
      </mousebind>
 
535
      <mousebind button="A-Down" action="Click">
 
536
        <action name="GoToDesktop">
 
537
          <to>next</to>
 
538
        </action>
 
539
      </mousebind>
 
540
      <mousebind button="C-A-Up" action="Click">
 
541
        <action name="GoToDesktop">
 
542
          <to>previous</to>
 
543
        </action>
 
544
      </mousebind>
 
545
      <mousebind button="C-A-Down" action="Click">
 
546
        <action name="GoToDesktop">
 
547
          <to>next</to>
 
548
        </action>
 
549
      </mousebind>
 
550
      <mousebind button="A-S-Up" action="Click">
 
551
        <action name="SendToDesktop">
 
552
          <to>previous</to>
 
553
        </action>
 
554
      </mousebind>
 
555
      <mousebind button="A-S-Down" action="Click">
 
556
        <action name="SendToDesktop">
 
557
          <to>next</to>
 
558
        </action>
 
559
      </mousebind>
 
560
    </context>
 
561
    <context name="Titlebar">
 
562
      <mousebind button="Left" action="Drag">
 
563
        <action name="Move"/>
 
564
      </mousebind>
 
565
      <mousebind button="Left" action="DoubleClick">
 
566
        <action name="ToggleMaximize"/>
 
567
      </mousebind>
 
568
      <mousebind button="Up" action="Click">
 
569
        <action name="if">
 
570
          <shaded>no</shaded>
 
571
          <then>
 
572
            <action name="Shade"/>
 
573
            <action name="FocusToBottom"/>
 
574
            <action name="Unfocus"/>
 
575
            <action name="Lower"/>
 
576
          </then>
 
577
        </action>
 
578
      </mousebind>
 
579
      <mousebind button="Down" action="Click">
 
580
        <action name="if">
 
581
          <shaded>yes</shaded>
 
582
          <then>
 
583
            <action name="Unshade"/>
 
584
            <action name="Raise"/>
 
585
          </then>
 
586
        </action>
 
587
      </mousebind>
 
588
    </context>
 
589
    <context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
 
590
      <mousebind button="Left" action="Press">
 
591
        <action name="Focus"/>
 
592
        <action name="Raise"/>
 
593
        <action name="Unshade"/>
 
594
      </mousebind>
 
595
      <mousebind button="Middle" action="Press">
 
596
        <action name="Lower"/>
 
597
        <action name="FocusToBottom"/>
 
598
        <action name="Unfocus"/>
 
599
      </mousebind>
 
600
      <mousebind button="Right" action="Press">
 
601
        <action name="Focus"/>
 
602
        <action name="Raise"/>
 
603
        <action name="ShowMenu">
 
604
          <menu>client-menu</menu>
 
605
        </action>
 
606
      </mousebind>
 
607
    </context>
 
608
    <context name="Top">
 
609
      <mousebind button="Left" action="Drag">
 
610
        <action name="Resize">
 
611
          <edge>top</edge>
 
612
        </action>
 
613
      </mousebind>
 
614
    </context>
 
615
    <context name="Left">
 
616
      <mousebind button="Left" action="Drag">
 
617
        <action name="Resize">
 
618
          <edge>left</edge>
 
619
        </action>
 
620
      </mousebind>
 
621
    </context>
 
622
    <context name="Right">
 
623
      <mousebind button="Left" action="Drag">
 
624
        <action name="Resize">
 
625
          <edge>right</edge>
 
626
        </action>
 
627
      </mousebind>
 
628
    </context>
 
629
    <context name="Bottom">
 
630
      <mousebind button="Left" action="Drag">
 
631
        <action name="Resize">
 
632
          <edge>bottom</edge>
 
633
        </action>
 
634
      </mousebind>
 
635
      <mousebind button="Right" action="Press">
 
636
        <action name="Focus"/>
 
637
        <action name="Raise"/>
 
638
        <action name="ShowMenu">
 
639
          <menu>client-menu</menu>
 
640
        </action>
 
641
      </mousebind>
 
642
    </context>
 
643
    <context name="TRCorner BRCorner TLCorner BLCorner">
 
644
      <mousebind button="Left" action="Press">
 
645
        <action name="Focus"/>
 
646
        <action name="Raise"/>
 
647
        <action name="Unshade"/>
 
648
      </mousebind>
 
649
      <mousebind button="Left" action="Drag">
 
650
        <action name="Resize"/>
 
651
      </mousebind>
 
652
    </context>
 
653
    <context name="Client">
 
654
      <mousebind button="Left" action="Press">
 
655
        <action name="Focus"/>
 
656
        <action name="Raise"/>
 
657
      </mousebind>
 
658
      <mousebind button="Middle" action="Press">
 
659
        <action name="Focus"/>
 
660
        <action name="Raise"/>
 
661
      </mousebind>
 
662
      <mousebind button="Right" action="Press">
 
663
        <action name="Focus"/>
 
664
        <action name="Raise"/>
 
665
      </mousebind>
 
666
    </context>
 
667
    <context name="Icon">
 
668
      <mousebind button="Left" action="Press">
 
669
        <action name="Focus"/>
 
670
        <action name="Raise"/>
 
671
        <action name="Unshade"/>
 
672
        <action name="ShowMenu">
 
673
          <menu>client-menu</menu>
 
674
        </action>
 
675
      </mousebind>
 
676
      <mousebind button="Right" action="Press">
 
677
        <action name="Focus"/>
 
678
        <action name="Raise"/>
 
679
        <action name="ShowMenu">
 
680
          <menu>client-menu</menu>
 
681
        </action>
 
682
      </mousebind>
 
683
    </context>
 
684
    <context name="AllDesktops">
 
685
      <mousebind button="Left" action="Press">
 
686
        <action name="Focus"/>
 
687
        <action name="Raise"/>
 
688
        <action name="Unshade"/>
 
689
      </mousebind>
 
690
      <mousebind button="Left" action="Click">
 
691
        <action name="ToggleOmnipresent"/>
 
692
      </mousebind>
 
693
    </context>
 
694
    <context name="Shade">
 
695
      <mousebind button="Left" action="Press">
 
696
        <action name="Focus"/>
 
697
        <action name="Raise"/>
 
698
      </mousebind>
 
699
      <mousebind button="Left" action="Click">
 
700
        <action name="ToggleShade"/>
 
701
      </mousebind>
 
702
    </context>
 
703
    <context name="Iconify">
 
704
      <mousebind button="Left" action="Press">
 
705
        <action name="Focus"/>
 
706
        <action name="Raise"/>
 
707
      </mousebind>
 
708
      <mousebind button="Left" action="Click">
 
709
        <action name="Iconify"/>
 
710
      </mousebind>
 
711
    </context>
 
712
    <context name="Maximize">
 
713
      <mousebind button="Left" action="Press">
 
714
        <action name="Focus"/>
 
715
        <action name="Raise"/>
 
716
        <action name="Unshade"/>
 
717
      </mousebind>
 
718
      <mousebind button="Middle" action="Press">
 
719
        <action name="Focus"/>
 
720
        <action name="Raise"/>
 
721
        <action name="Unshade"/>
 
722
      </mousebind>
 
723
      <mousebind button="Right" action="Press">
 
724
        <action name="Focus"/>
 
725
        <action name="Raise"/>
 
726
        <action name="Unshade"/>
 
727
      </mousebind>
 
728
      <mousebind button="Left" action="Click">
 
729
        <action name="ToggleMaximize"/>
 
730
      </mousebind>
 
731
      <mousebind button="Middle" action="Click">
 
732
        <action name="ToggleMaximize">
 
733
          <direction>vertical</direction>
 
734
        </action>
 
735
      </mousebind>
 
736
      <mousebind button="Right" action="Click">
 
737
        <action name="ToggleMaximize">
 
738
          <direction>horizontal</direction>
 
739
        </action>
 
740
      </mousebind>
 
741
    </context>
 
742
    <context name="Close">
 
743
      <mousebind button="Left" action="Press">
 
744
        <action name="Focus"/>
 
745
        <action name="Raise"/>
 
746
        <action name="Unshade"/>
 
747
      </mousebind>
 
748
      <mousebind button="Left" action="Click">
 
749
        <action name="Close"/>
 
750
      </mousebind>
 
751
    </context>
 
752
    <context name="Desktop">
 
753
      <mousebind button="Up" action="Click">
 
754
        <action name="GoToDesktop">
 
755
          <to>previous</to>
 
756
        </action>
 
757
      </mousebind>
 
758
      <mousebind button="Down" action="Click">
 
759
        <action name="GoToDesktop">
 
760
          <to>next</to>
 
761
        </action>
 
762
      </mousebind>
 
763
      <mousebind button="A-Up" action="Click">
 
764
        <action name="GoToDesktop">
 
765
          <to>previous</to>
 
766
        </action>
 
767
      </mousebind>
 
768
      <mousebind button="A-Down" action="Click">
 
769
        <action name="GoToDesktop">
 
770
          <to>next</to>
 
771
        </action>
 
772
      </mousebind>
 
773
      <mousebind button="C-A-Up" action="Click">
 
774
        <action name="GoToDesktop">
 
775
          <to>previous</to>
 
776
        </action>
 
777
      </mousebind>
 
778
      <mousebind button="C-A-Down" action="Click">
 
779
        <action name="GoToDesktop">
 
780
          <to>next</to>
 
781
        </action>
 
782
      </mousebind>
 
783
      <mousebind button="Left" action="Press">
 
784
        <action name="Focus"/>
 
785
        <action name="Raise"/>
 
786
      </mousebind>
 
787
      <mousebind button="Right" action="Press">
 
788
        <action name="Focus"/>
 
789
        <action name="Raise"/>
 
790
      </mousebind>
 
791
    </context>
 
792
    <context name="Root">
 
793
      <!-- Menus -->
 
794
      <mousebind button="Middle" action="Press">
 
795
        <action name="ShowMenu">
 
796
          <menu>client-list-combined-menu</menu>
 
797
        </action>
 
798
      </mousebind>
 
799
      <mousebind button="Right" action="Press">
 
800
        <action name="ShowMenu">
 
801
          <menu>root-menu</menu>
 
802
        </action>
 
803
      </mousebind>
 
804
    </context>
 
805
    <context name="MoveResize">
 
806
      <mousebind button="Up" action="Click">
 
807
        <action name="GoToDesktop">
 
808
          <to>previous</to>
 
809
        </action>
 
810
      </mousebind>
 
811
      <mousebind button="Down" action="Click">
 
812
        <action name="GoToDesktop">
 
813
          <to>next</to>
 
814
        </action>
 
815
      </mousebind>
 
816
      <mousebind button="A-Up" action="Click">
 
817
        <action name="GoToDesktop">
 
818
          <to>previous</to>
 
819
        </action>
 
820
      </mousebind>
 
821
      <mousebind button="A-Down" action="Click">
 
822
        <action name="GoToDesktop">
 
823
          <to>next</to>
 
824
        </action>
 
825
      </mousebind>
 
826
    </context>
 
827
  </mouse>
 
828
  <menu>
 
829
    <!-- You can specify more than one menu file in here and they are all loaded,
 
830
       just don't make menu ids clash or, well, it'll be kind of pointless -->
 
831
    <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
 
832
    <file>/usr/share/lubuntu/openbox/qlubuntu-menu.xml</file>
 
833
    <file>qlubuntu--menu.xml</file>
 
834
 
 
835
    <hideDelay>200</hideDelay>
 
836
    <!-- if a press-release lasts longer than this setting (in milliseconds), the
 
837
       menu is hidden again -->
 
838
    <middle>no</middle>
 
839
    <!-- center submenus vertically about the parent entry -->
 
840
    <submenuShowDelay>100</submenuShowDelay>
 
841
    <!-- time to delay before showing a submenu after hovering over the parent
 
842
       entry.
 
843
       if this is a negative value, then the delay is infinite and the
 
844
       submenu will not be shown until it is clicked on -->
 
845
    <submenuHideDelay>400</submenuHideDelay>
 
846
    <!-- time to delay before hiding a submenu when selecting another
 
847
       entry in parent menu
 
848
       if this is a negative value, then the delay is infinite and the
 
849
       submenu will not be hidden until a different submenu is opened -->
 
850
    <applicationIcons>yes</applicationIcons>
 
851
    <!-- controls if icons appear in the client-list-(combined-)menu -->
 
852
    <manageDesktops>yes</manageDesktops>
 
853
    <!-- show the manage desktops section in the client-list-(combined-)menu -->
 
854
    <showIcons>yes</showIcons>
 
855
    <!-- show icons on the menu -->
 
856
  </menu>
 
857
  <applications>
 
858
    <!--
 
859
  # this is an example with comments through out. use these to make your
 
860
  # own rules, but without the comments of course.
 
861
  # you may use one or more of the name/class/role/title/type rules to specify
 
862
  # windows to match
 
863
 
 
864
  <application name="the window's _OB_APP_NAME property (see obxprop)"
 
865
              class="the window's _OB_APP_CLASS property (see obxprop)"
 
866
               role="the window's _OB_APP_ROLE property (see obxprop)"
 
867
              title="the window's _OB_APP_TITLE property (see obxprop)"
 
868
               type="the window's _OB_APP_TYPE property (see obxprob)..
 
869
                      (if unspecified, then it is 'dialog' for child windows)">
 
870
  # you may set only one of name/class/role/title/type, or you may use more
 
871
  # than one together to restrict your matches.
 
872
 
 
873
  # the name, class, role, and title use simple wildcard matching such as those
 
874
  # used by a shell. you can use * to match any characters and ? to match
 
875
  # any single character.
 
876
 
 
877
  # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
 
878
  #    or desktop
 
879
 
 
880
  # when multiple rules match a window, they will all be applied, in the
 
881
  # order that they appear in this list
 
882
 
 
883
 
 
884
    # each rule element can be left out or set to 'default' to specify to not 
 
885
    # change that attribute of the window
 
886
 
 
887
    <decor>yes</decor>
 
888
    # enable or disable window decorations
 
889
 
 
890
    <shade>no</shade>
 
891
    # make the window shaded when it appears, or not
 
892
 
 
893
    <position force="no">
 
894
      # the position is only used if both an x and y coordinate are provided
 
895
      # (and not set to 'default')
 
896
      # when force is "yes", then the window will be placed here even if it
 
897
      # says you want it placed elsewhere.  this is to override buggy
 
898
      # applications who refuse to behave
 
899
      <x>center</x>
 
900
      # a number like 50, or 'center' to center on screen. use a negative number
 
901
      # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
 
902
      # right edge (or bottom).
 
903
      <y>200</y>
 
904
      <monitor>1</monitor>
 
905
      # specifies the monitor in a xinerama setup.
 
906
      # 1 is the first head, or 'mouse' for wherever the mouse is
 
907
    </position>
 
908
 
 
909
    <focus>yes</focus>
 
910
    # if the window should try be given focus when it appears. if this is set
 
911
    # to yes it doesn't guarantee the window will be given focus. some
 
912
    # restrictions may apply, but Openbox will try to
 
913
 
 
914
    <desktop>1</desktop>
 
915
    # 1 is the first desktop, 'all' for all desktops
 
916
 
 
917
    <layer>normal</layer>
 
918
    # 'above', 'normal', or 'below'
 
919
 
 
920
    <iconic>no</iconic>
 
921
    # make the window iconified when it appears, or not
 
922
 
 
923
    <skip_pager>no</skip_pager>
 
924
    # asks to not be shown in pagers
 
925
 
 
926
    <skip_taskbar>no</skip_taskbar>
 
927
    # asks to not be shown in taskbars. window cycling actions will also
 
928
    # skip past such windows
 
929
 
 
930
    <fullscreen>yes</fullscreen>
 
931
    # make the window in fullscreen mode when it appears
 
932
 
 
933
    <maximized>true</maximized>
 
934
    # 'Horizontal', 'Vertical' or boolean (yes/no)
 
935
  </application>
 
936
 
 
937
  # end of the example
 
938
-->
 
939
    <!-- Option to maximize all normal window when launched-->
 
940
    <!--
 
941
    <application type="normal">
 
942
      <maximized>true</maximized>
 
943
    </application>
 
944
    -->
 
945
 
 
946
  </applications>
 
947
</openbox_config>