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