sts view openbox/sts-rc.xml @ rev 7

Add the Makefile
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 26 22:23:11 2014 +0200 (2014-04-26)
parents
children
line source
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">
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>Any</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 -->
37 <primaryMonitor/>
38 </placement>
39 <theme>
40 <name>SliTaz</name>
41 <titleLayout>NLIMC</titleLayout>
42 <!--
43 available characters are NDSLIMC, each can occur at most once.
44 N: window icon
45 L: window label (AKA title).
46 I: iconify
47 M: maximize
48 C: close
49 S: shade (roll up/down)
50 D: omnipresent (on all desktops).
51 -->
52 <keepBorder>yes</keepBorder>
53 <animateIconify>yes</animateIconify>
54 <font place="ActiveWindow">
55 <name>Sans</name>
56 <size>8</size>
57 <!-- font size in points -->
58 <weight>Bold</weight>
59 <!-- 'bold' or 'normal' -->
60 <slant>Normal</slant>
61 <!-- 'italic' or 'normal' -->
62 </font>
63 <font place="InactiveWindow">
64 <name>Sans</name>
65 <size>8</size>
66 <!-- font size in points -->
67 <weight>Bold</weight>
68 <!-- 'bold' or 'normal' -->
69 <slant>Normal</slant>
70 <!-- 'italic' or 'normal' -->
71 </font>
72 <font place="MenuHeader">
73 <name>Sans</name>
74 <size>10</size>
75 <!-- font size in points -->
76 <weight>Normal</weight>
77 <!-- 'bold' or 'normal' -->
78 <slant>Normal</slant>
79 <!-- 'italic' or 'normal' -->
80 </font>
81 <font place="MenuItem">
82 <name>Sans</name>
83 <size>11</size>
84 <!-- font size in points -->
85 <weight>Normal</weight>
86 <!-- 'bold' or 'normal' -->
87 <slant>Normal</slant>
88 <!-- 'italic' or 'normal' -->
89 </font>
90 <font place="OnScreenDisplay">
91 <name>sans</name>
92 <size>14</size>
93 <!-- font size in points -->
94 <weight>bold</weight>
95 <!-- 'bold' or 'normal' -->
96 <slant>normal</slant>
97 <!-- 'italic' or 'normal' -->
98 </font>
99 <font place="ActiveOnScreenDisplay">
100 <name>Sans</name>
101 <size>16</size>
102 <weight>Normal</weight>
103 <slant>Normal</slant>
104 </font>
105 <font place="InactiveOnScreenDisplay">
106 <name>Sans</name>
107 <size>8</size>
108 <weight/>
109 <slant/>
110 </font>
111 </theme>
112 <desktops>
113 <!-- this stuff is only used at startup, pagers allow you to change them
114 during a session
116 these are default values to use when other ones are not already set
117 by other applications, or saved in your session
119 use obconf if you want to change these without having to log out
120 and back in -->
121 <number>2</number>
122 <firstdesk>1</firstdesk>
123 <names>
124 <!-- set names up here if you want to, like this:
125 <name>desktop 1</name>
126 <name>desktop 2</name>
127 -->
128 </names>
129 <popupTime>875</popupTime>
130 <!-- The number of milliseconds to show the popup for when switching
131 desktops. Set this to 0 to disable the popup. -->
132 </desktops>
133 <resize>
134 <drawContents>yes</drawContents>
135 <popupShow>Nonpixel</popupShow>
136 <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
137 <popupPosition>Center</popupPosition>
138 <!-- 'Center', 'Top', or 'Fixed' -->
139 <popupFixedPosition>
140 <!-- these are used if popupPosition is set to 'Fixed' -->
141 <x>10</x>
142 <!-- positive number for distance from left edge, negative number for
143 distance from right edge, or 'Center' -->
144 <y>10</y>
145 <!-- positive number for distance from top edge, negative number for
146 distance from bottom edge, or 'Center' -->
147 </popupFixedPosition>
148 </resize>
149 <!-- You can reserve a portion of your screen where windows will not cover when
150 they are maximized, or when they are initially placed.
151 Many programs reserve space automatically, but you can use this in other
152 cases. -->
153 <margins>
154 <top>0</top>
155 <bottom>0</bottom>
156 <left>0</left>
157 <right>0</right>
158 </margins>
159 <dock>
160 <position>TopLeft</position>
161 <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
162 <floatingX>0</floatingX>
163 <floatingY>0</floatingY>
164 <noStrut>no</noStrut>
165 <stacking>Above</stacking>
166 <!-- 'Above', 'Normal', or 'Below' -->
167 <direction>Vertical</direction>
168 <!-- 'Vertical' or 'Horizontal' -->
169 <autoHide>no</autoHide>
170 <hideDelay>300</hideDelay>
171 <!-- in milliseconds (1000 = 1 second) -->
172 <showDelay>300</showDelay>
173 <!-- in milliseconds (1000 = 1 second) -->
174 <moveButton>Middle</moveButton>
175 <!-- 'Left', 'Middle', 'Right' -->
176 </dock>
177 <keyboard>
178 <chainQuitKey>C-g</chainQuitKey>
179 <!-- Keybindings for desktop switching -->
180 <keybind key="C-A-Left">
181 <action name="DesktopLeft">
182 <dialog>no</dialog>
183 <wrap>no</wrap>
184 </action>
185 </keybind>
186 <keybind key="C-A-Right">
187 <action name="DesktopRight">
188 <dialog>no</dialog>
189 <wrap>no</wrap>
190 </action>
191 </keybind>
192 <keybind key="C-A-Up">
193 <action name="DesktopUp">
194 <dialog>no</dialog>
195 <wrap>no</wrap>
196 </action>
197 </keybind>
198 <keybind key="C-A-Down">
199 <action name="DesktopDown">
200 <dialog>no</dialog>
201 <wrap>no</wrap>
202 </action>
203 </keybind>
204 <keybind key="S-A-Left">
205 <action name="SendToDesktopLeft">
206 <dialog>no</dialog>
207 <wrap>no</wrap>
208 </action>
209 </keybind>
210 <keybind key="S-A-Right">
211 <action name="SendToDesktopRight">
212 <dialog>no</dialog>
213 <wrap>no</wrap>
214 </action>
215 </keybind>
216 <keybind key="S-A-Up">
217 <action name="SendToDesktopUp">
218 <dialog>no</dialog>
219 <wrap>no</wrap>
220 </action>
221 </keybind>
222 <keybind key="S-A-Down">
223 <action name="SendToDesktopDown">
224 <dialog>no</dialog>
225 <wrap>no</wrap>
226 </action>
227 </keybind>
228 <keybind key="W-F1">
229 <action name="Desktop">
230 <desktop>1</desktop>
231 </action>
232 </keybind>
233 <keybind key="W-F2">
234 <action name="Desktop">
235 <desktop>2</desktop>
236 </action>
237 </keybind>
238 <keybind key="W-F3">
239 <action name="Desktop">
240 <desktop>3</desktop>
241 </action>
242 </keybind>
243 <keybind key="W-F4">
244 <action name="Desktop">
245 <desktop>4</desktop>
246 </action>
247 </keybind>
248 <keybind key="W-d">
249 <action name="ToggleShowDesktop"/>
250 </keybind>
251 <!-- Keybindings for windows -->
252 <keybind key="A-F4">
253 <action name="Close"/>
254 </keybind>
255 <keybind key="A-Escape">
256 <action name="Lower"/>
257 <action name="FocusToBottom"/>
258 <action name="Unfocus"/>
259 </keybind>
260 <keybind key="A-space">
261 <action name="ShowMenu">
262 <menu>client-menu</menu>
263 </action>
264 </keybind>
265 <!-- Keybindings for window switching -->
266 <keybind key="A-Tab">
267 <action name="NextWindow"/>
268 </keybind>
269 <keybind key="A-S-Tab">
270 <action name="PreviousWindow"/>
271 </keybind>
272 <keybind key="C-A-Tab">
273 <action name="NextWindow">
274 <panels>yes</panels>
275 <desktop>yes</desktop>
276 </action>
277 </keybind>
278 <!-- Keybindings for running applications -->
279 <keybind key="W-e">
280 <action name="Execute">
281 <startupnotify>
282 <enabled>true</enabled>
283 <name>App Launcher</name>
284 </startupnotify>
285 <command>lxpanelctl run</command>
286 </action>
287 </keybind>
288 </keyboard>
289 <mouse>
290 <dragThreshold>8</dragThreshold>
291 <!-- number of pixels the mouse must move before a drag begins -->
292 <doubleClickTime>200</doubleClickTime>
293 <!-- in milliseconds (1000 = 1 second) -->
294 <screenEdgeWarpTime>400</screenEdgeWarpTime>
295 <!-- Time before changing desktops when the pointer touches the edge of the
296 screen while moving a window, in milliseconds (1000 = 1 second).
297 Set this to 0 to disable warping -->
298 <context name="Frame">
299 <mousebind button="A-Left" action="Press">
300 <action name="Focus"/>
301 <action name="Raise"/>
302 </mousebind>
303 <mousebind button="A-Left" action="Click">
304 <action name="Unshade"/>
305 </mousebind>
306 <mousebind button="A-Left" action="Drag">
307 <action name="Move"/>
308 </mousebind>
309 <mousebind button="A-Right" action="Press">
310 <action name="Focus"/>
311 <action name="Raise"/>
312 <action name="Unshade"/>
313 </mousebind>
314 <mousebind button="A-Right" action="Drag">
315 <action name="Resize"/>
316 </mousebind>
317 <mousebind button="A-Middle" action="Press">
318 <action name="Lower"/>
319 <action name="FocusToBottom"/>
320 <action name="Unfocus"/>
321 </mousebind>
322 <mousebind button="A-Up" action="Click">
323 <action name="DesktopPrevious"/>
324 </mousebind>
325 <mousebind button="A-Down" action="Click">
326 <action name="DesktopNext"/>
327 </mousebind>
328 <mousebind button="C-A-Up" action="Click">
329 <action name="DesktopPrevious"/>
330 </mousebind>
331 <mousebind button="C-A-Down" action="Click">
332 <action name="DesktopNext"/>
333 </mousebind>
334 <mousebind button="A-S-Up" action="Click">
335 <action name="SendToDesktopPrevious"/>
336 </mousebind>
337 <mousebind button="A-S-Down" action="Click">
338 <action name="SendToDesktopNext"/>
339 </mousebind>
340 </context>
341 <context name="Titlebar">
342 <mousebind button="Left" action="Press">
343 <action name="Focus"/>
344 <action name="Raise"/>
345 </mousebind>
346 <mousebind button="Left" action="Drag">
347 <action name="Move"/>
348 </mousebind>
349 <mousebind button="Left" action="DoubleClick">
350 <action name="ToggleMaximizeFull"/>
351 </mousebind>
352 <mousebind button="Middle" action="Press">
353 <action name="Lower"/>
354 <action name="FocusToBottom"/>
355 <action name="Unfocus"/>
356 </mousebind>
357 <mousebind button="Up" action="Click">
358 <action name="Shade"/>
359 <action name="FocusToBottom"/>
360 <action name="Unfocus"/>
361 <action name="Lower"/>
362 </mousebind>
363 <mousebind button="Down" action="Click">
364 <action name="Unshade"/>
365 <action name="Raise"/>
366 </mousebind>
367 <mousebind button="Right" action="Press">
368 <action name="Focus"/>
369 <action name="Raise"/>
370 <action name="ShowMenu">
371 <menu>client-menu</menu>
372 </action>
373 </mousebind>
374 </context>
375 <context name="Top">
376 <mousebind button="Left" action="Press">
377 <action name="Focus"/>
378 <action name="Raise"/>
379 <action name="Unshade"/>
380 </mousebind>
381 <mousebind button="Left" action="Drag">
382 <action name="Resize">
383 <edge>top</edge>
384 </action>
385 </mousebind>
386 </context>
387 <context name="Left">
388 <mousebind button="Left" action="Press">
389 <action name="Focus"/>
390 <action name="Raise"/>
391 </mousebind>
392 <mousebind button="Left" action="Drag">
393 <action name="Resize">
394 <edge>left</edge>
395 </action>
396 </mousebind>
397 </context>
398 <context name="Right">
399 <mousebind button="Left" action="Press">
400 <action name="Focus"/>
401 <action name="Raise"/>
402 </mousebind>
403 <mousebind button="Left" action="Drag">
404 <action name="Resize">
405 <edge>right</edge>
406 </action>
407 </mousebind>
408 </context>
409 <context name="Bottom">
410 <mousebind button="Left" action="Press">
411 <action name="Focus"/>
412 <action name="Raise"/>
413 </mousebind>
414 <mousebind button="Left" action="Drag">
415 <action name="Resize">
416 <edge>bottom</edge>
417 </action>
418 </mousebind>
419 <mousebind button="Middle" action="Press">
420 <action name="Lower"/>
421 <action name="FocusToBottom"/>
422 <action name="Unfocus"/>
423 </mousebind>
424 <mousebind button="Right" action="Press">
425 <action name="Focus"/>
426 <action name="Raise"/>
427 <action name="ShowMenu">
428 <menu>client-menu</menu>
429 </action>
430 </mousebind>
431 </context>
432 <context name="BLCorner">
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 <context name="BRCorner">
442 <mousebind button="Left" action="Press">
443 <action name="Focus"/>
444 <action name="Raise"/>
445 </mousebind>
446 <mousebind button="Left" action="Drag">
447 <action name="Resize"/>
448 </mousebind>
449 </context>
450 <context name="TLCorner">
451 <mousebind button="Left" action="Press">
452 <action name="Focus"/>
453 <action name="Raise"/>
454 <action name="Unshade"/>
455 </mousebind>
456 <mousebind button="Left" action="Drag">
457 <action name="Resize"/>
458 </mousebind>
459 </context>
460 <context name="TRCorner">
461 <mousebind button="Left" action="Press">
462 <action name="Focus"/>
463 <action name="Raise"/>
464 <action name="Unshade"/>
465 </mousebind>
466 <mousebind button="Left" action="Drag">
467 <action name="Resize"/>
468 </mousebind>
469 </context>
470 <context name="Client">
471 <mousebind button="Left" action="Press">
472 <action name="Focus"/>
473 <action name="Raise"/>
474 </mousebind>
475 <mousebind button="Middle" action="Press">
476 <action name="Focus"/>
477 <action name="Raise"/>
478 </mousebind>
479 <mousebind button="Right" action="Press">
480 <action name="Focus"/>
481 <action name="Raise"/>
482 </mousebind>
483 </context>
484 <context name="Icon">
485 <mousebind button="Left" action="Press">
486 <action name="Focus"/>
487 <action name="Raise"/>
488 <action name="Unshade"/>
489 <action name="ShowMenu">
490 <menu>client-menu</menu>
491 </action>
492 </mousebind>
493 <mousebind button="Right" action="Press">
494 <action name="Focus"/>
495 <action name="Raise"/>
496 <action name="ShowMenu">
497 <menu>client-menu</menu>
498 </action>
499 </mousebind>
500 </context>
501 <context name="AllDesktops">
502 <mousebind button="Left" action="Press">
503 <action name="Focus"/>
504 <action name="Raise"/>
505 <action name="Unshade"/>
506 </mousebind>
507 <mousebind button="Left" action="Click">
508 <action name="ToggleOmnipresent"/>
509 </mousebind>
510 </context>
511 <context name="Shade">
512 <mousebind button="Left" action="Press">
513 <action name="Focus"/>
514 <action name="Raise"/>
515 </mousebind>
516 <mousebind button="Left" action="Click">
517 <action name="ToggleShade"/>
518 </mousebind>
519 </context>
520 <context name="Iconify">
521 <mousebind button="Left" action="Press">
522 <action name="Focus"/>
523 <action name="Raise"/>
524 </mousebind>
525 <mousebind button="Left" action="Click">
526 <action name="Iconify"/>
527 </mousebind>
528 </context>
529 <context name="Maximize">
530 <mousebind button="Left" action="Press">
531 <action name="Focus"/>
532 <action name="Raise"/>
533 <action name="Unshade"/>
534 </mousebind>
535 <mousebind button="Middle" action="Press">
536 <action name="Focus"/>
537 <action name="Raise"/>
538 <action name="Unshade"/>
539 </mousebind>
540 <mousebind button="Right" action="Press">
541 <action name="Focus"/>
542 <action name="Raise"/>
543 <action name="Unshade"/>
544 </mousebind>
545 <mousebind button="Left" action="Click">
546 <action name="ToggleMaximizeFull"/>
547 </mousebind>
548 <mousebind button="Middle" action="Click">
549 <action name="ToggleMaximizeVert"/>
550 </mousebind>
551 <mousebind button="Right" action="Click">
552 <action name="ToggleMaximizeHorz"/>
553 </mousebind>
554 </context>
555 <context name="Close">
556 <mousebind button="Left" action="Press">
557 <action name="Focus"/>
558 <action name="Raise"/>
559 <action name="Unshade"/>
560 </mousebind>
561 <mousebind button="Left" action="Click">
562 <action name="Close"/>
563 </mousebind>
564 </context>
565 <context name="Desktop">
566 <mousebind button="Up" action="Click">
567 <action name="DesktopPrevious"/>
568 </mousebind>
569 <mousebind button="Down" action="Click">
570 <action name="DesktopNext"/>
571 </mousebind>
572 <mousebind button="A-Up" action="Click">
573 <action name="DesktopPrevious"/>
574 </mousebind>
575 <mousebind button="A-Down" action="Click">
576 <action name="DesktopNext"/>
577 </mousebind>
578 <mousebind button="C-A-Up" action="Click">
579 <action name="DesktopPrevious"/>
580 </mousebind>
581 <mousebind button="C-A-Down" action="Click">
582 <action name="DesktopNext"/>
583 </mousebind>
584 <mousebind button="Left" action="Press">
585 <action name="Focus"/>
586 <action name="Raise"/>
587 </mousebind>
588 <mousebind button="Right" action="Press">
589 <action name="Focus"/>
590 <action name="Raise"/>
591 </mousebind>
592 </context>
593 <context name="Root">
594 <!-- Menus -->
595 <mousebind button="Middle" action="Press">
596 <action name="ShowMenu">
597 <menu>client-list-combined-menu</menu>
598 </action>
599 </mousebind>
600 <mousebind button="Right" action="Press">
601 <action name="ShowMenu">
602 <menu>root-menu</menu>
603 </action>
604 </mousebind>
605 </context>
606 <context name="MoveResize">
607 <mousebind button="Up" action="Click">
608 <action name="DesktopPrevious"/>
609 </mousebind>
610 <mousebind button="Down" action="Click">
611 <action name="DesktopNext"/>
612 </mousebind>
613 <mousebind button="A-Up" action="Click">
614 <action name="DesktopPrevious"/>
615 </mousebind>
616 <mousebind button="A-Down" action="Click">
617 <action name="DesktopNext"/>
618 </mousebind>
619 </context>
620 </mouse>
621 <menu>
622 <!-- You can specify more than one menu file in here and they are all loaded,
623 just don't make menu ids clash or, well, it'll be kind of pointless -->
624 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
625 <file>menu.xml</file>
626 <hideDelay>200</hideDelay>
627 <!-- if a press-release lasts longer than this setting (in milliseconds), the
628 menu is hidden again -->
629 <middle>no</middle>
630 <!-- center submenus vertically about the parent entry -->
631 <submenuShowDelay>100</submenuShowDelay>
632 <!-- this one is easy, time to delay before showing a submenu after hovering
633 over the parent entry -->
634 <applicationIcons>yes</applicationIcons>
635 <!-- controls if icons appear in the client-list-(combined-)menu -->
636 <manageDesktops>yes</manageDesktops>
637 <!-- show the manage desktops section in the client-list-(combined-)menu -->
638 </menu>
639 <applications>
640 <application class="*">
641 <maximized>yes</maximized>
642 <decor>no</decor>
643 </application>
644 <!--
645 # this is an example with comments through out. use these to make your
646 # own rules, but without the comments of course.
648 <application name="first element of window's WM_CLASS property (see xprop)"
649 class="second element of window's WM_CLASS property (see xprop)"
650 role="the window's WM_WINDOW_ROLE property (see xprop)">
651 # the name or the class can be set, or both. this is used to match
652 # windows when they appear. role can optionally be set as well, to
653 # further restrict your matches.
655 # the name, class, and role use simple wildcard matching such as those
656 # used by a shell. you can use * to match any characters and ? to match
657 # any single character.
659 # when multiple rules match a window, they will all be applied, in the
660 # order that they appear in this list
663 # each element can be left out or set to 'default' to specify to not
664 # change that attribute of the window
666 <decor>yes</decor>
667 # enable or disable window decorations
669 <shade>no</shade>
670 # make the window shaded when it appears, or not
672 <position>
673 # the position is only used if both an x and y coordinate are provided
674 # (and not set to 'default')
675 <x>center</x>
676 # a number like 50, or 'center' to center on screen. use a negative number
677 # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
678 # right edge (or bottom).
679 <y>200</y>
680 <monitor>1</monitor>
681 # specifies the monitor in a xinerama setup.
682 # 1 is the first head, or 'mouse' for wherever the mouse is
683 </position>
685 <focus>yes</focus>
686 # if the window should try be given focus when it appears. if this is set
687 # to yes it doesn't guarantee the window will be given focus. some
688 # restrictions may apply, but Openbox will try to
690 <desktop>1</desktop>
691 # 1 is the first desktop, 'all' for all desktops
693 <layer>normal</layer>
694 # 'above', 'normal', or 'below'
696 <iconic>no</iconic>
697 # make the window iconified when it appears, or not
699 <skip_pager>no</skip_pager>
700 # asks to not be shown in pagers
702 <skip_taskbar>no</skip_taskbar>
703 # asks to not be shown in taskbars. window cycling actions will also
704 # skip past such windows
706 <fullscreen>yes</fullscreen>
707 # make the window in fullscreen mode when it appears
709 <maximized>true</maximized>
710 # 'Horizontal', 'Vertical' or boolean (yes/no)
711 </application>
713 # end of the example
714 -->
715 </applications>
716 </openbox_config>