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"/>
235
245
<keybind key="A-space">
236
246
<action name="ShowMenu"><menu>client-menu</menu></action>
238
<keybind key="Print">
239
<action name="Execute"><execute>gnome-screenshot</execute></action>
248
<!-- Take a screenshot of the current window with gnome-screenshot when Alt+Print are pressed -->
241
249
<keybind key="A-Print">
242
<action name="Execute"><execute>gnome-screenshot -w</execute></action>
250
<action name="Execute"><command>gnome-screenshot -w</command></action>
245
253
<!-- Keybindings for window switching -->
246
254
<keybind key="A-Tab">
247
<action name="NextWindow"/>
255
<action name="NextWindow">
257
<action name="Focus"/>
258
<action name="Raise"/>
259
<action name="Unshade"/>
249
263
<keybind key="A-S-Tab">
250
<action name="PreviousWindow"/>
264
<action name="PreviousWindow">
266
<action name="Focus"/>
267
<action name="Raise"/>
268
<action name="Unshade"/>
252
272
<keybind key="C-A-Tab">
253
273
<action name="NextWindow">
254
274
<panels>yes</panels><desktop>yes</desktop>
276
<action name="Focus"/>
277
<action name="Raise"/>
278
<action name="Unshade"/>
283
<!-- Keybindings for window switching with the arrow keys -->
284
<keybind key="W-S-Right">
285
<action name="DirectionalCycleWindows">
286
<direction>right</direction>
289
<keybind key="W-S-Left">
290
<action name="DirectionalCycleWindows">
291
<direction>left</direction>
294
<keybind key="W-S-Up">
295
<action name="DirectionalCycleWindows">
296
<direction>up</direction>
299
<keybind key="W-S-Down">
300
<action name="DirectionalCycleWindows">
301
<direction>down</direction>
265
312
<command>kfmclient openProfile filemanagement</command>
315
<!-- Launch gnome-screenshot when Print is pressed -->
316
<keybind key="Print">
317
<action name="Execute"><command>gnome-screenshot</command></action>
271
<dragThreshold>8</dragThreshold>
322
<dragThreshold>1</dragThreshold>
272
323
<!-- number of pixels the mouse must move before a drag begins -->
273
324
<doubleClickTime>200</doubleClickTime>
274
325
<!-- in milliseconds (1000 = 1 second) -->
276
327
<!-- Time before changing desktops when the pointer touches the edge of the
277
328
screen while moving a window, in milliseconds (1000 = 1 second).
278
329
Set this to 0 to disable warping -->
330
<screenEdgeWarpMouse>false</screenEdgeWarpMouse>
331
<!-- Set this to TRUE to move the mouse pointer across the desktop when
332
switching due to hitting the edge of the screen -->
280
334
<context name="Frame">
281
335
<mousebind button="A-Left" action="Press">
307
361
<mousebind button="A-Up" action="Click">
308
<action name="DesktopPrevious"/>
362
<action name="GoToDesktop"><to>previous</to></action>
310
364
<mousebind button="A-Down" action="Click">
311
<action name="DesktopNext"/>
365
<action name="GoToDesktop"><to>next</to></action>
313
367
<mousebind button="C-A-Up" action="Click">
314
<action name="DesktopPrevious"/>
368
<action name="GoToDesktop"><to>previous</to></action>
316
370
<mousebind button="C-A-Down" action="Click">
317
<action name="DesktopNext"/>
371
<action name="GoToDesktop"><to>next</to></action>
319
373
<mousebind button="A-S-Up" action="Click">
320
<action name="SendToDesktopPrevious"/>
374
<action name="SendToDesktop"><to>previous</to></action>
322
376
<mousebind button="A-S-Down" action="Click">
323
<action name="SendToDesktopNext"/>
377
<action name="SendToDesktop"><to>next</to></action>
327
381
<context name="Titlebar">
328
<mousebind button="Left" action="Press">
329
<action name="Focus"/>
330
<action name="Raise"/>
332
382
<mousebind button="Left" action="Drag">
333
383
<action name="Move"/>
335
385
<mousebind button="Left" action="DoubleClick">
336
<action name="ToggleMaximizeFull"/>
339
<mousebind button="Middle" action="Press">
340
<action name="Lower"/>
341
<action name="FocusToBottom"/>
342
<action name="Unfocus"/>
386
<action name="ToggleMaximize"/>
345
389
<mousebind button="Up" action="Click">
346
<action name="Shade"/>
347
<action name="FocusToBottom"/>
348
<action name="Unfocus"/>
349
<action name="Lower"/>
393
<action name="Shade"/>
394
<action name="FocusToBottom"/>
395
<action name="Unfocus"/>
396
<action name="Lower"/>
351
400
<mousebind button="Down" action="Click">
404
<action name="Unshade"/>
405
<action name="Raise"/>
411
<context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
412
<mousebind button="Left" action="Press">
413
<action name="Focus"/>
414
<action name="Raise"/>
352
415
<action name="Unshade"/>
353
<action name="Raise"/>
418
<mousebind button="Middle" action="Press">
419
<action name="Lower"/>
420
<action name="FocusToBottom"/>
421
<action name="Unfocus"/>
356
424
<mousebind button="Right" action="Press">
363
431
<context name="Top">
364
<mousebind button="Left" action="Press">
365
<action name="Focus"/>
366
<action name="Raise"/>
367
<action name="Unshade"/>
369
432
<mousebind button="Left" action="Drag">
370
433
<action name="Resize"><edge>top</edge></action>
374
437
<context name="Left">
375
<mousebind button="Left" action="Press">
376
<action name="Focus"/>
377
<action name="Raise"/>
379
438
<mousebind button="Left" action="Drag">
380
439
<action name="Resize"><edge>left</edge></action>
383
<mousebind button="Right" action="Press">
384
<action name="Focus"/>
385
<action name="Raise"/>
386
<action name="ShowMenu"><menu>client-menu</menu></action>
390
443
<context name="Right">
391
<mousebind button="Left" action="Press">
392
<action name="Focus"/>
393
<action name="Raise"/>
395
444
<mousebind button="Left" action="Drag">
396
445
<action name="Resize"><edge>right</edge></action>
399
<mousebind button="Right" action="Press">
400
<action name="Focus"/>
401
<action name="Raise"/>
402
<action name="ShowMenu"><menu>client-menu</menu></action>
406
449
<context name="Bottom">
407
<mousebind button="Left" action="Press">
408
<action name="Focus"/>
409
<action name="Raise"/>
411
450
<mousebind button="Left" action="Drag">
412
451
<action name="Resize"><edge>bottom</edge></action>
415
<mousebind button="Middle" action="Press">
416
<action name="Lower"/>
417
<action name="FocusToBottom"/>
418
<action name="Unfocus"/>
421
454
<mousebind button="Right" action="Press">
422
455
<action name="Focus"/>
423
456
<action name="Raise"/>
428
<context name="BLCorner">
429
<mousebind button="Left" action="Press">
430
<action name="Focus"/>
431
<action name="Raise"/>
433
<mousebind button="Left" action="Drag">
434
<action name="Resize"/>
438
<context name="BRCorner">
439
<mousebind button="Left" action="Press">
440
<action name="Focus"/>
441
<action name="Raise"/>
443
<mousebind button="Left" action="Drag">
444
<action name="Resize"/>
448
<context name="TLCorner">
449
<mousebind button="Left" action="Press">
450
<action name="Focus"/>
451
<action name="Raise"/>
452
<action name="Unshade"/>
454
<mousebind button="Left" action="Drag">
455
<action name="Resize"/>
459
<context name="TRCorner">
461
<context name="TRCorner BRCorner TLCorner BLCorner">
460
462
<mousebind button="Left" action="Press">
461
463
<action name="Focus"/>
462
464
<action name="Raise"/>
544
546
<action name="Unshade"/>
546
548
<mousebind button="Left" action="Click">
547
<action name="ToggleMaximizeFull"/>
549
<action name="ToggleMaximize"/>
549
551
<mousebind button="Middle" action="Click">
550
<action name="ToggleMaximizeVert"/>
552
<action name="ToggleMaximize"><direction>vertical</direction></action>
552
554
<mousebind button="Right" action="Click">
553
<action name="ToggleMaximizeHorz"/>
555
<action name="ToggleMaximize"><direction>horizontal</direction></action>
568
570
<context name="Desktop">
569
571
<mousebind button="Up" action="Click">
570
<action name="DesktopPrevious"/>
572
<action name="GoToDesktop"><to>previous</to></action>
572
574
<mousebind button="Down" action="Click">
573
<action name="DesktopNext"/>
575
<action name="GoToDesktop"><to>next</to></action>
576
578
<mousebind button="A-Up" action="Click">
577
<action name="DesktopPrevious"/>
579
<action name="GoToDesktop"><to>previous</to></action>
579
581
<mousebind button="A-Down" action="Click">
580
<action name="DesktopNext"/>
582
<action name="GoToDesktop"><to>next</to></action>
582
584
<mousebind button="C-A-Up" action="Click">
583
<action name="DesktopPrevious"/>
585
<action name="GoToDesktop"><to>previous</to></action>
585
587
<mousebind button="C-A-Down" action="Click">
586
<action name="DesktopNext"/>
588
<action name="GoToDesktop"><to>next</to></action>
589
591
<mousebind button="Left" action="Press">
609
611
<context name="MoveResize">
610
612
<mousebind button="Up" action="Click">
611
<action name="DesktopPrevious"/>
613
<action name="GoToDesktop"><to>previous</to></action>
613
615
<mousebind button="Down" action="Click">
614
<action name="DesktopNext"/>
616
<action name="GoToDesktop"><to>next</to></action>
616
618
<mousebind button="A-Up" action="Click">
617
<action name="DesktopPrevious"/>
619
<action name="GoToDesktop"><to>previous</to></action>
619
621
<mousebind button="A-Down" action="Click">
620
<action name="DesktopNext"/>
622
<action name="GoToDesktop"><to>next</to></action>
643
645
submenu will not be shown until it is clicked on -->
644
646
<submenuHideDelay>400</submenuHideDelay>
645
647
<!-- time to delay before hiding a submenu when selecting another
646
entry in parent menu.
647
649
if this is a negative value, then the delay is infinite and the
648
650
submenu will not be hidden until a different submenu is opened -->
649
651
<applicationIcons>yes</applicationIcons>
657
659
# this is an example with comments through out. use these to make your
658
660
# own rules, but without the comments of course.
661
# you may use one or more of the name/class/role/title/type rules to specify
660
664
<application name="the window's _OB_APP_NAME property (see obxprop)"
661
665
class="the window's _OB_APP_CLASS property (see obxprop)"
662
666
role="the window's _OB_APP_ROLE property (see obxprop)"
667
title="the window's _OB_APP_TITLE property (see obxprop)"
663
668
type="the window's _OB_APP_TYPE property (see obxprob)..
664
669
(if unspecified, then it is 'dialog' for child windows)">
665
# you may set only one of name/class/role/type, or you may use more than one
666
# together to restrict your matches.
670
# you may set only one of name/class/role/title/type, or you may use more
671
# than one together to restrict your matches.
668
# the name, class, and role use simple wildcard matching such as those
673
# the name, class, role, and title use simple wildcard matching such as those
669
674
# used by a shell. you can use * to match any characters and ? to match
670
675
# any single character.