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