[OpenBox] Correction of an indentation error

This commit is contained in:
Mathieu Maret 2010-04-01 10:22:24 +02:00
parent b2781dd4f5
commit 29aa3e0c26

View File

@ -1,11 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Doc @ http://icculus.org/openbox/index.php/Help:Actions#Introduction --> <!-- Doc @ http://icculus.org/openbox/index.php/Help:Actions#Introduction -->
<openbox_config xmlns="http://openbox.org/3.4/rc"> <openbox_config xmlns="http://openbox.org/3.4/rc">
<resistance>
<resistance>
<strength>10</strength> <strength>10</strength>
<screen_edge_strength>20</screen_edge_strength> <screen_edge_strength>20</screen_edge_strength>
</resistance> </resistance>
<focus>
<focus>
<focusNew>yes</focusNew> <focusNew>yes</focusNew>
<!-- always try to focus new windows when they appear. other rules do <!-- always try to focus new windows when they appear. other rules do
apply --> apply -->
@ -22,8 +25,9 @@
<raiseOnFocus>no</raiseOnFocus> <raiseOnFocus>no</raiseOnFocus>
<!-- when followMouse is enabled, and a window is given focus by moving the <!-- when followMouse is enabled, and a window is given focus by moving the
mouse into it, also raise the window --> mouse into it, also raise the window -->
</focus> </focus>
<placement>
<placement>
<policy>Smart</policy> <policy>Smart</policy>
<!-- 'Smart' or 'UnderMouse' --> <!-- 'Smart' or 'UnderMouse' -->
<center>yes</center> <center>yes</center>
@ -33,8 +37,9 @@
<!-- with Smart placement on a multi-monitor system, try to place new windows <!-- with Smart placement on a multi-monitor system, try to place new windows
on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
the active window is --> the active window is -->
</placement> </placement>
<theme>
<theme>
<name>Clearlooks</name> <name>Clearlooks</name>
<titleLayout>NLIMC</titleLayout> <titleLayout>NLIMC</titleLayout>
<!-- <!--
@ -50,52 +55,53 @@
<keepBorder>yes</keepBorder> <keepBorder>yes</keepBorder>
<animateIconify>yes</animateIconify> <animateIconify>yes</animateIconify>
<font place="ActiveWindow"> <font place="ActiveWindow">
<name>Sans</name> <name>sans</name>
<size>10</size> <size>8</size>
<!-- font size in points --> <!-- font size in points -->
<weight>Bold</weight> <weight>bold</weight>
<!-- 'bold' or 'normal' --> <!-- 'bold' or 'normal' -->
<slant>Normal</slant> <slant>normal</slant>
<!-- 'italic' or 'normal' --> <!-- 'italic' or 'normal' -->
</font> </font>
<font place="InactiveWindow"> <font place="InactiveWindow">
<name>Sans</name> <name>sans</name>
<size>10</size> <size>8</size>
<!-- font size in points --> <!-- font size in points -->
<weight>Bold</weight> <weight>bold</weight>
<!-- 'bold' or 'normal' --> <!-- 'bold' or 'normal' -->
<slant>Normal</slant> <slant>normal</slant>
<!-- 'italic' or 'normal' --> <!-- 'italic' or 'normal' -->
</font> </font>
<font place="MenuHeader"> <font place="MenuHeader">
<name>Sans</name> <name>sans</name>
<size>11</size> <size>9</size>
<!-- font size in points --> <!-- font size in points -->
<weight>Normal</weight> <weight>normal</weight>
<!-- 'bold' or 'normal' --> <!-- 'bold' or 'normal' -->
<slant>Normal</slant> <slant>normal</slant>
<!-- 'italic' or 'normal' --> <!-- 'italic' or 'normal' -->
</font> </font>
<font place="MenuItem"> <font place="MenuItem">
<name>Sans</name> <name>sans</name>
<size>11</size> <size>9</size>
<!-- font size in points --> <!-- font size in points -->
<weight>Normal</weight> <weight>normal</weight>
<!-- 'bold' or 'normal' --> <!-- 'bold' or 'normal' -->
<slant>Normal</slant> <slant>normal</slant>
<!-- 'italic' or 'normal' --> <!-- 'italic' or 'normal' -->
</font> </font>
<font place="OnScreenDisplay"> <font place="OnScreenDisplay">
<name>Sans</name> <name>sans</name>
<size>14</size> <size>9</size>
<!-- font size in points --> <!-- font size in points -->
<weight>Bold</weight> <weight>bold</weight>
<!-- 'bold' or 'normal' --> <!-- 'bold' or 'normal' -->
<slant>Normal</slant> <slant>normal</slant>
<!-- 'italic' or 'normal' --> <!-- 'italic' or 'normal' -->
</font> </font>
</theme> </theme>
<desktops>
<desktops>
<!-- this stuff is only used at startup, pagers allow you to change them <!-- this stuff is only used at startup, pagers allow you to change them
during a session during a session
@ -112,12 +118,14 @@
<name>desktop 2</name> <name>desktop 2</name>
<name>desktop 3</name> <name>desktop 3</name>
<name>desktop 4</name>--> <name>desktop 4</name>-->
</names> </names>
<popupTime>875</popupTime> <popupTime>875</popupTime>
<!-- The number of milliseconds to show the popup for when switching <!-- The number of milliseconds to show the popup for when switching
desktops. Set this to 0 to disable the popup. --> desktops. Set this to 0 to disable the popup. -->
</desktops> </desktops>
<resize>
<resize>
<drawContents>yes</drawContents> <drawContents>yes</drawContents>
<popupShow>Nonpixel</popupShow> <popupShow>Nonpixel</popupShow>
<!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) --> <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
@ -125,6 +133,7 @@
<!-- 'Center', 'Top', or 'Fixed' --> <!-- 'Center', 'Top', or 'Fixed' -->
<popupFixedPosition> <popupFixedPosition>
<!-- these are used if popupPosition is set to 'Fixed' --> <!-- these are used if popupPosition is set to 'Fixed' -->
<x>10</x> <x>10</x>
<!-- positive number for distance from left edge, negative number for <!-- positive number for distance from left edge, negative number for
distance from right edge, or 'Center' --> distance from right edge, or 'Center' -->
@ -132,8 +141,9 @@
<!-- positive number for distance from top edge, negative number for <!-- positive number for distance from top edge, negative number for
distance from bottom edge, or 'Center' --> distance from bottom edge, or 'Center' -->
</popupFixedPosition> </popupFixedPosition>
</resize> </resize>
<!-- You can reserve a portion of your screen where windows will not cover when
<!-- You can reserve a portion of your screen where windows will not cover when
they are maximized, or when they are initially placed. they are maximized, or when they are initially placed.
Many programs reserve space automatically, but you can use this in other Many programs reserve space automatically, but you can use this in other
cases. --> cases. -->
@ -435,220 +445,15 @@
<action name="Lower"/> <action name="Lower"/>
<action name="FocusToBottom"/> <action name="FocusToBottom"/>
<action name="Unfocus"/> <action name="Unfocus"/>
</keybind>
<keybind key="A-space">
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</keybind>
<keybind key="Print">
<action name="Execute">
<execute>gnome-screenshot</execute>
</action>
</keybind>
<keybind key="A-Print">
<action name="Execute">
<execute>gnome-screenshot -w</execute>
</action>
</keybind>
<!-- Keybindings for window switching -->
<keybind key="A-Tab">
<action name="NextWindow"/>
</keybind>
<keybind key="A-S-Tab">
<action name="PreviousWindow"/>
</keybind>
<keybind key="C-A-Tab">
<action name="NextWindow">
<panels>yes</panels>
<desktop>yes</desktop>
</action>
</keybind>
<!-- Resize Windows -->
<keybind key="W-Right">
<action name="GrowToEdgeEast"/>
</keybind>
<keybind key="W-Left">
<action name="GrowToEdgeWest"/>
</keybind>
<keybind key="W-Down">
<action name="GrowToEdgeSouth"/>
</keybind>
<keybind key="W-Up">
<action name="GrowToEdgeNorth"/>
</keybind>
<keybind key="A-F11">
<action name="ToggleFullscreen"/>
</keybind>
<keybind key="A-F10">
<action name="ToggleMaximizeFull"/>
</keybind>
<!-- Keybindings for running applications -->
<keybind key="A-F2">
<action name="Execute">
<name>Lance GmRun</name>
<command>/usr/bin/gmrun</command>
</action>
</keybind>
<keybind key="A-F3">
<action name="Execute">
<name>Lance </name>
<command>gnome-terminal</command>
</action>
</keybind>
<keybind key="W-e">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Konsole</name>
</startupnotify>
<command>konsole</command>
</action>
</keybind>
</keyboard>
<mouse>
<dragThreshold>8</dragThreshold>
<!-- number of pixels the mouse must move before a drag begins -->
<doubleClickTime>200</doubleClickTime>
<!-- in milliseconds (1000 = 1 second) -->
<screenEdgeWarpTime>400</screenEdgeWarpTime>
<!-- Time before changing desktops when the pointer touches the edge of the
screen while moving a window, in milliseconds (1000 = 1 second).
Set this to 0 to disable warping -->
<context name="Frame">
<mousebind button="A-Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="A-Left" action="Click">
<action name="Unshade"/>
</mousebind>
<mousebind button="A-Left" action="Drag">
<action name="Move"/>
</mousebind>
<mousebind button="A-Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="A-Right" action="Drag">
<action name="Resize"/>
</mousebind>
<mousebind button="A-Middle" action="Press">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind>
<mousebind button="A-Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="A-Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="C-A-Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="C-A-Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="A-S-Up" action="Click">
<action name="SendToDesktopPrevious"/>
</mousebind>
<mousebind button="A-S-Down" action="Click">
<action name="SendToDesktopNext"/>
</mousebind>
</context>
<context name="Titlebar">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Move"/>
</mousebind>
<mousebind button="Left" action="DoubleClick">
<action name="ToggleMaximizeFull"/>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind>
<mousebind button="Up" action="Click">
<action name="Shade"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
<action name="Lower"/>
</mousebind>
<mousebind button="Down" action="Click">
<action name="Unshade"/>
<action name="Raise"/>
</mousebind> </mousebind>
<mousebind button="Right" action="Press"> <mousebind button="Right" action="Press">
<action name="Focus"/> <action name="Focus"/>
<action name="Raise"/> <action name="Raise"/>
<action name="ShowMenu"> <action name="ShowMenu"><menu>client-menu</menu></action>
<menu>client-menu</menu>
</action>
</mousebind>
</context>
<context name="Top">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>top</edge>
</action>
</mousebind>
</context>
<context name="Left">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>left</edge>
</action>
</mousebind>
</context>
<context name="Right">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>right</edge>
</action>
</mousebind>
</context>
<context name="Bottom">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>bottom</edge>
</action>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind> </mousebind>
</context> </context>
<context name="BLCorner"> <context name="BLCorner">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -658,6 +463,7 @@
<action name="Resize"/> <action name="Resize"/>
</mousebind> </mousebind>
</context> </context>
<context name="BRCorner"> <context name="BRCorner">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -667,6 +473,7 @@
<action name="Resize"/> <action name="Resize"/>
</mousebind> </mousebind>
</context> </context>
<context name="TLCorner"> <context name="TLCorner">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -677,6 +484,7 @@
<action name="Resize"/> <action name="Resize"/>
</mousebind> </mousebind>
</context> </context>
<context name="TRCorner"> <context name="TRCorner">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -687,6 +495,7 @@
<action name="Resize"/> <action name="Resize"/>
</mousebind> </mousebind>
</context> </context>
<context name="Client"> <context name="Client">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -701,23 +510,21 @@
<action name="Raise"/> <action name="Raise"/>
</mousebind> </mousebind>
</context> </context>
<context name="Icon"> <context name="Icon">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
<action name="Raise"/> <action name="Raise"/>
<action name="Unshade"/> <action name="Unshade"/>
<action name="ShowMenu"> <action name="ShowMenu"><menu>client-menu</menu></action>
<menu>client-menu</menu>
</action>
</mousebind> </mousebind>
<mousebind button="Right" action="Press"> <mousebind button="Right" action="Press">
<action name="Focus"/> <action name="Focus"/>
<action name="Raise"/> <action name="Raise"/>
<action name="ShowMenu"> <action name="ShowMenu"><menu>client-menu</menu></action>
<menu>client-menu</menu>
</action>
</mousebind> </mousebind>
</context> </context>
<context name="AllDesktops"> <context name="AllDesktops">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -728,6 +535,7 @@
<action name="ToggleOmnipresent"/> <action name="ToggleOmnipresent"/>
</mousebind> </mousebind>
</context> </context>
<context name="Shade"> <context name="Shade">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -737,6 +545,7 @@
<action name="ToggleShade"/> <action name="ToggleShade"/>
</mousebind> </mousebind>
</context> </context>
<context name="Iconify"> <context name="Iconify">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -746,6 +555,7 @@
<action name="Iconify"/> <action name="Iconify"/>
</mousebind> </mousebind>
</context> </context>
<context name="Maximize"> <context name="Maximize">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -772,6 +582,7 @@
<action name="ToggleMaximizeHorz"/> <action name="ToggleMaximizeHorz"/>
</mousebind> </mousebind>
</context> </context>
<context name="Close"> <context name="Close">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
@ -782,6 +593,7 @@
<action name="Close"/> <action name="Close"/>
</mousebind> </mousebind>
</context> </context>
<context name="Desktop"> <context name="Desktop">
<mousebind button="Up" action="Click"> <mousebind button="Up" action="Click">
<action name="DesktopPrevious"/> <action name="DesktopPrevious"/>
@ -789,6 +601,7 @@
<mousebind button="Down" action="Click"> <mousebind button="Down" action="Click">
<action name="DesktopNext"/> <action name="DesktopNext"/>
</mousebind> </mousebind>
<mousebind button="A-Up" action="Click"> <mousebind button="A-Up" action="Click">
<action name="DesktopPrevious"/> <action name="DesktopPrevious"/>
</mousebind> </mousebind>
@ -801,6 +614,7 @@
<mousebind button="C-A-Down" action="Click"> <mousebind button="C-A-Down" action="Click">
<action name="DesktopNext"/> <action name="DesktopNext"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
<action name="Raise"/> <action name="Raise"/>
@ -810,19 +624,17 @@
<action name="Raise"/> <action name="Raise"/>
</mousebind> </mousebind>
</context> </context>
<context name="Root"> <context name="Root">
<!-- Menus --> <!-- Menus -->
<mousebind button="Middle" action="Press"> <mousebind button="Middle" action="Press">
<action name="ShowMenu"> <action name="ShowMenu"><menu>client-list-combined-menu</menu></action>
<menu>client-list-combined-menu</menu>
</action>
</mousebind> </mousebind>
<mousebind button="Right" action="Press"> <mousebind button="Right" action="Press">
<action name="ShowMenu"> <action name="ShowMenu"><menu>root-menu</menu></action>
<menu>root-menu</menu>
</action>
</mousebind> </mousebind>
</context> </context>
<context name="MoveResize"> <context name="MoveResize">
<mousebind button="Up" action="Click"> <mousebind button="Up" action="Click">
<action name="DesktopPrevious"/> <action name="DesktopPrevious"/>
@ -837,11 +649,14 @@
<action name="DesktopNext"/> <action name="DesktopNext"/>
</mousebind> </mousebind>
</context> </context>
</mouse> </mouse>
<menu>
<menu>
<!-- You can specify more than one menu file in here and they are all loaded, <!-- You can specify more than one menu file in here and they are all loaded,
just don't make menu ids clash or, well, it'll be kind of pointless --> just don't make menu ids clash or, well, it'll be kind of pointless -->
<!-- default menu file (or custom one in $HOME/.config/openbox/) --> <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
<!-- system menu files on Debian systems --> <!-- system menu files on Debian systems -->
<file>/var/lib/openbox/debian-menu.xml</file> <file>/var/lib/openbox/debian-menu.xml</file>
<file>debian-menu.xml</file> <file>debian-menu.xml</file>
@ -858,9 +673,10 @@
<!-- controls if icons appear in the client-list-(combined-)menu --> <!-- controls if icons appear in the client-list-(combined-)menu -->
<manageDesktops>yes</manageDesktops> <manageDesktops>yes</manageDesktops>
<!-- show the manage desktops section in the client-list-(combined-)menu --> <!-- show the manage desktops section in the client-list-(combined-)menu -->
</menu> </menu>
<applications>
<!-- <applications>
<!--
# this is an example with comments through out. use these to make your # this is an example with comments through out. use these to make your
# own rules, but without the comments of course. # own rules, but without the comments of course.
@ -939,5 +755,6 @@
# end of the example # end of the example
--> -->
</applications> </applications>
</openbox_config> </openbox_config>