1 # This file gets installed in the "datadir" during fvwm
2 # installation. Do not remove or change this file.
4 # Created on 21/Mar/1999 by DanEspen (dje):
5 # - FvwmDefaults file. Contains fvwm defaults, and enough to help out
6 # the new user with no configuration file.
7 # This picks up from where the builtin table in fvwm.c SetRCDefaults ends.
9 # Set at least 2 root keys to bring up the builtin menu:
10 Silent Key Help R A Popup MenuFvwmRoot
11 Key F1 R A Popup MenuFvwmRoot
13 # Ctrl-Alt-Escape for aborting Wait pause and ModuleSynchronous command
14 Key Escape A MC EscapeFunc
16 # Needed by the builtin WindowList command, this should match the manpage
17 AddToFunc WindowListFunc
21 + I WarpToWindow 5p 5p
23 # Needed by the ewmh support
24 AddToFunc EWMHActivateWindowFunc
29 # Also in the fvwm man page
34 + I WarpToWindow 5p 5p
35 AddToFunc UrgencyDoneFunc I Nop
37 # Needed by modules which use session management
38 # FSMExecFuncWithSessionManagment "module_sm_env" "action" "orig_sm_env"
39 AddToFunc FSMExecFuncWithSessionManagment
40 + I Setenv SESSION_MANAGER $0
42 + I Setenv SESSION_MANAGER $2
45 Style * LowerTransient, RaiseTransient, StackTransientParent
46 Style * TileCascadePlacement, Title, MouseFocus
47 Style * UseIconPosition, RightTitleRotatedCW, UseTitleDecorRotation
48 Style * EWMHPlacementUseDynamicWorkingArea, EWMHMaximizeUseDynamicWorkingArea
49 # Default styles for tear off menus
50 Style fvwm_menu NoPPosition, NeverFocus, NoLenience, \
51 WindowListSkip, CirculateSkip
54 Key Tab A M WindowList Root c c NoDeskSort
56 # Basic Mouse controls:
57 Mouse 1 T A FuncFvwmRaiseLowerX Move
58 Mouse 1 FS A FuncFvwmRaiseLowerX Resize
59 Mouse 2 FST A FuncFvwmRaiseLowerX Move
60 AddToFunc FuncFvwmRaiseLowerX
65 ######################
69 # hard coded defaults that can not be deleted
70 #Key Escape M A MenuClose
71 #Key Return M A MenuSelectItem
72 #Key Left M A MenuCursorLeft
73 #Key Right M A MenuCursorRight
74 #Key Up M A MenuMoveCursor -1
75 #Key Down M A MenuMoveCursor 1
76 #Mouse 1 M A MenuSelectItem
79 Silent Key Delete M A MenuClose
80 Silent Key KP_Separator M A MenuClose
81 Silent Key KP_Decimal M A MenuClose
83 Silent Key Space M A MenuSelectItem
84 Silent Key KP_Enter M A MenuSelectItem
86 # move to last entry of menu ('More...' if this exists) and
87 # try to enter the menu. Otherwise try to enter the current
89 Silent Key Insert M A MenuEnterContinuation
90 Silent Key KP_Insert M A MenuEnterContinuation
91 Silent Key KP_0 M A MenuEnterContinuation
93 Silent Key KP_Left M A MenuCursorLeft
94 Silent Key KP_4 M A MenuCursorLeft
96 Silent Key KP_Right M A MenuCursorRight
97 Silent Key KP_6 M A MenuCursorRight
100 Silent Key b M A MenuLeaveSubmenu
102 Silent Key f M A MenuEnterSubmenu
104 Silent Key Page_Up M A MenuMoveCursor -5
105 Silent Key KP_Prior M A MenuMoveCursor -5
106 Silent Key KP_9 M A MenuMoveCursor -5
108 Silent Key Page_Down M A MenuMoveCursor +5
109 Silent Key KP_Next M A MenuMoveCursor +5
110 Silent Key KP_3 M A MenuMoveCursor +5
113 Silent Key KP_Up M A MenuMoveCursor -1
114 Silent Key KP_8 M A MenuMoveCursor -1
116 Silent Key p M A MenuMoveCursor -1
118 Silent Key Up M S MenuMoveCursor 0 0
119 Silent Key KP_Up M S MenuMoveCursor 0 0
120 Silent Key KP_8 M S MenuMoveCursor 0 0
122 Silent Key p M S MenuMoveCursor 0 0
124 Silent Key Up M C MenuMoveCursor -5
125 Silent Key KP_Up M C MenuMoveCursor -5
126 Silent Key KP_8 M C MenuMoveCursor -5
128 Silent Key p M C MenuMoveCursor -5
130 Silent Key Up M M MenuMoveCursor -1s
131 Silent Key KP_Up M M MenuMoveCursor -1s
132 Silent Key KP_8 M M MenuMoveCursor -1s
134 Silent Key p M M MenuMoveCursor -1s
137 Silent Key KP_Down M A MenuMoveCursor 1
138 Silent Key KP_2 M A MenuMoveCursor 1
140 Silent Key n M A MenuMoveCursor 1
142 Silent Key Down M S MenuMoveCursor 0 -1
143 Silent Key KP_Down M S MenuMoveCursor 0 -1
144 Silent Key KP_2 M S MenuMoveCursor 0 -1
146 Silent Key n M S MenuMoveCursor 0 -1
148 Silent Key Down M C MenuMoveCursor +5
149 Silent Key KP_Down M C MenuMoveCursor +5
150 Silent Key KP_2 M C MenuMoveCursor +5
152 Silent Key n M C MenuMoveCursor +5
154 Silent Key Down M M MenuMoveCursor +1s
155 Silent Key KP_Down M M MenuMoveCursor +1s
156 Silent Key KP_2 M M MenuMoveCursor +1s
158 Silent Key n M M MenuMoveCursor +1s
160 Silent Key Tab M A MenuMoveCursor +1
161 Silent Key Tab M C MenuMoveCursor +1s
162 Silent Key Tab M MC MenuMoveCursor +5
163 Silent Key Tab M S MenuMoveCursor -1
164 Silent Key Tab M SM MenuMoveCursor -1
165 Silent Key Tab M SC MenuMoveCursor -1s
166 Silent Key Tab M SMC MenuMoveCursor -5
168 Silent Key Home M A MenuMoveCursor 0 0
169 Silent Key KP_Home M A MenuMoveCursor 0 0
170 Silent Key KP_7 M A MenuMoveCursor 0 0
172 Silent Key End M A MenuMoveCursor 0 -1
173 Silent Key KP_End M A MenuMoveCursor 0 -1
174 Silent Key KP_1 M A MenuMoveCursor 0 -1
176 Silent Key BackSpace M A MenuTearOff
178 Silent Key KP_Add M A MenuScroll 1
179 Silent Key KP_Subtract M A MenuScroll -1
182 Silent Key h M A MenuCursorLeft
183 Silent Key l M A MenuCursorRight
184 Silent Key k M A MenuMoveCursor -1
185 Silent Key k M C MenuMoveCursor -5
186 Silent Key j M A MenuMoveCursor 1
187 Silent Key j M C MenuMoveCursor 5
190 Silent Key a M C MenuMoveCursor 0 0
191 Silent Key e M C MenuMoveCursor 0 -1
192 Silent Key b M C MenuMoveCursor -1
193 Silent Key f M C MenuMoveCursor +1
194 Silent Key Left M C MenuMoveCursor -1s
195 Silent Key Right M C MenuMoveCursor +1s
196 Silent Key g M C MenuClose
200 Mouse 0 MI A MenuSelectItem
201 Mouse 0 MTS A MenuLeaveSubmenu
202 Silent Mouse 4 MIT A MenuScroll -1
203 Silent Mouse 5 MIT A MenuScroll +1
205 # NB: Only on title -- changes syntax for remapping the TearOff functionality
206 Mouse 2 MT A MenuTearOff