flavors view justx64/rootfs/etc/xdg/openbox/rc.xml @ rev 266

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