1 <?xml version="1.0" encoding="UTF-8"?>
3 <!-- Do not edit this file, it will be overwritten on install.
4 Copy the file to $HOME/.config/openbox/ instead. -->
6 <openbox_config xmlns="http://openbox.org/"
7 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8 xsi:schemaLocation="http://openbox.org/
9 file://@xsddir@/rc.xsd">
12 <strength>10</strength>
13 <screen_edge_strength>20</screen_edge_strength>
17 <focusNew>yes</focusNew>
18 <focusLast>yes</focusLast>
19 <followMouse>no</followMouse>
20 <focusDelay>0</focusDelay>
21 <raiseOnFocus>no</raiseOnFocus>
26 <titlelayout>NLIMC</titlelayout>
40 <drawContents>yes</drawContents>
44 <position>TopLeft</position>
45 <stacking>Top</stacking>
46 <direction>Vertical</direction>
47 <floatingX>0</floatingX>
48 <floatingY>0</floatingY>
49 <autoHide>no</autoHide>
50 <hideDelay>300</hideDelay>
54 <chainQuitKey>C-g</chainQuitKey>
57 <action name="MaximizeFull"/>
60 <action name="UnmaximizeFull"/>
63 <action name="ToggleShade"/>
65 <keybind key="C-A-Left">
66 <action name="DesktopLeft"/>
68 <keybind key="C-A-Right">
69 <action name="DesktopRight"/>
71 <keybind key="C-A-Up">
72 <action name="DesktopUp"/>
74 <keybind key="C-A-Down">
75 <action name="DesktopDown"/>
77 <keybind key="S-A-Left">
78 <action name="SendToDesktopLeft"/>
80 <keybind key="S-A-Right">
81 <action name="SendToDesktopRight"/>
83 <keybind key="S-A-Up">
84 <action name="SendToDesktopUp"/>
86 <keybind key="S-A-Down">
87 <action name="SendToDesktopDown"/>
90 <action name="ToggleShowDesktop"/>
93 <action name="Close"/>
96 <action name="NextWindow"/>
98 <keybind key="A-S-Tab">
99 <action name="PreviousWindow"/>
102 <action name="Move"/>
105 <action name="Resize"/>
108 <action name="Iconify"/>
110 <keybind key="A-space">
111 <action name="ShowMenu"><menu>client-menu</menu></action>
116 <dragThreshold>3</dragThreshold>
117 <doubleClickTime>200</doubleClickTime>
119 <context name="Frame">
120 <mousebind button="A-Left" action="Drag">
121 <action name="Move"/>
123 <mousebind button="A-Left" action="Click">
124 <action name="Raise"/>
126 <mousebind button="A-Left" action="Press">
127 <action name="Focus"/>
129 <mousebind button="A-Middle" action="Drag">
130 <action name="Resize"/>
132 <mousebind button="A-Middle" action="Click">
133 <action name="Lower"/>
135 <mousebind button="A-Right" action="Press">
136 <action name="ShowMenu"><menu>client-menu</menu></action>
138 <mousebind button="A-Up" action="Click">
139 <action name="DesktopNext"/>
141 <mousebind button="A-Down" action="Click">
142 <action name="DesktopPrevious"/>
144 <mousebind button="C-A-Up" action="Click">
145 <action name="SendToDesktopNext"/>
147 <mousebind button="C-A-Down" action="Click">
148 <action name="SendToDesktopPrevious"/>
151 <context name="Titlebar">
152 <mousebind button="Left" action="Drag">
153 <action name="Move"/>
155 <mousebind button="Left" action="Click">
156 <action name="Raise"/>
158 <mousebind button="Left" action="Press">
159 <action name="Focus"/>
161 <mousebind button="Left" action="DoubleClick">
162 <action name="ToggleShade"/>
164 <mousebind button="Middle" action="Press">
165 <action name="Lower"/>
167 <mousebind button="Up" action="Click">
168 <action name="Shade"/>
170 <mousebind button="Down" action="Click">
171 <action name="Unshade"/>
173 <mousebind button="Right" action="Press">
174 <action name="ShowMenu"><menu>client-menu</menu></action>
177 <context name="Handle">
178 <mousebind button="Left" action="Drag">
179 <action name="Move"/>
181 <mousebind button="Left" action="Click">
182 <action name="Raise"/>
184 <mousebind button="Left" action="Press">
185 <action name="Focus"/>
187 <mousebind button="Middle" action="Press">
188 <action name="Lower"/>
191 <context name="BLCorner">
192 <mousebind button="Left" action="Drag">
193 <action name="Resize"/>
195 <mousebind button="Left" action="Press">
196 <action name="Focus"/>
199 <context name="BRCorner">
200 <mousebind button="Left" action="Drag">
201 <action name="Resize"/>
203 <mousebind button="Left" action="Press">
204 <action name="Focus"/>
207 <context name="TLCorner">
208 <mousebind button="Left" action="Drag">
209 <action name="Resize"/>
211 <mousebind button="Left" action="Press">
212 <action name="Focus"/>
215 <context name="TRCorner">
216 <mousebind button="Left" action="Drag">
217 <action name="Resize"/>
219 <mousebind button="Left" action="Press">
220 <action name="Focus"/>
223 <context name="Client">
224 <mousebind button="Left" action="Press">
225 <action name="Focus"/>
226 <action name="Raise"/>
228 <mousebind button="Middle" action="Press">
229 <action name="Focus"/>
231 <mousebind button="Right" action="Press">
232 <action name="Focus"/>
235 <context name="Icon">
236 <mousebind button="Left" action="Press">
237 <action name="Focus"/>
239 <mousebind button="Right" action="Press">
240 <action name="ShowMenu"><menu>client-menu</menu></action>
242 <mousebind button="Left" action="Click">
243 <action name="ShowMenu"><menu>client-menu</menu></action>
245 <mousebind button="Left" action="DoubleClick">
246 <action name="Close"/>
249 <context name="AllDesktops">
250 <mousebind button="Left" action="Press">
251 <action name="Focus"/>
253 <mousebind button="Left" action="Click">
254 <action name="ToggleOmnipresent"/>
257 <context name="Shade">
258 <mousebind button="Left" action="Press">
259 <action name="Focus"/>
261 <mousebind button="Left" action="Click">
262 <action name="ToggleShade"/>
265 <context name="Iconify">
266 <mousebind button="Left" action="Press">
267 <action name="Focus"/>
269 <mousebind button="Left" action="Click">
270 <action name="Iconify"/>
273 <context name="Maximize">
274 <mousebind button="Left" action="Press">
275 <action name="Focus"/>
277 <mousebind button="Middle" action="Press">
278 <action name="Focus"/>
280 <mousebind button="Right" action="Press">
281 <action name="Focus"/>
283 <mousebind button="Left" action="Click">
284 <action name="ToggleMaximizeFull"/>
286 <mousebind button="Middle" action="Click">
287 <action name="ToggleMaximizeVert"/>
289 <mousebind button="Right" action="Click">
290 <action name="ToggleMaximizeHorz"/>
293 <context name="Close">
294 <mousebind button="Left" action="Press">
295 <action name="Focus"/>
297 <mousebind button="Left" action="Click">
298 <action name="Close"/>
301 <context name="Desktop">
302 <mousebind button="Up" action="Press">
303 <action name="DesktopNext"/>
305 <mousebind button="Down" action="Press">
306 <action name="DesktopPrevious"/>
308 <mousebind button="A-Up" action="Press">
309 <action name="DesktopNext"/>
311 <mousebind button="A-Down" action="Press">
312 <action name="DesktopPrevious"/>
314 <mousebind button="Left" action="Press">
315 <action name="Focus"/>
316 <action name="Raise"/>
318 <mousebind button="Middle" action="Press">
319 <action name="ShowMenu"><menu>client-list-menu</menu></action>
321 <mousebind button="Right" action="Press">
322 <action name="ShowMenu"><menu>root-menu</menu></action>
325 <context name="MoveResize">
326 <mousebind button="Up" action="Press">
327 <action name="DesktopNext"/>
329 <mousebind button="Down" action="Press">
330 <action name="DesktopPrevious"/>
332 <mousebind button="A-Up" action="Press">
333 <action name="DesktopNext"/>
335 <mousebind button="A-Down" action="Press">
336 <action name="DesktopPrevious"/>
342 <!-- You can specify more than one menu file in here and they are all loaded,
343 just don't make menu ids clash or, well, it'll be kind of pointless -->
345 <!-- debian menu file -->
346 <file>/etc/X11/openbox/openbox-menu.xml</file>
348 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
349 <file>menu.xml</file>