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