Version 0.34 of easy-deb-chroot Fremantle, LXDE works now.
[easy-deb-chroot] / fremantle / easy-deb-chroot / src / home / user / .config / openbox / lxde-rc.xml
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>Active</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>Syscrash</name>
40     <titleLayout>DLNMC</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>DejaVu Sans Semi-Condensed</name>
55       <size>20</size>
56       <!-- font size in points -->
57       <weight>Normal</weight>
58       <!-- 'bold' or 'normal' -->
59       <slant>Normal</slant>
60       <!-- 'italic' or 'normal' -->
61     </font>
62     <font place="InactiveWindow">
63       <name>DejaVu Sans Semi-Condensed</name>
64       <size>20</size>
65       <!-- font size in points -->
66       <weight>Normal</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>10</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>10</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
102
103        these are default values to use when other ones are not already set
104        by other applications, or saved in your session
105
106        use obconf if you want to change these without having to log out
107        and back in -->
108     <number>4</number>
109     <firstdesk>1</firstdesk>
110     <names>
111       <name>One</name>
112       <name>Two</name>
113       <name>Three</name>
114       <name>Four</name>
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     <keybind key="C-A-d">
239       <action name="ToggleShowDesktop"/>
240     </keybind>
241     <!-- Keybindings for windows -->
242     <keybind key="A-F4">
243       <action name="Close"/>
244     </keybind>
245     <keybind key="A-Escape">
246       <action name="Lower"/>
247       <action name="FocusToBottom"/>
248       <action name="Unfocus"/>
249     </keybind>
250     <keybind key="A-space">
251       <action name="ShowMenu">
252         <menu>client-menu</menu>
253       </action>
254     </keybind>
255     <keybind key="C-period">
256       <action name="Move"/>
257     </keybind>
258     <!-- Keybindings for window switching -->
259     <keybind key="A-Tab">
260       <action name="NextWindow"/>
261     </keybind>
262     <keybind key="A-S-Tab">
263       <action name="PreviousWindow"/>
264     </keybind>
265     <keybind key="C-A-Tab">
266       <action name="NextWindow">
267         <panels>yes</panels>
268         <desktop>yes</desktop>
269       </action>
270     </keybind>
271     <!-- Keybindings for running applications -->
272     <keybind key="W-e">
273       <action name="Execute">
274         <startupnotify>
275           <enabled>true</enabled>
276           <name>PCManFM</name>
277         </startupnotify>
278         <command>pcmanfm</command>
279       </action>
280     </keybind>
281     <!--keybindings for LXPanel -->
282     <keybind key="W-r">
283       <action name="Execute">
284         <command>lxpanelctl run</command>
285       </action>
286     </keybind>
287     <keybind key="A-F2">
288       <action name="Execute">
289         <command>lxpanelctl run</command>
290       </action>
291     </keybind>
292     <keybind key="C-Escape">
293       <action name="Execute">
294         <command>lxpanelctl menu</command>
295       </action>
296     </keybind>
297     <keybind key="F11">
298       <action name="ToggleFullscreen"/>
299     </keybind>
300     <!-- Launch Task Manager with Ctrl+Alt+Del -->
301     <keybind key="A-C-Delete">
302       <action name="Execute">
303         <command>lxtask</command>
304       </action>
305     </keybind>
306   </keyboard>
307   <mouse>
308     <dragThreshold>8</dragThreshold>
309     <!-- number of pixels the mouse must move before a drag begins -->
310     <doubleClickTime>200</doubleClickTime>
311     <!-- in milliseconds (1000 = 1 second) -->
312     <screenEdgeWarpTime>400</screenEdgeWarpTime>
313     <!-- Time before changing desktops when the pointer touches the edge of the
314        screen while moving a window, in milliseconds (1000 = 1 second).
315        Set this to 0 to disable warping -->
316     <context name="Frame">
317       <mousebind button="A-Left" action="Press">
318         <action name="Focus"/>
319         <action name="Raise"/>
320       </mousebind>
321       <mousebind button="A-Left" action="Click">
322         <action name="Unshade"/>
323       </mousebind>
324       <mousebind button="A-Left" action="Drag">
325         <action name="Move"/>
326       </mousebind>
327       <mousebind button="A-Right" action="Press">
328         <action name="Focus"/>
329         <action name="Raise"/>
330         <action name="Unshade"/>
331       </mousebind>
332       <mousebind button="A-Right" action="Drag">
333         <action name="Resize"/>
334       </mousebind>
335       <mousebind button="A-Middle" action="Press">
336         <action name="Lower"/>
337         <action name="FocusToBottom"/>
338         <action name="Unfocus"/>
339       </mousebind>
340       <mousebind button="A-Up" action="Click">
341         <action name="DesktopPrevious"/>
342       </mousebind>
343       <mousebind button="A-Down" action="Click">
344         <action name="DesktopNext"/>
345       </mousebind>
346       <mousebind button="C-A-Up" action="Click">
347         <action name="DesktopPrevious"/>
348       </mousebind>
349       <mousebind button="C-A-Down" action="Click">
350         <action name="DesktopNext"/>
351       </mousebind>
352       <mousebind button="A-S-Up" action="Click">
353         <action name="SendToDesktopPrevious"/>
354       </mousebind>
355       <mousebind button="A-S-Down" action="Click">
356         <action name="SendToDesktopNext"/>
357       </mousebind>
358     </context>
359     <context name="Titlebar">
360       <mousebind button="Left" action="Press">
361         <action name="Focus"/>
362         <action name="Raise"/>
363       </mousebind>
364       <mousebind button="Left" action="Drag">
365         <action name="Move"/>
366       </mousebind>
367       <mousebind button="Left" action="DoubleClick">
368         <action name="ToggleMaximizeFull"/>
369       </mousebind>
370       <mousebind button="Middle" action="Press">
371         <action name="Lower"/>
372         <action name="FocusToBottom"/>
373         <action name="Unfocus"/>
374       </mousebind>
375       <mousebind button="Up" action="Click">
376         <action name="Shade"/>
377         <action name="FocusToBottom"/>
378         <action name="Unfocus"/>
379         <action name="Lower"/>
380       </mousebind>
381       <mousebind button="Down" action="Click">
382         <action name="Unshade"/>
383         <action name="Raise"/>
384       </mousebind>
385       <mousebind button="Right" action="Press">
386         <action name="Focus"/>
387         <action name="Raise"/>
388         <action name="ShowMenu">
389           <menu>client-menu</menu>
390         </action>
391       </mousebind>
392     </context>
393     <context name="Top">
394       <mousebind button="Left" action="Press">
395         <action name="Focus"/>
396         <action name="Raise"/>
397         <action name="Unshade"/>
398       </mousebind>
399       <mousebind button="Left" action="Drag">
400         <action name="Resize">
401           <edge>top</edge>
402         </action>
403       </mousebind>
404     </context>
405     <context name="Left">
406       <mousebind button="Left" action="Press">
407         <action name="Focus"/>
408         <action name="Raise"/>
409       </mousebind>
410       <mousebind button="Left" action="Drag">
411         <action name="Resize">
412           <edge>left</edge>
413         </action>
414       </mousebind>
415     </context>
416     <context name="Right">
417       <mousebind button="Left" action="Press">
418         <action name="Focus"/>
419         <action name="Raise"/>
420       </mousebind>
421       <mousebind button="Left" action="Drag">
422         <action name="Resize">
423           <edge>right</edge>
424         </action>
425       </mousebind>
426     </context>
427     <context name="Bottom">
428       <mousebind button="Left" action="Press">
429         <action name="Focus"/>
430         <action name="Raise"/>
431       </mousebind>
432       <mousebind button="Left" action="Drag">
433         <action name="Resize">
434           <edge>bottom</edge>
435         </action>
436       </mousebind>
437       <mousebind button="Middle" action="Press">
438         <action name="Lower"/>
439         <action name="FocusToBottom"/>
440         <action name="Unfocus"/>
441       </mousebind>
442       <mousebind button="Right" action="Press">
443         <action name="Focus"/>
444         <action name="Raise"/>
445         <action name="ShowMenu">
446           <menu>client-menu</menu>
447         </action>
448       </mousebind>
449     </context>
450     <context name="BLCorner">
451       <mousebind button="Left" action="Press">
452         <action name="Focus"/>
453         <action name="Raise"/>
454       </mousebind>
455       <mousebind button="Left" action="Drag">
456         <action name="Resize"/>
457       </mousebind>
458     </context>
459     <context name="BRCorner">
460       <mousebind button="Left" action="Press">
461         <action name="Focus"/>
462         <action name="Raise"/>
463       </mousebind>
464       <mousebind button="Left" action="Drag">
465         <action name="Resize"/>
466       </mousebind>
467     </context>
468     <context name="TLCorner">
469       <mousebind button="Left" action="Press">
470         <action name="Focus"/>
471         <action name="Raise"/>
472         <action name="Unshade"/>
473       </mousebind>
474       <mousebind button="Left" action="Drag">
475         <action name="Resize"/>
476       </mousebind>
477     </context>
478     <context name="TRCorner">
479       <mousebind button="Left" action="Press">
480         <action name="Focus"/>
481         <action name="Raise"/>
482         <action name="Unshade"/>
483       </mousebind>
484       <mousebind button="Left" action="Drag">
485         <action name="Resize"/>
486       </mousebind>
487     </context>
488     <context name="Client">
489       <mousebind button="Left" action="Press">
490         <action name="Focus"/>
491         <action name="Raise"/>
492       </mousebind>
493       <mousebind button="Middle" action="Press">
494         <action name="Focus"/>
495         <action name="Raise"/>
496       </mousebind>
497       <mousebind button="Right" action="Press">
498         <action name="Focus"/>
499         <action name="Raise"/>
500       </mousebind>
501     </context>
502     <context name="Icon">
503       <mousebind button="Left" action="Press">
504         <action name="Focus"/>
505         <action name="Raise"/>
506         <action name="Unshade"/>
507         <action name="ShowMenu">
508           <menu>client-menu</menu>
509         </action>
510       </mousebind>
511       <mousebind button="Right" action="Press">
512         <action name="Focus"/>
513         <action name="Raise"/>
514         <action name="ShowMenu">
515           <menu>client-menu</menu>
516         </action>
517       </mousebind>
518     </context>
519     <context name="AllDesktops">
520       <mousebind button="Left" action="Press">
521         <action name="Focus"/>
522         <action name="Raise"/>
523         <action name="Unshade"/>
524       </mousebind>
525       <mousebind button="Left" action="Click">
526         <action name="ToggleOmnipresent"/>
527       </mousebind>
528     </context>
529     <context name="Shade">
530       <mousebind button="Left" action="Press">
531         <action name="Focus"/>
532         <action name="Raise"/>
533       </mousebind>
534       <mousebind button="Left" action="Click">
535         <action name="ToggleShade"/>
536       </mousebind>
537     </context>
538     <context name="Iconify">
539       <mousebind button="Left" action="Press">
540         <action name="Focus"/>
541         <action name="Raise"/>
542       </mousebind>
543       <mousebind button="Left" action="Click">
544         <action name="Iconify"/>
545       </mousebind>
546     </context>
547     <context name="Maximize">
548       <mousebind button="Left" action="Press">
549         <action name="Focus"/>
550         <action name="Raise"/>
551         <action name="Unshade"/>
552       </mousebind>
553       <mousebind button="Middle" action="Press">
554         <action name="Focus"/>
555         <action name="Raise"/>
556         <action name="Unshade"/>
557       </mousebind>
558       <mousebind button="Right" action="Press">
559         <action name="Focus"/>
560         <action name="Raise"/>
561         <action name="Unshade"/>
562       </mousebind>
563       <mousebind button="Left" action="Click">
564         <action name="ToggleMaximizeFull"/>
565       </mousebind>
566       <mousebind button="Middle" action="Click">
567         <action name="ToggleMaximizeVert"/>
568       </mousebind>
569       <mousebind button="Right" action="Click">
570         <action name="ToggleMaximizeHorz"/>
571       </mousebind>
572     </context>
573     <context name="Close">
574       <mousebind button="Left" action="Press">
575         <action name="Focus"/>
576         <action name="Raise"/>
577         <action name="Unshade"/>
578       </mousebind>
579       <mousebind button="Left" action="Click">
580         <action name="Close"/>
581       </mousebind>
582     </context>
583     <context name="Desktop">
584       <mousebind button="Up" action="Click">
585         <action name="DesktopPrevious"/>
586       </mousebind>
587       <mousebind button="Down" action="Click">
588         <action name="DesktopNext"/>
589       </mousebind>
590       <mousebind button="A-Up" action="Click">
591         <action name="DesktopPrevious"/>
592       </mousebind>
593       <mousebind button="A-Down" action="Click">
594         <action name="DesktopNext"/>
595       </mousebind>
596       <mousebind button="C-A-Up" action="Click">
597         <action name="DesktopPrevious"/>
598       </mousebind>
599       <mousebind button="C-A-Down" action="Click">
600         <action name="DesktopNext"/>
601       </mousebind>
602       <mousebind button="Left" action="Press">
603         <action name="Focus"/>
604         <action name="Raise"/>
605       </mousebind>
606       <mousebind button="Right" action="Press">
607         <action name="Focus"/>
608         <action name="Raise"/>
609       </mousebind>
610     </context>
611     <context name="Root">
612       <!-- Menus -->
613       <mousebind button="Middle" action="Press">
614         <action name="ShowMenu">
615           <menu>client-list-combined-menu</menu>
616         </action>
617       </mousebind>
618       <mousebind button="Right" action="Press">
619         <action name="ShowMenu">
620           <menu>root-menu</menu>
621         </action>
622       </mousebind>
623     </context>
624     <context name="MoveResize">
625       <mousebind button="Up" action="Click">
626         <action name="DesktopPrevious"/>
627       </mousebind>
628       <mousebind button="Down" action="Click">
629         <action name="DesktopNext"/>
630       </mousebind>
631       <mousebind button="A-Up" action="Click">
632         <action name="DesktopPrevious"/>
633       </mousebind>
634       <mousebind button="A-Down" action="Click">
635         <action name="DesktopNext"/>
636       </mousebind>
637     </context>
638   </mouse>
639   <menu>
640     <!-- You can specify more than one menu file in here and they are all loaded,
641        just don't make menu ids clash or, well, it'll be kind of pointless -->
642     <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
643     <file>/usr/share/lxde/openbox/menu.xml</file>
644     <hideDelay>200</hideDelay>
645     <!-- if a press-release lasts longer than this setting (in milliseconds), the
646        menu is hidden again -->
647     <middle>no</middle>
648     <!-- center submenus vertically about the parent entry -->
649     <submenuShowDelay>100</submenuShowDelay>
650     <!-- this one is easy, time to delay before showing a submenu after hovering
651        over the parent entry -->
652     <applicationIcons>yes</applicationIcons>
653     <!-- controls if icons appear in the client-list-(combined-)menu -->
654     <manageDesktops>yes</manageDesktops>
655     <!-- show the manage desktops section in the client-list-(combined-)menu -->
656   </menu>
657   <applications>
658     <!--
659   # this is an example with comments through out. use these to make your
660   # own rules, but without the comments of course.
661
662   <application name="first element of window's WM_CLASS property (see xprop)"
663               class="second element of window's WM_CLASS property (see xprop)"
664                role="the window's WM_WINDOW_ROLE property (see xprop)">
665   # the name or the class can be set, or both. this is used to match
666   # windows when they appear. role can optionally be set as well, to
667   # further restrict your matches.
668
669   # the name, class, and role use simple wildcard matching such as those
670   # used by a shell. you can use * to match any characters and ? to match
671   # any single character.
672
673   # when multiple rules match a window, they will all be applied, in the
674   # order that they appear in this list
675
676
677     # each element can be left out or set to 'default' to specify to not
678     # change that attribute of the window
679
680     <decor>yes</decor>
681     # enable or disable window decorations
682
683     <shade>no</shade>
684     # make the window shaded when it appears, or not
685
686     <position>
687       # the position is only used if both an x and y coordinate are provided
688       # (and not set to 'default')
689       <x>center</x>
690       # a number like 50, or 'center' to center on screen. use a negative number
691       # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
692       # right edge (or bottom).
693       <y>200</y>
694       <monitor>1</monitor>
695       # specifies the monitor in a xinerama setup.
696       # 1 is the first head, or 'mouse' for wherever the mouse is
697     </position>
698
699     <focus>yes</focus>
700     # if the window should try be given focus when it appears. if this is set
701     # to yes it doesn't guarantee the window will be given focus. some
702     # restrictions may apply, but Openbox will try to
703
704     <desktop>1</desktop>
705     # 1 is the first desktop, 'all' for all desktops
706
707     <layer>normal</layer>
708     # 'above', 'normal', or 'below'
709
710     <iconic>no</iconic>
711     # make the window iconified when it appears, or not
712
713     <skip_pager>no</skip_pager>
714     # asks to not be shown in pagers
715
716     <skip_taskbar>no</skip_taskbar>
717     # asks to not be shown in taskbars. window cycling actions will also
718     # skip past such windows
719
720     <fullscreen>yes</fullscreen>
721     # make the window in fullscreen mode when it appears
722
723     <maximized>true</maximized>
724     # 'Horizontal', 'Vertical' or boolean (yes/no)
725   </application>
726
727   # end of the example
728 -->
729   </applications>
730 </openbox_config>