]>
Commit | Line | Data |
---|---|---|
397c4fed IB |
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 | <keybind key='XF86Tools'> | |
317 | <action name='Execute'> | |
318 | <command>xset dpms force off</command> | |
319 | </action> | |
320 | </keybind> | |
321 | <keybind key='XF86AudioRaiseVolume'> | |
322 | <action name='Execute'> | |
323 | <command>bash -c "pamixer --allow-boost -u -i 1; v=$HOME/.cache/dunstify_volume; vol=`pamixer --get-volume`; color=`[ $vol -le 100 ] && echo normal || echo critical`; dunstify -r $(($(cat $v))) -p Volume --hints=int:value:$vol -i ' ' -a Openbox-volume -t 1000 -u $color > $v"</command> | |
324 | </action> | |
325 | </keybind> | |
326 | <keybind key='XF86AudioLowerVolume'> | |
327 | <action name='Execute'> | |
328 | <command>bash -c "pamixer --allow-boost -u -d 1; v=$HOME/.cache/dunstify_volume; vol=`pamixer --get-volume`; color=`[ $vol -le 100 ] && echo normal || echo critical`; dunstify -r $(($(cat $v))) -p Volume --hints=int:value:$vol -i ' ' -a Openbox-volume -t 1000 -u $color > $v"</command> | |
329 | </action> | |
330 | </keybind> | |
331 | <keybind key='XF86AudioMute'> | |
332 | <action name='Execute'> | |
333 | <command>bash -c "v=$HOME/.cache/dunstify_volume; vol=$([ `pamixer -t ; pamixer --get-mute` = \"false\" ] && echo on || echo off); dunstify -r $(($(cat $v))) -p 'Volume '$vol -i ' ' -a Openbox-mute -t 1000 > $v"</command> | |
334 | </action> | |
335 | </keybind> | |
336 | <keybind key='W-Print'> | |
337 | <action name='Execute'> | |
338 | <command>scrot "%Y-%m-%d_%H_%M_%S.png" -e 'mv $f ~'</command> | |
339 | </action> | |
340 | </keybind> | |
341 | <keybind key='S-Print'> | |
342 | <action name='Execute'> | |
343 | <command>scrot -s "%Y-%m-%d_%H_%M_%S.png" -e 'mv $f ~'</command> | |
344 | </action> | |
345 | </keybind> | |
346 | </keyboard> | |
347 | <mouse> | |
348 | <dragThreshold>8</dragThreshold> | |
349 | <!-- number of pixels the mouse must move before a drag begins --> | |
350 | <doubleClickTime>200</doubleClickTime> | |
351 | <!-- in milliseconds (1000 = 1 second) --> | |
352 | <screenEdgeWarpTime>400</screenEdgeWarpTime> | |
353 | <!-- Time before changing desktops when the pointer touches the edge of the | |
354 | screen while moving a window, in milliseconds (1000 = 1 second). | |
355 | Set this to 0 to disable warping --> | |
356 | <context name='Frame'> | |
357 | <mousebind button='A-Left' action='Press'> | |
358 | <action name='Focus'/> | |
359 | <action name='Raise'/> | |
360 | </mousebind> | |
361 | <mousebind button='A-Left' action='Click'> | |
362 | <action name='Unshade'/> | |
363 | </mousebind> | |
364 | <mousebind button='A-Left' action='Drag'> | |
365 | <action name='Move'/> | |
366 | </mousebind> | |
367 | <mousebind button='A-Right' action='Press'> | |
368 | <action name='Focus'/> | |
369 | <action name='Raise'/> | |
370 | <action name='Unshade'/> | |
371 | </mousebind> | |
372 | <mousebind button='A-Right' action='Drag'> | |
373 | <action name='Resize'/> | |
374 | </mousebind> | |
375 | <mousebind button='A-Middle' action='Press'> | |
376 | <action name='Lower'/> | |
377 | <action name='FocusToBottom'/> | |
378 | <action name='Unfocus'/> | |
379 | </mousebind> | |
380 | <mousebind button='A-Up' action='Click'> | |
381 | <action name='DesktopPrevious'/> | |
382 | </mousebind> | |
383 | <mousebind button='A-Down' action='Click'> | |
384 | <action name='DesktopNext'/> | |
385 | </mousebind> | |
386 | <mousebind button='C-A-Up' action='Click'> | |
387 | <action name='DesktopPrevious'/> | |
388 | </mousebind> | |
389 | <mousebind button='C-A-Down' action='Click'> | |
390 | <action name='DesktopNext'/> | |
391 | </mousebind> | |
392 | <mousebind button='A-S-Up' action='Click'> | |
393 | <action name='SendToDesktopPrevious'/> | |
394 | </mousebind> | |
395 | <mousebind button='A-S-Down' action='Click'> | |
396 | <action name='SendToDesktopNext'/> | |
397 | </mousebind> | |
398 | </context> | |
399 | <context name='Titlebar'> | |
400 | <mousebind button='Left' action='Press'> | |
401 | <action name='Focus'/> | |
402 | <action name='Raise'/> | |
403 | </mousebind> | |
404 | <mousebind button='Left' action='Drag'> | |
405 | <action name='Move'/> | |
406 | </mousebind> | |
407 | <mousebind button='Left' action='DoubleClick'> | |
408 | <action name='ToggleMaximizeFull'/> | |
409 | </mousebind> | |
410 | <mousebind button='Middle' action='Press'> | |
411 | <action name='Lower'/> | |
412 | <action name='FocusToBottom'/> | |
413 | <action name='Unfocus'/> | |
414 | </mousebind> | |
415 | <mousebind button='Up' action='Click'> | |
416 | <action name='Shade'/> | |
417 | <action name='FocusToBottom'/> | |
418 | <action name='Unfocus'/> | |
419 | <action name='Lower'/> | |
420 | </mousebind> | |
421 | <mousebind button='Down' action='Click'> | |
422 | <action name='Unshade'/> | |
423 | <action name='Raise'/> | |
424 | </mousebind> | |
425 | <mousebind button='Right' action='Press'> | |
426 | <action name='Focus'/> | |
427 | <action name='Raise'/> | |
428 | <action name='ShowMenu'> | |
429 | <menu>client-menu</menu> | |
430 | </action> | |
431 | </mousebind> | |
432 | </context> | |
433 | <context name='Top'> | |
434 | <mousebind button='Left' action='Press'> | |
435 | <action name='Focus'/> | |
436 | <action name='Raise'/> | |
437 | <action name='Unshade'/> | |
438 | </mousebind> | |
439 | <mousebind button='Left' action='Drag'> | |
440 | <action name='Resize'> | |
441 | <edge>top</edge> | |
442 | </action> | |
443 | </mousebind> | |
444 | </context> | |
445 | <context name='Left'> | |
446 | <mousebind button='Left' action='Press'> | |
447 | <action name='Focus'/> | |
448 | <action name='Raise'/> | |
449 | </mousebind> | |
450 | <mousebind button='Left' action='Drag'> | |
451 | <action name='Resize'> | |
452 | <edge>left</edge> | |
453 | </action> | |
454 | </mousebind> | |
455 | </context> | |
456 | <context name='Right'> | |
457 | <mousebind button='Left' action='Press'> | |
458 | <action name='Focus'/> | |
459 | <action name='Raise'/> | |
460 | </mousebind> | |
461 | <mousebind button='Left' action='Drag'> | |
462 | <action name='Resize'> | |
463 | <edge>right</edge> | |
464 | </action> | |
465 | </mousebind> | |
466 | </context> | |
467 | <context name='Bottom'> | |
468 | <mousebind button='Left' action='Press'> | |
469 | <action name='Focus'/> | |
470 | <action name='Raise'/> | |
471 | </mousebind> | |
472 | <mousebind button='Left' action='Drag'> | |
473 | <action name='Resize'> | |
474 | <edge>bottom</edge> | |
475 | </action> | |
476 | </mousebind> | |
477 | <mousebind button='Middle' action='Press'> | |
478 | <action name='Lower'/> | |
479 | <action name='FocusToBottom'/> | |
480 | <action name='Unfocus'/> | |
481 | </mousebind> | |
482 | <mousebind button='Right' action='Press'> | |
483 | <action name='Focus'/> | |
484 | <action name='Raise'/> | |
485 | <action name='ShowMenu'> | |
486 | <menu>client-menu</menu> | |
487 | </action> | |
488 | </mousebind> | |
489 | </context> | |
490 | <context name='BLCorner'> | |
491 | <mousebind button='Left' action='Press'> | |
492 | <action name='Focus'/> | |
493 | <action name='Raise'/> | |
494 | </mousebind> | |
495 | <mousebind button='Left' action='Drag'> | |
496 | <action name='Resize'/> | |
497 | </mousebind> | |
498 | </context> | |
499 | <context name='BRCorner'> | |
500 | <mousebind button='Left' action='Press'> | |
501 | <action name='Focus'/> | |
502 | <action name='Raise'/> | |
503 | </mousebind> | |
504 | <mousebind button='Left' action='Drag'> | |
505 | <action name='Resize'/> | |
506 | </mousebind> | |
507 | </context> | |
508 | <context name='TLCorner'> | |
509 | <mousebind button='Left' action='Press'> | |
510 | <action name='Focus'/> | |
511 | <action name='Raise'/> | |
512 | <action name='Unshade'/> | |
513 | </mousebind> | |
514 | <mousebind button='Left' action='Drag'> | |
515 | <action name='Resize'/> | |
516 | </mousebind> | |
517 | </context> | |
518 | <context name='TRCorner'> | |
519 | <mousebind button='Left' action='Press'> | |
520 | <action name='Focus'/> | |
521 | <action name='Raise'/> | |
522 | <action name='Unshade'/> | |
523 | </mousebind> | |
524 | <mousebind button='Left' action='Drag'> | |
525 | <action name='Resize'/> | |
526 | </mousebind> | |
527 | </context> | |
528 | <context name='Client'> | |
529 | <mousebind button='Left' action='Press'> | |
530 | <action name='Focus'/> | |
531 | <action name='Raise'/> | |
532 | </mousebind> | |
533 | <mousebind button='Middle' action='Press'> | |
534 | <action name='Focus'/> | |
535 | <action name='Raise'/> | |
536 | </mousebind> | |
537 | <mousebind button='Right' action='Press'> | |
538 | <action name='Focus'/> | |
539 | <action name='Raise'/> | |
540 | </mousebind> | |
541 | </context> | |
542 | <context name='Icon'> | |
543 | <mousebind button='Left' action='Press'> | |
544 | <action name='Focus'/> | |
545 | <action name='Raise'/> | |
546 | <action name='Unshade'/> | |
547 | <action name='ShowMenu'> | |
548 | <menu>client-menu</menu> | |
549 | </action> | |
550 | </mousebind> | |
551 | <mousebind button='Right' action='Press'> | |
552 | <action name='Focus'/> | |
553 | <action name='Raise'/> | |
554 | <action name='ShowMenu'> | |
555 | <menu>client-menu</menu> | |
556 | </action> | |
557 | </mousebind> | |
558 | </context> | |
559 | <context name='AllDesktops'> | |
560 | <mousebind button='Left' action='Press'> | |
561 | <action name='Focus'/> | |
562 | <action name='Raise'/> | |
563 | <action name='Unshade'/> | |
564 | </mousebind> | |
565 | <mousebind button='Left' action='Click'> | |
566 | <action name='ToggleOmnipresent'/> | |
567 | </mousebind> | |
568 | </context> | |
569 | <context name='Shade'> | |
570 | <mousebind button='Left' action='Press'> | |
571 | <action name='Focus'/> | |
572 | <action name='Raise'/> | |
573 | </mousebind> | |
574 | <mousebind button='Left' action='Click'> | |
575 | <action name='ToggleShade'/> | |
576 | </mousebind> | |
577 | </context> | |
578 | <context name='Iconify'> | |
579 | <mousebind button='Left' action='Press'> | |
580 | <action name='Focus'/> | |
581 | <action name='Raise'/> | |
582 | </mousebind> | |
583 | <mousebind button='Left' action='Click'> | |
584 | <action name='Iconify'/> | |
585 | </mousebind> | |
586 | </context> | |
587 | <context name='Maximize'> | |
588 | <mousebind button='Left' action='Press'> | |
589 | <action name='Focus'/> | |
590 | <action name='Raise'/> | |
591 | <action name='Unshade'/> | |
592 | </mousebind> | |
593 | <mousebind button='Middle' action='Press'> | |
594 | <action name='Focus'/> | |
595 | <action name='Raise'/> | |
596 | <action name='Unshade'/> | |
597 | </mousebind> | |
598 | <mousebind button='Right' action='Press'> | |
599 | <action name='Focus'/> | |
600 | <action name='Raise'/> | |
601 | <action name='Unshade'/> | |
602 | </mousebind> | |
603 | <mousebind button='Left' action='Click'> | |
604 | <action name='ToggleMaximizeFull'/> | |
605 | </mousebind> | |
606 | <mousebind button='Middle' action='Click'> | |
607 | <action name='ToggleMaximizeVert'/> | |
608 | </mousebind> | |
609 | <mousebind button='Right' action='Click'> | |
610 | <action name='ToggleMaximizeHorz'/> | |
611 | </mousebind> | |
612 | </context> | |
613 | <context name='Close'> | |
614 | <mousebind button='Left' action='Press'> | |
615 | <action name='Focus'/> | |
616 | <action name='Raise'/> | |
617 | <action name='Unshade'/> | |
618 | </mousebind> | |
619 | <mousebind button='Left' action='Click'> | |
620 | <action name='Close'/> | |
621 | </mousebind> | |
622 | </context> | |
623 | <context name='Desktop'> | |
624 | <mousebind button='Up' action='Click'> | |
625 | <action name='DesktopPrevious'/> | |
626 | </mousebind> | |
627 | <mousebind button='Down' action='Click'> | |
628 | <action name='DesktopNext'/> | |
629 | </mousebind> | |
630 | <mousebind button='A-Up' action='Click'> | |
631 | <action name='DesktopPrevious'/> | |
632 | </mousebind> | |
633 | <mousebind button='A-Down' action='Click'> | |
634 | <action name='DesktopNext'/> | |
635 | </mousebind> | |
636 | <mousebind button='C-A-Up' action='Click'> | |
637 | <action name='DesktopPrevious'/> | |
638 | </mousebind> | |
639 | <mousebind button='C-A-Down' action='Click'> | |
640 | <action name='DesktopNext'/> | |
641 | </mousebind> | |
642 | <mousebind button='Left' action='Press'> | |
643 | <action name='Focus'/> | |
644 | <action name='Raise'/> | |
645 | </mousebind> | |
646 | <mousebind button='Right' action='Press'> | |
647 | <action name='Focus'/> | |
648 | <action name='Raise'/> | |
649 | </mousebind> | |
650 | </context> | |
651 | <context name='Root'> | |
652 | <!-- Menus --> | |
653 | <mousebind button='Middle' action='Press'> | |
654 | <action name='ShowMenu'> | |
655 | <menu>client-list-combined-menu</menu> | |
656 | </action> | |
657 | </mousebind> | |
658 | <mousebind button='Right' action='Press'> | |
659 | <action name='ShowMenu'> | |
660 | <menu>root-menu</menu> | |
661 | </action> | |
662 | </mousebind> | |
663 | </context> | |
664 | <context name='MoveResize'> | |
665 | <mousebind button='Up' action='Click'> | |
666 | <action name='DesktopPrevious'/> | |
667 | </mousebind> | |
668 | <mousebind button='Down' action='Click'> | |
669 | <action name='DesktopNext'/> | |
670 | </mousebind> | |
671 | <mousebind button='A-Up' action='Click'> | |
672 | <action name='DesktopPrevious'/> | |
673 | </mousebind> | |
674 | <mousebind button='A-Down' action='Click'> | |
675 | <action name='DesktopNext'/> | |
676 | </mousebind> | |
677 | </context> | |
678 | </mouse> | |
679 | <menu> | |
680 | <!-- default menu file (or custom one in $HOME/.config/openbox/) --> | |
681 | <file>/usr/share/lxde/openbox/menu.xml</file> | |
682 | <hideDelay>200</hideDelay> | |
683 | <!-- if a press-release lasts longer than this setting (in milliseconds), the | |
684 | menu is hidden again --> | |
685 | <middle>no</middle> | |
686 | <!-- center submenus vertically about the parent entry --> | |
687 | <submenuShowDelay>100</submenuShowDelay> | |
688 | <!-- this one is easy, time to delay before showing a submenu after hovering | |
689 | over the parent entry --> | |
690 | <applicationIcons>yes</applicationIcons> | |
691 | <!-- controls if icons appear in the client-list-(combined-)menu --> | |
692 | <manageDesktops>yes</manageDesktops> | |
693 | </menu> | |
694 | <!-- show the manage desktops section in the client-list-(combined-)menu --> | |
695 | <applications/> | |
696 | </openbox_config> |