3
3
<!-- Do not edit this file, it will be overwritten on install.
4
4
Copy the file to $HOME/.config/openbox/ instead. -->
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">
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' -->
101
<font place="OnScreenDisplay">
102
<font place="ActiveOnScreenDisplay">
105
<!-- font size in points -->
106
<weight>bold</weight>
107
<!-- 'bold' or 'normal' -->
108
<slant>normal</slant>
109
<!-- 'italic' or 'normal' -->
111
<font place="InactiveOnScreenDisplay">
102
112
<name>sans</name>
104
114
<!-- font size in points -->
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>
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>
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>
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>
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>
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>
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>
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>
210
220
<keybind key="W-F1">
211
<action name="Desktop"><desktop>1</desktop></action>
221
<action name="GoToDesktop"><to>1</to></action>
213
223
<keybind key="W-F2">
214
<action name="Desktop"><desktop>2</desktop></action>
224
<action name="GoToDesktop"><to>2</to></action>
216
226
<keybind key="W-F3">
217
<action name="Desktop"><desktop>3</desktop></action>
227
<action name="GoToDesktop"><to>3</to></action>
219
229
<keybind key="W-F4">
220
<action name="Desktop"><desktop>4</desktop></action>
230
<action name="GoToDesktop"><to>4</to></action>
222
232
<keybind key="W-d">
223
233
<action name="ToggleShowDesktop"/>
239
249
<!-- Keybindings for window switching -->
240
250
<keybind key="A-Tab">
241
<action name="NextWindow"/>
251
<action name="NextWindow">
253
<action name="Focus"/>
254
<action name="Raise"/>
255
<action name="Unshade"/>
243
259
<keybind key="A-S-Tab">
244
<action name="PreviousWindow"/>
260
<action name="PreviousWindow">
262
<action name="Focus"/>
263
<action name="Raise"/>
264
<action name="Unshade"/>
246
268
<keybind key="C-A-Tab">
247
269
<action name="NextWindow">
248
270
<panels>yes</panels><desktop>yes</desktop>
272
<action name="Focus"/>
273
<action name="Raise"/>
274
<action name="Unshade"/>
279
<!-- Keybindings for window switching with the arrow keys -->
280
<keybind key="W-S-Right">
281
<action name="DirectionalCycleWindows">
282
<direction>right</direction>
285
<keybind key="W-S-Left">
286
<action name="DirectionalCycleWindows">
287
<direction>left</direction>
290
<keybind key="W-S-Up">
291
<action name="DirectionalCycleWindows">
292
<direction>up</direction>
295
<keybind key="W-S-Down">
296
<action name="DirectionalCycleWindows">
297
<direction>down</direction>
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 -->
274
326
<context name="Frame">
275
327
<mousebind button="A-Left" action="Press">
301
353
<mousebind button="A-Up" action="Click">
302
<action name="DesktopPrevious"/>
354
<action name="GoToDesktop"><to>previous</to></action>
304
356
<mousebind button="A-Down" action="Click">
305
<action name="DesktopNext"/>
357
<action name="GoToDesktop"><to>next</to></action>
307
359
<mousebind button="C-A-Up" action="Click">
308
<action name="DesktopPrevious"/>
360
<action name="GoToDesktop"><to>previous</to></action>
310
362
<mousebind button="C-A-Down" action="Click">
311
<action name="DesktopNext"/>
363
<action name="GoToDesktop"><to>next</to></action>
313
365
<mousebind button="A-S-Up" action="Click">
314
<action name="SendToDesktopPrevious"/>
366
<action name="SendToDesktop"><to>previous</to></action>
316
368
<mousebind button="A-S-Down" action="Click">
317
<action name="SendToDesktopNext"/>
369
<action name="SendToDesktop"><to>next</to></action>
321
373
<context name="Titlebar">
322
<mousebind button="Left" action="Press">
323
<action name="Focus"/>
324
<action name="Raise"/>
326
374
<mousebind button="Left" action="Drag">
327
375
<action name="Move"/>
329
377
<mousebind button="Left" action="DoubleClick">
330
<action name="ToggleMaximizeFull"/>
333
<mousebind button="Middle" action="Press">
334
<action name="Lower"/>
335
<action name="FocusToBottom"/>
336
<action name="Unfocus"/>
378
<action name="ToggleMaximize"/>
339
381
<mousebind button="Up" action="Click">
340
<action name="Shade"/>
341
<action name="FocusToBottom"/>
342
<action name="Unfocus"/>
343
<action name="Lower"/>
385
<action name="Shade"/>
386
<action name="FocusToBottom"/>
387
<action name="Unfocus"/>
388
<action name="Lower"/>
345
392
<mousebind button="Down" action="Click">
396
<action name="Unshade"/>
397
<action name="Raise"/>
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"/>
410
<mousebind button="Middle" action="Press">
411
<action name="Lower"/>
412
<action name="FocusToBottom"/>
413
<action name="Unfocus"/>
350
416
<mousebind button="Right" action="Press">
357
423
<context name="Top">
358
<mousebind button="Left" action="Press">
359
<action name="Focus"/>
360
<action name="Raise"/>
361
<action name="Unshade"/>
363
424
<mousebind button="Left" action="Drag">
364
425
<action name="Resize"><edge>top</edge></action>
368
429
<context name="Left">
369
<mousebind button="Left" action="Press">
370
<action name="Focus"/>
371
<action name="Raise"/>
373
430
<mousebind button="Left" action="Drag">
374
431
<action name="Resize"><edge>left</edge></action>
377
<mousebind button="Right" action="Press">
378
<action name="Focus"/>
379
<action name="Raise"/>
380
<action name="ShowMenu"><menu>client-menu</menu></action>
384
435
<context name="Right">
385
<mousebind button="Left" action="Press">
386
<action name="Focus"/>
387
<action name="Raise"/>
389
436
<mousebind button="Left" action="Drag">
390
437
<action name="Resize"><edge>right</edge></action>
393
<mousebind button="Right" action="Press">
394
<action name="Focus"/>
395
<action name="Raise"/>
396
<action name="ShowMenu"><menu>client-menu</menu></action>
400
441
<context name="Bottom">
401
<mousebind button="Left" action="Press">
402
<action name="Focus"/>
403
<action name="Raise"/>
405
442
<mousebind button="Left" action="Drag">
406
443
<action name="Resize"><edge>bottom</edge></action>
409
<mousebind button="Middle" action="Press">
410
<action name="Lower"/>
411
<action name="FocusToBottom"/>
412
<action name="Unfocus"/>
415
446
<mousebind button="Right" action="Press">
416
447
<action name="Focus"/>
417
448
<action name="Raise"/>
422
<context name="BLCorner">
423
<mousebind button="Left" action="Press">
424
<action name="Focus"/>
425
<action name="Raise"/>
427
<mousebind button="Left" action="Drag">
428
<action name="Resize"/>
432
<context name="BRCorner">
433
<mousebind button="Left" action="Press">
434
<action name="Focus"/>
435
<action name="Raise"/>
437
<mousebind button="Left" action="Drag">
438
<action name="Resize"/>
442
<context name="TLCorner">
443
<mousebind button="Left" action="Press">
444
<action name="Focus"/>
445
<action name="Raise"/>
446
<action name="Unshade"/>
448
<mousebind button="Left" action="Drag">
449
<action name="Resize"/>
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"/>
540
540
<mousebind button="Left" action="Click">
541
<action name="ToggleMaximizeFull"/>
541
<action name="ToggleMaximize"/>
543
543
<mousebind button="Middle" action="Click">
544
<action name="ToggleMaximizeVert"/>
544
<action name="ToggleMaximize"><direction>vertical</direction></action>
546
546
<mousebind button="Right" action="Click">
547
<action name="ToggleMaximizeHorz"/>
547
<action name="ToggleMaximize"><direction>horizontal</direction></action>
562
562
<context name="Desktop">
563
563
<mousebind button="Up" action="Click">
564
<action name="DesktopPrevious"/>
564
<action name="GoToDesktop"><to>previous</to></action>
566
566
<mousebind button="Down" action="Click">
567
<action name="DesktopNext"/>
567
<action name="GoToDesktop"><to>next</to></action>
570
570
<mousebind button="A-Up" action="Click">
571
<action name="DesktopPrevious"/>
571
<action name="GoToDesktop"><to>previous</to></action>
573
573
<mousebind button="A-Down" action="Click">
574
<action name="DesktopNext"/>
574
<action name="GoToDesktop"><to>next</to></action>
576
576
<mousebind button="C-A-Up" action="Click">
577
<action name="DesktopPrevious"/>
577
<action name="GoToDesktop"><to>previous</to></action>
579
579
<mousebind button="C-A-Down" action="Click">
580
<action name="DesktopNext"/>
580
<action name="GoToDesktop"><to>next</to></action>
583
583
<mousebind button="Left" action="Press">
603
603
<context name="MoveResize">
604
604
<mousebind button="Up" action="Click">
605
<action name="DesktopPrevious"/>
605
<action name="GoToDesktop"><to>previous</to></action>
607
607
<mousebind button="Down" action="Click">
608
<action name="DesktopNext"/>
608
<action name="GoToDesktop"><to>next</to></action>
610
610
<mousebind button="A-Up" action="Click">
611
<action name="DesktopPrevious"/>
611
<action name="GoToDesktop"><to>previous</to></action>
613
613
<mousebind button="A-Down" action="Click">
614
<action name="DesktopNext"/>
614
<action name="GoToDesktop"><to>next</to></action>
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
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.
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.