]> Dogcows Code - chaz/openbox/blob - data/rc-kde.xml
we don't need to save the config type in the session because if they dont run their...
[chaz/openbox] / data / rc-kde.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/4.0/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 <focusLast>yes</focusLast>
16 <followMouse>no</followMouse>
17 <focusDelay>200</focusDelay>
18 <raiseOnFocus>no</raiseOnFocus>
19 </focus>
20
21 <placement>
22 <policy>Smart</policy>
23 <!-- 'Smart' or 'UnderMouse' -->
24 </placement>
25
26 <theme>
27 <name>Clearlooks</name>
28 <titleLayout>NLIMC</titleLayout>
29 <titleNumber>yes</titleNumber>
30 <!--
31 avaible characters are NDSLIMC, each can occur at most once.
32 N: window icon
33 L: window label (AKA title).
34 I: iconify
35 M: maximize
36 C: close
37 S: shade (roll up/down)
38 D: omnipresent (on all desktops).
39 -->
40 <keepBorder>yes</keepBorder>
41 <animateIconify>yes</animateIconify>
42 <font place="ActiveWindow">
43 <name>sans</name>
44 <size>8</size>
45 <!-- font size in points -->
46 <weight>bold</weight>
47 <!-- 'bold' or 'normal' -->
48 <slant>normal</slant>
49 <!-- 'italic' or 'normal' -->
50 </font>
51 <font place="InactiveWindow">
52 <name>sans</name>
53 <size>8</size>
54 <!-- font size in points -->
55 <weight>bold</weight>
56 <!-- 'bold' or 'normal' -->
57 <slant>normal</slant>
58 <!-- 'italic' or 'normal' -->
59 </font>
60 <font place="MenuHeader">
61 <name>sans</name>
62 <size>9</size>
63 <!-- font size in points -->
64 <weight>normal</weight>
65 <!-- 'bold' or 'normal' -->
66 <slant>normal</slant>
67 <!-- 'italic' or 'normal' -->
68 </font>
69 <font place="MenuItem">
70 <name>sans</name>
71 <size>9</size>
72 <!-- font size in points -->
73 <weight>normal</weight>
74 <!-- 'bold' or 'normal' -->
75 <slant>normal</slant>
76 <!-- 'italic' or 'normal' -->
77 </font>
78 <font place="OnScreenDisplay">
79 <name>sans</name>
80 <size>9</size>
81 <!-- font size in points -->
82 <weight>bold</weight>
83 <!-- 'bold' or 'normal' -->
84 <slant>normal</slant>
85 <!-- 'italic' or 'normal' -->
86 </font>
87 </theme>
88
89 <desktops>
90 <!-- this stuff is only used at startup, pagers allow you to change them
91 during a session -->
92 <number>4</number>
93 <firstdesk>1</firstdesk>
94 <names>
95 <name>desktop one</name>
96 <name>desktop two</name>
97 <name>desktop three</name>
98 <name>desktop four</name>
99 </names>
100 </desktops>
101
102 <resize>
103 <drawContents>yes</drawContents>
104 <popupShow>Nonpixel</popupShow>
105 <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
106 <popupPosition>Center</popupPosition>
107 <!-- 'Center' or 'Top' -->
108 </resize>
109
110 <dock>
111 <position>TopLeft</position>
112 <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
113 <floatingX>0</floatingX>
114 <floatingY>0</floatingY>
115 <noStrut>no</noStrut>
116 <stacking>Above</stacking>
117 <!-- 'Above', 'Normal', or 'Below' -->
118 <direction>Vertical</direction>
119 <!-- 'Vertical' or 'Horizontal' -->
120 <autoHide>no</autoHide>
121 <hideDelay>300</hideDelay>
122 <!-- in milliseconds (1000 = 1 second) -->
123 <showDelay>300</showDelay>
124 <!-- in milliseconds (1000 = 1 second) -->
125 <moveButton>Middle</moveButton>
126 <!-- 'Left', 'Middle', 'Right' -->
127 </dock>
128
129 <keyboard>
130 <chainQuitKey>C-g</chainQuitKey>
131
132 <!-- Keybindings for desktop switching -->
133 <keybind key="C-A-Left">
134 <action name="DesktopLeft"><wrap>no</wrap></action>
135 </keybind>
136 <keybind key="C-A-Right">
137 <action name="DesktopRight"><wrap>no</wrap></action>
138 </keybind>
139 <keybind key="C-A-Up">
140 <action name="DesktopUp"><wrap>no</wrap></action>
141 </keybind>
142 <keybind key="C-A-Down">
143 <action name="DesktopDown"><wrap>no</wrap></action>
144 </keybind>
145 <keybind key="S-A-Left">
146 <action name="SendToDesktopLeft"><wrap>no</wrap></action>
147 </keybind>
148 <keybind key="S-A-Right">
149 <action name="SendToDesktopRight"><wrap>no</wrap></action>
150 </keybind>
151 <keybind key="S-A-Up">
152 <action name="SendToDesktopUp"><wrap>no</wrap></action>
153 </keybind>
154 <keybind key="S-A-Down">
155 <action name="SendToDesktopDown"><wrap>no</wrap></action>
156 </keybind>
157 <keybind key="W-F1">
158 <action name="Desktop"><desktop>1</desktop></action>
159 </keybind>
160 <keybind key="W-F2">
161 <action name="Desktop"><desktop>1</desktop></action>
162 </keybind>
163 <keybind key="W-F3">
164 <action name="Desktop"><desktop>1</desktop></action>
165 </keybind>
166 <keybind key="W-F4">
167 <action name="Desktop"><desktop>1</desktop></action>
168 </keybind>
169 <keybind key="W-d">
170 <action name="ToggleShowDesktop"/>
171 </keybind>
172
173 <!-- Keybindings for windows -->
174 <keybind key="A-F4">
175 <action name="Close"/>
176 </keybind>
177 <keybind key="A-Escape">
178 <action name="Lower"/>
179 <action name="FocusToBottom"/>
180 <action name="Unfocus"/>
181 </keybind>
182 <keybind key="A-space">
183 <action name="ShowMenu"><menu>client-menu</menu></action>
184 </keybind>
185
186 <!-- Keybindings for window switching -->
187 <keybind key="A-Tab">
188 <action name="NextWindow"/>
189 </keybind>
190 <keybind key="A-S-Tab">
191 <action name="PreviousWindow"/>
192 </keybind>
193 <keybind key="C-A-Tab">
194 <action name="NextWindow">
195 <panels>yes</panels><desktop>yes</desktop>
196 </action>
197 </keybind>
198
199 <!-- Keybindings for running applications -->
200 <keybind key="W-e">
201 <action name="Execute">
202 <startupnotify>
203 <enabled>true</enabled>
204 <name>Konqueror</name>
205 </startupnotify>
206 <execute>kfmclient openProfile filemanagement</execute>
207 </action>
208 </keybind>
209 </keyboard>
210
211 <mouse>
212 <dragThreshold>3</dragThreshold>
213 <!-- number of pixels the mouse must move before a drag begins -->
214 <doubleClickTime>200</doubleClickTime>
215 <!-- in milliseconds (1000 = 1 second) -->
216
217 <context name="Frame">
218 <mousebind button="A-Left" action="Press">
219 <action name="Activate"/>
220 </mousebind>
221 <mousebind button="A-Left" action="Drag">
222 <action name="Move"/>
223 </mousebind>
224
225 <mousebind button="A-Right" action="Press">
226 <action name="Activate"/>
227 </mousebind>
228 <mousebind button="A-Right" action="Drag">
229 <action name="Resize"/>
230 </mousebind>
231
232 <mousebind button="A-Middle" action="Press">
233 <action name="Lower"/>
234 <action name="FocusToBottom"/>
235 <action name="Unfocus"/>
236 </mousebind>
237
238 <mousebind button="A-Up" action="Click">
239 <action name="DesktopPrevious"/>
240 </mousebind>
241 <mousebind button="A-Down" action="Click">
242 <action name="DesktopNext"/>
243 </mousebind>
244 <mousebind button="A-S-Up" action="Click">
245 <action name="SendToDesktopPrevious"/>
246 </mousebind>
247 <mousebind button="A-S-Down" action="Click">
248 <action name="SendToDesktopNext"/>
249 </mousebind>
250 </context>
251
252 <context name="Titlebar">
253 <mousebind button="Left" action="Press">
254 <action name="Activate"/>
255 </mousebind>
256 <mousebind button="Left" action="Drag">
257 <action name="Move"/>
258 </mousebind>
259 <mousebind button="Left" action="DoubleClick">
260 <action name="ToggleMaximizeFull"/>
261 </mousebind>
262
263 <mousebind button="Middle" action="Press">
264 <action name="Lower"/>
265 <action name="FocusToBottom"/>
266 <action name="Unfocus"/>
267 </mousebind>
268
269 <mousebind button="Up" action="Click">
270 <action name="Shade"/>
271 <action name="FocusToBottom"/>
272 <action name="Unfocus"/>
273 </mousebind>
274 <mousebind button="Down" action="Click">
275 <action name="Unshade"/>
276 </mousebind>
277
278 <mousebind button="Right" action="Press">
279 <action name="Activate"/>
280 <action name="ShowMenu"><menu>client-menu</menu></action>
281 </mousebind>
282 </context>
283
284 <context name="Top">
285 <mousebind button="Left" action="Press">
286 <action name="Activate"/>
287 </mousebind>
288 <mousebind button="Left" action="Drag">
289 <action name="Resize"><edge>top</edge></action>
290 </mousebind>
291 </context>
292
293 <context name="Bottom">
294 <mousebind button="Left" action="Press">
295 <action name="Activate"/>
296 </mousebind>
297 <mousebind button="Left" action="Drag">
298 <action name="Resize"><edge>bottom</edge></action>
299 </mousebind>
300
301 <mousebind button="Middle" action="Press">
302 <action name="Lower"/>
303 <action name="FocusToBottom"/>
304 <action name="Unfocus"/>
305 </mousebind>
306
307 <mousebind button="Right" action="Press">
308 <action name="Activate"/>
309 <action name="ShowMenu"><menu>client-menu</menu></action>
310 </mousebind>
311 </context>
312
313 <context name="BLCorner">
314 <mousebind button="Left" action="Press">
315 <action name="Activate"/>
316 </mousebind>
317 <mousebind button="Left" action="Drag">
318 <action name="Resize"/>
319 </mousebind>
320 </context>
321
322 <context name="BRCorner">
323 <mousebind button="Left" action="Press">
324 <action name="Activate"/>
325 </mousebind>
326 <mousebind button="Left" action="Drag">
327 <action name="Resize"/>
328 </mousebind>
329 </context>
330
331 <context name="TLCorner">
332 <mousebind button="Left" action="Press">
333 <action name="Activate"/>
334 </mousebind>
335 <mousebind button="Left" action="Drag">
336 <action name="Resize"/>
337 </mousebind>
338 </context>
339
340 <context name="TRCorner">
341 <mousebind button="Left" action="Press">
342 <action name="Activate"/>
343 </mousebind>
344 <mousebind button="Left" action="Drag">
345 <action name="Resize"/>
346 </mousebind>
347 </context>
348
349 <context name="Client">
350 <mousebind button="Left" action="Press">
351 <action name="Activate"/>
352 </mousebind>
353 <mousebind button="Middle" action="Press">
354 <action name="Activate"/>
355 </mousebind>
356 <mousebind button="Right" action="Press">
357 <action name="Activate"/>
358 </mousebind>
359 </context>
360
361 <context name="Icon">
362 <mousebind button="Left" action="Press">
363 <action name="Activate"/>
364 <action name="ShowMenu"><menu>client-menu</menu></action>
365 </mousebind>
366 <mousebind button="Right" action="Press">
367 <action name="Activate"/>
368 <action name="ShowMenu"><menu>client-menu</menu></action>
369 </mousebind>
370 </context>
371
372 <context name="AllDesktops">
373 <mousebind button="Left" action="Press">
374 <action name="Activate"/>
375 </mousebind>
376 <mousebind button="Left" action="Click">
377 <action name="ToggleOmnipresent"/>
378 </mousebind>
379 </context>
380
381 <context name="Shade">
382 <mousebind button="Left" action="Press">
383 <action name="Activate"/>
384 </mousebind>
385 <mousebind button="Left" action="Click">
386 <action name="ToggleShade"/>
387 </mousebind>
388 </context>
389
390 <context name="Iconify">
391 <mousebind button="Left" action="Press">
392 <action name="Activate"/>
393 </mousebind>
394 <mousebind button="Left" action="Click">
395 <action name="Iconify"/>
396 </mousebind>
397 </context>
398
399 <context name="Maximize">
400 <mousebind button="Left" action="Press">
401 <action name="Activate"/>
402 </mousebind>
403 <mousebind button="Middle" action="Press">
404 <action name="Activate"/>
405 </mousebind>
406 <mousebind button="Right" action="Press">
407 <action name="Activate"/>
408 </mousebind>
409 <mousebind button="Left" action="Click">
410 <action name="ToggleMaximizeFull"/>
411 </mousebind>
412 <mousebind button="Middle" action="Click">
413 <action name="ToggleMaximizeVert"/>
414 </mousebind>
415 <mousebind button="Right" action="Click">
416 <action name="ToggleMaximizeHorz"/>
417 </mousebind>
418 </context>
419
420 <context name="Close">
421 <mousebind button="Left" action="Press">
422 <action name="Activate"/>
423 </mousebind>
424 <mousebind button="Left" action="Click">
425 <action name="Close"/>
426 </mousebind>
427 </context>
428
429 <context name="Desktop">
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
437 <mousebind button="A-Up" action="Press">
438 <action name="DesktopPrevious"/>
439 </mousebind>
440 <mousebind button="A-Down" action="Press">
441 <action name="DesktopNext"/>
442 </mousebind>
443
444 <mousebind button="Left" action="Press">
445 <action name="Activate"/>
446 </mousebind>
447
448 <!-- Menus are disabled since the DE will provide root window menus -->
449 <!--
450 <mousebind button="Middle" action="Press">
451 <action name="ShowMenu"><menu>client-list-combined-menu</menu></action>
452 </mousebind>
453 <mousebind button="Right" action="Press">
454 <action name="ShowMenu"><menu>root-menu</menu></action>
455 </mousebind>
456 -->
457 </context>
458
459 <context name="MoveResize">
460 <mousebind button="Up" action="Press">
461 <action name="DesktopPrevious"/>
462 </mousebind>
463 <mousebind button="Down" action="Press">
464 <action name="DesktopNext"/>
465 </mousebind>
466 <mousebind button="A-Up" action="Press">
467 <action name="DesktopPrevious"/>
468 </mousebind>
469 <mousebind button="A-Down" action="Press">
470 <action name="DesktopNext"/>
471 </mousebind>
472 </context>
473 </mouse>
474
475 <menu>
476 <!-- You can specify more than one menu file in here and they are all loaded,
477 just don't make menu ids clash or, well, it'll be kind of pointless -->
478
479 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
480 <file>menu.xml</file>
481 <hideDelay>200</hideDelay>
482 <middle>no</middle>
483 <submenuShowDelay>100</submenuShowDelay>
484 <applicationIcons>yes</applicationIcons>
485 </menu>
486
487 <!-- this section is commented out.. remove this and the ending comment if you
488 want to use it -->
489 <applications>
490 <!-- the name or the class can be set, or both. this is used to match
491 windows when they appear
492
493 role can optionally be set, and only as much as you provide will be
494 checked to see if it matches, eg. if you set role="abc" and the window's
495 role is actually "abcde" it would match.
496 -->
497 <application name="first element of window's WM_CLASS property (see xprop)"
498 class="second element of window's WM_CLASS property (see xprop)"
499 role="the window's WM_WINDOW_ROLE property (see xprop)">
500
501 <!-- each element can be left out or set to 'default' to specify to not
502 change that attribute of the window -->
503
504 <decor>yes</decor>
505
506 <shade>no</shade>
507
508 <position>
509 <!-- the position is only used if both an x and y coordinate are provided
510 (and not set to 'default') -->
511 <x>center</x>
512 <!-- a number or 'center' to center on screen -->
513 <y>200</y>
514 <!-- a number or 'center' to center on screen -->
515 <monitor>1</monitor>
516 <!-- specifies the monitor in a xinerama setup.
517 1 is the first head, or 'mouse' for wherever the mouse is -->
518 </position>
519
520 <focus>yes</focus>
521 <!-- if the window should try be given focus when it appears -->
522
523 <desktop>1</desktop>
524 <!-- 1 is the first desktop, 'all' for all desktops -->
525
526 <layer>normal</layer>
527 <!-- 'above', 'normal', or 'below' -->
528
529 <iconic>no</iconic>
530
531 <skip_pager>no</skip_pager>
532 <!-- asks to not be shown in pagers -->
533
534 <skip_taskbar>no</skip_taskbar>
535 <!-- asks to not be shown in taskbars. window cycling actions will also
536 skip past such windows -->
537
538 <fullscreen>yes</fullscreen>
539
540 <maximized>true</maximized>
541 <!-- 'Horizontal', 'Vertical' or boolean (yes/no/on/off/true/false) -->
542 </application>
543 </applications>
544 -->
545
546 </openbox_config>
This page took 0.064157 seconds and 4 git commands to generate.