]> icculus.org git repositories - mikachu/openbox.git/blob - data/rc.xml
capitalize mouse actions
[mikachu/openbox.git] / data / rc.xml
1 <?xml version="1.0"?>
2
3 <!-- Do not edit this file, it will be overwritten on install. Copy the file
4      to $HOME/.openbox/ instead. -->
5
6 <openbox_config>
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   <followMouse>no</followMouse>
16   <focusLast>yes</focusLast>
17   <focusLastOnDesktop>yes</focusLastOnDesktop>
18   <focusDelay>0</focusDelay>
19 </focus>
20
21 <theme>
22   <name>thebear</name>
23   <titlelayout>NLIMC</titlelayout>
24 </theme>
25
26 <desktops>
27   <number>4</number>
28   <names>
29     <name>one</name>
30     <name>two</name>
31     <name>three</name>
32     <name>four</name>
33   </names>
34 </desktops>
35
36 <resize>
37   <drawContents>yes</drawContents>
38 </resize>
39
40 <dock>
41   <position>topleft</position>
42   <stacking>top</stacking>
43   <direction>vertical</direction>
44   <floatingX>0</floatingX>
45   <floatingY>0</floatingY>
46   <autoHide>no</autoHide>
47   <hideTimeout>300</hideTimeout>
48 </dock>
49
50 <keyboard>
51   <chainQuitKey>C-g</chainQuitKey>
52
53   <keybind key="A-F10">
54     <action name="MaximizeFull"/>
55   </keybind>
56   <keybind key="A-F5">
57     <action name="UnmaximizeFull"/>
58   </keybind>
59   <keybind key="A-F12">
60     <action name="ToggleShade"/>
61   </keybind>
62   <keybind key="C-A-Left">
63     <action name="DesktopLeft"/>
64   </keybind>
65   <keybind key="C-A-Right">
66     <action name="DesktopRight"/>
67   </keybind>
68   <keybind key="C-A-Up">
69     <action name="DesktopUp"/>
70   </keybind>
71   <keybind key="C-A-Down">
72     <action name="DesktopDown"/>
73   </keybind>
74   <keybind key="S-A-Left">
75     <action name="SendToDesktopLeft"/>
76   </keybind>
77   <keybind key="S-A-Right">
78     <action name="SendToDesktopRight"/>
79   </keybind>
80   <keybind key="S-A-Up">
81     <action name="SendToDesktopUp"/>
82   </keybind>
83   <keybind key="S-A-Down">
84     <action name="SendToDesktopDown"/>
85   </keybind>
86   <keybind key="C-A-d">
87     <action name="ToggleShowDesktop"/>
88   </keybind>
89   <keybind key="A-F4">
90     <action name="Close"/>
91   </keybind>
92   <keybind key="A-Tab">
93     <action name="NextWindow"/>
94   </keybind>
95   <keybind key="A-S-Tab">
96     <action name="PreviousWindow"/>
97   </keybind>
98   <keybind key="A-F7">
99     <action name="Move"/>
100   </keybind>
101   <keybind key="A-F8">
102     <action name="Resize"/>
103   </keybind>
104   <keybind key="A-F9">
105     <action name="Iconify"/>
106   </keybind>
107   <keybind key="A-space">
108     <action name="ShowMenu"><menu>client-menu</menu></action>
109   </keybind>
110 </keyboard>
111
112 <mouse>
113   <dragThreshold>3</dragThreshold>
114   <doubleClickTime>200</doubleClickTime>
115
116   <context name="frame">
117     <mousebind button="A-Left" action="Drag">
118       <action name="Move"/>
119     </mousebind>
120     <mousebind button="A-Left" action="Click">
121       <action name="Raise"/>
122     </mousebind>
123     <mousebind button="A-Left" action="Press">
124       <action name="Focus"/>
125     </mousebind>
126     <mousebind button="A-Middle" action="Drag">
127       <action name="Resize"/>
128     </mousebind> 
129     <mousebind button="A-Middle" action="Click">
130       <action name="Lower"/>
131     </mousebind>
132     <mousebind button="A-Right" action="Press">
133       <action name="ShowMenu"><menu>client-menu</menu></action>
134     </mousebind>
135     <mousebind button="A-Up" action="Click">
136       <action name="DesktopNext"/>
137     </mousebind>
138     <mousebind button="A-Down" action="Click">
139       <action name="DesktopPrevious"/>
140     </mousebind>
141     <mousebind button="C-A-Up" action="Click">
142       <action name="SendToDesktopNext"/>
143     </mousebind>
144     <mousebind button="C-A-Down" action="Click">
145       <action name="SendToDesktopPrevious"/>
146     </mousebind>
147   </context>
148   <context name="titlebar">
149     <mousebind button="Left" action="Drag">
150       <action name="Move"/>
151     </mousebind>
152     <mousebind button="Left" action="Click">
153       <action name="Raise"/>
154     </mousebind>
155     <mousebind button="Left" action="Press">
156       <action name="Focus"/>
157     </mousebind>
158     <mousebind button="Left" action="DoubleClick">
159       <action name="ToggleShade"/>
160     </mousebind>
161     <mousebind button="Middle" action="Press">
162       <action name="Lower"/>
163     </mousebind>
164     <mousebind button="Up" action="Click">
165       <action name="Shade"/>
166     </mousebind>
167     <mousebind button="Down" action="Click">
168       <action name="Unshade"/>
169     </mousebind>
170     <mousebind button="Right" action="Press">
171       <action name="ShowMenu"><menu>client-menu</menu></action>
172     </mousebind>
173   </context>
174   <context name="handle">
175     <mousebind button="Left" action="Drag">
176       <action name="Move"/>
177     </mousebind>
178     <mousebind button="Left" action="Click">
179       <action name="Raise"/>
180     </mousebind>
181     <mousebind button="Left" action="Press">
182       <action name="Focus"/>
183     </mousebind>
184     <mousebind button="Middle" action="Press">
185       <action name="Lower"/>
186     </mousebind>
187   </context>
188   <context name="blcorner">
189     <mousebind button="Left" action="Drag">
190       <action name="Resize"/>
191     </mousebind>
192     <mousebind button="Left" action="Press">
193       <action name="Focus"/>
194     </mousebind>
195   </context>
196   <context name="brcorner">
197     <mousebind button="Left" action="Drag">
198       <action name="Resize"/>
199     </mousebind>
200     <mousebind button="Left" action="Press">
201       <action name="Focus"/>
202     </mousebind>
203   </context>
204   <context name="tlcorner">
205     <mousebind button="Left" action="Drag">
206       <action name="Resize"/>
207     </mousebind>
208     <mousebind button="Left" action="Press">
209       <action name="Focus"/>
210     </mousebind>
211   </context>
212   <context name="trcorner">
213     <mousebind button="Left" action="Drag">
214       <action name="Resize"/>
215     </mousebind>
216     <mousebind button="Left" action="Press">
217       <action name="Focus"/>
218     </mousebind>
219   </context>
220   <context name="client">
221     <mousebind button="Left" action="Press">
222       <action name="Focus"/>
223       <action name="Raise"/>
224     </mousebind>
225     <mousebind button="Middle" action="Press">
226       <action name="Focus"/>
227     </mousebind>
228     <mousebind button="Right" action="Press">
229       <action name="Focus"/>
230     </mousebind>
231   </context>
232   <context name="icon">
233     <mousebind button="Left" action="Press">
234       <action name="Focus"/>
235     </mousebind>
236     <mousebind button="Right" action="Press">
237       <action name="ShowMenu"><menu>client-menu</menu></action>
238     </mousebind>
239     <mousebind button="Left" action="Click">
240       <action name="ShowMenu"><menu>client-menu</menu></action>
241     </mousebind>
242     <mousebind button="Left" action="DoubleClick">
243       <action name="Close"/>
244     </mousebind>
245   </context>
246   <context name="alldesktops">
247     <mousebind button="Left" action="Press">
248       <action name="Focus"/>
249     </mousebind>
250     <mousebind button="Left" action="Click">
251       <action name="ToggleOmnipresent"/>
252     </mousebind>
253   </context>
254   <context name="shade">
255     <mousebind button="Left" action="Press">
256       <action name="Focus"/>
257     </mousebind>
258     <mousebind button="Left" action="Click">
259       <action name="ToggleShade"/>
260     </mousebind>
261   </context>
262   <context name="iconify">
263     <mousebind button="Left" action="Press">
264       <action name="Focus"/>
265     </mousebind>
266     <mousebind button="Left" action="Click">
267       <action name="Iconify"/>
268     </mousebind>
269   </context>
270   <context name="maximize">
271     <mousebind button="Left" action="Press">
272       <action name="Focus"/>
273     </mousebind>
274     <mousebind button="Middle" action="Press">
275       <action name="Focus"/>
276     </mousebind>
277     <mousebind button="Right" action="Press">
278       <action name="Focus"/>
279     </mousebind>
280     <mousebind button="Left" action="Click">
281       <action name="ToggleMaximizeFull"/>
282     </mousebind>
283     <mousebind button="Middle" action="Click">
284       <action name="ToggleMaximizeVert"/>
285     </mousebind>
286     <mousebind button="Right" action="Click">
287       <action name="ToggleMaximizeHorz"/>
288     </mousebind>
289   </context>
290   <context name="close">
291     <mousebind button="Left" action="Press">
292       <action name="Focus"/>
293     </mousebind>
294     <mousebind button="Left" action="Click">
295       <action name="Close"/>
296     </mousebind>
297   </context>
298   <context name="desktop">
299     <mousebind button="Up" action="Click">
300       <action name="DesktopNext"/>
301     </mousebind>
302     <mousebind button="Down" action="Click">
303       <action name="DesktopPrevious"/>
304     </mousebind>
305     <mousebind button="A-Up" action="Click">
306       <action name="DesktopNext"/>
307     </mousebind>
308     <mousebind button="A-Down" action="Click">
309       <action name="DesktopPrevious"/>
310     </mousebind>
311     <mousebind button="Left" action="Press">
312       <action name="focus"/>
313     </mousebind> 
314     <mousebind button="Middle" action="Press">
315       <action name="ShowMenu"><menu>client-list-menu</menu></action>
316     </mousebind> 
317     <mousebind button="Right" action="Press">
318       <action name="ShowMenu"><menu>root-menu</menu></action>
319     </mousebind>
320   </context>
321 </mouse>
322
323 <menu>
324   <!-- You can specify more than one menu file in here and they are all loaded,
325        just don't make menu ids clash or, well, it'll be kind of pointless -->
326
327   <!-- debian menu file -->
328   <file>/etc/X11/openbox/openbox-menu.xml</file>
329
330   <!-- default menu file (or custom one in $HOME/.openbox/) -->
331   <file>menu.xml</file>
332 </menu>
333
334 </openbox_config>