Attachment 'rc.xml'
Download 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/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openbox.org/ file:///usr/share/openbox/rc.xsd">
5 <resistance>
6 <strength>10</strength>
7 <screen_edge_strength>20</screen_edge_strength>
8 <edges_hit_layers_below>no</edges_hit_layers_below>
9 </resistance>
10 <focus>
11 <focusNew>yes</focusNew>
12 <focusLast>no</focusLast>
13 <followMouse>no</followMouse>
14 <focusDelay>0</focusDelay>
15 <raiseOnFocus>no</raiseOnFocus>
16 <underMouse>no</underMouse>
17 </focus>
18 <placement>
19 <policy>Smart</policy>
20 <!-- 'Smart' or 'UnderMouse' -->
21 <center>yes</center>
22 </placement>
23 <theme>
24 <name>Onyx-Citrus</name>
25 <titleLayout>NLIMC</titleLayout>
26 <titleNumber>yes</titleNumber>
27 <!--
28 avaible characters are NDSLIMC, each can occur at most once.
29 N: client menu
30 L: window label (AKA title).
31 I: iconify
32 M: maximize
33 C: close
34 S: shade
35 D: omnipresent (on all desktops).
36 -->
37 <keepBorder>yes</keepBorder>
38 <hideDisabled>no</hideDisabled>
39 <animateIconify>yes</animateIconify>
40 <font place="ActiveWindow">
41 <name>Sans</name>
42 <size>11</size>
43 <weight>Normal</weight>
44 <slant>Normal</slant>
45 </font>
46 <font place="InactiveWindow">
47 <name>Sans</name>
48 <size>11</size>
49 <weight>Normal</weight>
50 <slant>Normal</slant>
51 </font>
52 <font place="MenuHeader">
53 <name>Sans</name>
54 <size>12</size>
55 <weight>Normal</weight>
56 <slant>Normal</slant>
57 </font>
58 <font place="MenuItem">
59 <name>Sans</name>
60 <size>12</size>
61 <weight>Normal</weight>
62 <slant>Normal</slant>
63 </font>
64 <font place="OnScreenDisplay">
65 <name>Sans</name>
66 <size>11</size>
67 <weight>Normal</weight>
68 <slant>Normal</slant>
69 </font>
70 </theme>
71 <desktops>
72 <number>2</number>
73 <firstdesk>1</firstdesk>
74 <names>
75 <name>one</name>
76 <name>two</name>
77 <name>three</name>
78 <name>four</name>
79 </names>
80 </desktops>
81 <resize>
82 <drawContents>yes</drawContents>
83 <fourCorners>no</fourCorners>
84 <popupShow>Nonpixel</popupShow>
85 <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
86 <popupPosition>Center</popupPosition>
87 <!-- 'Center' or 'Top' -->
88 </resize>
89 <dock>
90 <position>TopLeft</position>
91 <!-- (Top|Bottom)(Left|Right|)|Left|Right|Floating -->
92 <floatingX>0</floatingX>
93 <floatingY>0</floatingY>
94 <noStrut>yes</noStrut>
95 <stacking>Top</stacking>
96 <direction>Vertical</direction>
97 <!-- 'Vertical' or 'Horizontal' -->
98 <autoHide>no</autoHide>
99 <hideDelay>300</hideDelay>
100 <showDelay>300</showDelay>
101 <moveButton>Middle</moveButton>
102 </dock>
103 <keyboard>
104 <chainQuitKey>C-g</chainQuitKey>
105 <keybind key="A-F10">
106 <action name="MaximizeFull"/>
107 </keybind>
108 <keybind key="A-F5">
109 <!-- raimo <action name="UnmaximizeFull"/> -->
110 <action name="Execute">
111 <execute>firefox</execute>
112 </action>
113 </keybind>
114
115 <keybind key="A-F12">
116 <!--raimo <action name="ToggleShade"/> -->
117 <action name="Exit"/>focus
118 </keybind>
119 <keybind key="A-F3">
120 <action name="Execute">
121 <execute>gnome-terminal</execute>
122 </action>
123 </keybind>
124 <keybind key="A-F2">
125 <action name="Execute">
126 <execute>gmrun</execute>
127 </action>
128 </keybind>
129 <keybind key="C-A-Left">
130 <action name="DesktopLeft">
131 <wrap>no</wrap>
132 </action>
133 </keybind>
134 <keybind key="C-A-Right">
135 <action name="DesktopRight">
136 <wrap>no</wrap>
137 </action>
138 </keybind>
139 <keybind key="C-A-Up">
140 <action name="DesktopUp">
141 <wrap>no</wrap>
142 </action>
143 </keybind>
144 <keybind key="C-A-Down">
145 <action name="DesktopDown">
146 <wrap>no</wrap>
147 </action>
148 </keybind>
149 <keybind key="S-A-Left">
150 <action name="SendToDesktopLeft">
151 <wrap>no</wrap>
152 </action>
153 </keybind>
154 <keybind key="S-A-Right">
155 <action name="SendToDesktopRight">
156 <wrap>no</wrap>
157 </action>
158 </keybind>
159 <keybind key="S-A-Up">
160 <action name="SendToDesktopUp">
161 <wrap>no</wrap>
162 </action>
163 </keybind>
164 <keybind key="S-A-Down">
165 <action name="SendToDesktopDown">
166 <wrap>no</wrap>
167 </action>
168 </keybind>
169 <keybind key="C-A-d">
170 <action name="ToggleShowDesktop"/>
171 </keybind>
172 <keybind key="A-F4">
173 <action name="Close"/>
174 </keybind>
175 <keybind key="A-Tab">
176 <action name="NextWindow"/>
177 </keybind>
178 <keybind key="A-S-Tab">
179 <action name="PreviousWindow"/>
180 </keybind>
181 <keybind key="A-F7">
182 <action name="Move"/>
183 </keybind>
184 <keybind key="A-F8">
185 <action name="Resize"/>
186 </keybind>
187 <keybind key="A-F9">
188 <action name="Iconify"/>
189 </keybind>
190 <keybind key="A-space">
191 <action name="ShowMenu">
192 <menu>client-menu</menu>
193 </action>
194 </keybind>
195 <keybind key="Print">
196 <action name="Execute">
197 <execute>gnome-screenshot</execute>
198 </action>
199 </keybind>
200 <keybind key="A-Print">
201 <action name="Execute">
202 <execute>gnome-screenshot -w</execute>
203 </action>
204 </keybind>
205 <keybind key="A-F1">
206 <action name="ShowMenu">
207 <menu>root-menu</menu>
208 </action>
209 </keybind>
210 </keyboard>
211 <mouse>
212 <dragThreshold>3</dragThreshold>
213 <doubleClickTime>200</doubleClickTime>
214 <context name="Frame">
215 <mousebind button="A-Left" action="Drag">
216 <action name="Move"/>
217 </mousebind>
218 <mousebind button="A-Left" action="Click">
219 <action name="Raise"/>
220 </mousebind>
221 <mousebind button="A-Left" action="Press">
222 <action name="Focus"/>
223 </mousebind>
224 <mousebind button="A-Middle" action="Drag">
225 <action name="Resize"/>
226 </mousebind>
227 <mousebind button="A-Middle" action="Click">
228 <action name="Lower"/>
229 </mousebind>
230 <mousebind button="A-Right" action="Press">
231 <action name="ShowMenu">
232 <menu>client-menu</menu>
233 </action>
234 </mousebind>
235 <mousebind button="A-Up" action="Click">
236 <action name="DesktopPrevious"/>
237 </mousebind>
238 <mousebind button="A-Down" action="Click">
239 <action name="DesktopNext"/>
240 </mousebind>
241 <mousebind button="C-A-Up" action="Click">
242 <action name="SendToDesktopPrevious"/>
243 </mousebind>
244 <mousebind button="C-A-Down" action="Click">
245 <action name="SendToDesktopNext"/>
246 </mousebind>
247 </context>
248 <context name="Titlebar">
249 <mousebind button="Left" action="Drag">
250 <action name="Move"/>
251 </mousebind>
252 <mousebind button="Left" action="Click">
253 <action name="Raise"/>
254 </mousebind>
255 <mousebind button="Left" action="Press">
256 <action name="Focus"/>
257 </mousebind>
258 <mousebind button="Left" action="DoubleClick">
259 <action name="ToggleShade"/>
260 </mousebind>
261 <mousebind button="Middle" action="Press">
262 <action name="Lower"/>
263 </mousebind>
264 <mousebind button="Up" action="Click">
265 <action name="Shade"/>
266 </mousebind>
267 <mousebind button="Down" action="Click">
268 <action name="Unshade"/>
269 </mousebind>
270 <mousebind button="Right" action="Press">
271 <action name="ShowMenu">
272 <menu>client-menu</menu>
273 </action>
274 </mousebind>
275 </context>
276 <context name="Handle">
277 <mousebind button="Left" action="Drag">
278 <action name="Move"/>
279 </mousebind>
280 <mousebind button="Left" action="Click">
281 <action name="Raise"/>
282 </mousebind>
283 <mousebind button="Left" action="Press">
284 <action name="Focus"/>
285 </mousebind>
286 <mousebind button="Middle" action="Press">
287 <action name="Lower"/>
288 </mousebind>
289 </context>
290 <context name="BLCorner">
291 <mousebind button="Left" action="Drag">
292 <action name="Resize"/>
293 </mousebind>
294 <mousebind button="Left" action="Press">
295 <action name="Focus"/>
296 </mousebind>
297 </context>
298 <context name="BRCorner">
299 <mousebind button="Left" action="Drag">
300 <action name="Resize"/>
301 </mousebind>
302 <mousebind button="Left" action="Press">
303 <action name="Focus"/>
304 </mousebind>
305 </context>
306 <context name="TLCorner">
307 <mousebind button="Left" action="Drag">
308 <action name="Resize"/>
309 </mousebind>
310 <mousebind button="Left" action="Press">
311 <action name="Focus"/>
312 </mousebind>
313 </context>
314 <context name="TRCorner">
315 <mousebind button="Left" action="Drag">
316 <action name="Resize"/>
317 </mousebind>
318 <mousebind button="Left" action="Press">
319 <action name="Focus"/>
320 </mousebind>
321 </context>
322 <context name="Client">
323 <mousebind button="Left" action="Press">
324 <action name="Focus"/>
325 <action name="Raise"/>
326 </mousebind>
327 <mousebind button="Middle" action="Press">
328 <action name="Focus"/>
329 </mousebind>
330 <mousebind button="Right" action="Press">
331 <action name="Focus"/>
332 </mousebind>
333 </context>
334 <context name="Icon">
335 <mousebind button="Left" action="Press">
336 <action name="Focus"/>
337 </mousebind>
338 <mousebind button="Right" action="Press">
339 <action name="ShowMenu">
340 <menu>client-menu</menu>
341 </action>
342 </mousebind>
343 <mousebind button="Left" action="Press">
344 <action name="ShowMenu">
345 <menu>client-menu</menu>
346 </action>
347 </mousebind>
348 </context>
349 <context name="AllDesktops">
350 <mousebind button="Left" action="Press">
351 <action name="Focus"/>
352 </mousebind>
353 <mousebind button="Left" action="Click">
354 <action name="ToggleOmnipresent"/>
355 </mousebind>
356 </context>
357 <context name="Shade">
358 <mousebind button="Left" action="Press">
359 <action name="Focus"/>
360 </mousebind>
361 <mousebind button="Left" action="Click">
362 <action name="ToggleShade"/>
363 </mousebind>
364 </context>
365 <context name="Iconify">
366 <mousebind button="Left" action="Press">
367 <action name="Focus"/>
368 </mousebind>
369 <mousebind button="Left" action="Click">
370 <action name="Iconify"/>
371 </mousebind>
372 </context>
373 <context name="Maximize">
374 <mousebind button="Left" action="Press">
375 <action name="Focus"/>
376 </mousebind>
377 <mousebind button="Middle" action="Press">
378 <action name="Focus"/>
379 </mousebind>
380 <mousebind button="Right" action="Press">
381 <action name="Focus"/>
382 </mousebind>
383 <mousebind button="Left" action="Click">
384 <action name="ToggleMaximizeFull"/>
385 </mousebind>
386 <mousebind button="Middle" action="Click">
387 <action name="ToggleMaximizeVert"/>
388 </mousebind>
389 <mousebind button="Right" action="Click">
390 <action name="ToggleMaximizeHorz"/>
391 </mousebind>
392 </context>
393 <context name="Close">
394 <mousebind button="Left" action="Press">
395 <action name="Focus"/>
396 </mousebind>
397 <mousebind button="Left" action="Click">
398 <action name="Close"/>
399 </mousebind>
400 </context>
401 <context name="Desktop">
402 <mousebind button="Up" action="Press">
403 <action name="DesktopPrevious"/>
404 </mousebind>
405 <mousebind button="Down" action="Press">
406 <action name="DesktopNext"/>
407 </mousebind>
408 <mousebind button="A-Up" action="Press">
409 <action name="DesktopPrevious"/>
410 </mousebind>
411 <mousebind button="A-Down" action="Press">
412 <action name="DesktopNext"/>
413 </mousebind>
414 <mousebind button="Left" action="Press">
415 <action name="Focus"/>
416 <action name="Raise"/>
417 </mousebind>
418 <mousebind button="Middle" action="Press">
419 <action name="ShowMenu">
420 <menu>client-list-menu</menu>
421 </action>
422 </mousebind>
423 <mousebind button="Right" action="Press">
424 <action name="ShowMenu">
425 <menu>root-menu</menu>
426 </action>
427 </mousebind>
428 </context>
429 <context name="MoveResize">
430 <mousebind button="Up" action="Press">
431 <action name="DesktopPrevious"/>
432 </mousebind>
433 <mousebind button="Down" action="Press">
434 <action name="DesktopNext"/>
435 </mousebind>
436 <mousebind button="A-Up" action="Press">
437 <action name="DesktopPrevious"/>
438 </mousebind>
439 <mousebind button="A-Down" action="Press">
440 <action name="DesktopNext"/>
441 </mousebind>
442 </context>
443 </mouse>
444 <menu>
445 <!-- You can specify more than one menu file in here and they are all loaded,
446 just don't make menu ids clash or, well, it'll be kind of pointless -->
447 <!-- system menu files on Debian systems -->
448 <file>/var/lib/openbox/debian-menu.xml</file>
449 <file>debian-menu.xml</file>
450 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
451 <file>menu.xml</file>
452 <warpPointer>yes</warpPointer>
453 <xorStyle>yes</xorStyle>
454 <hideDelay>250</hideDelay>
455 <middle>yes</middle>
456 <submenuShowDelay>150</submenuShowDelay>
457 <desktopMenuIcons>yes</desktopMenuIcons>
458 <!-- -->
459 </menu>
460 <applications>
461 <!--
462 <application name="this application does not exist">
463 <decor>yes</decor>
464 <shade>no</shade>
465 <position>
466 <x>center</x>
467 <y>200</y>
468 </position>
469 <focus>yes</focus>
470 <desktop>1</desktop>
471 <head>0</head>
472 # specifies xinerama head
473 <layer>normal</layer>
474 # 'above', 'normal', or 'below'
475 <iconic>no</iconic>
476 <skip_pager>no</skip_pager>
477 <skip_taskbar>no</skip_taskbar>
478 <fullscreen>yes</fullscreen>
479 <maximized>true</maximized>
480 # 'Horizontal', 'Vertical' or boolean (yes/no/on/off/true/false)
481 </application>
482 -->
483 </applications>
484 <margins>
485 <left>0</left>
486 <right>0</right>
487 <top>0</top>
488 <bottom>0</bottom>
489 </margins>
490 </openbox_config>
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.