1 ############################################
2 # Don't change the beginning of this file !#
3 ############################################
7 ChangeDefaultFocus SloppyFocus
9 ColormapFocus FollowsMouse
15 Menustyle mwm, Font -adobe-times-bold-r-*-*-12-*-*-*-*-*-*-*
16 MenuStyle Foreground Black, Background #d0d0d0, Greyed Black
20 Style "*" Font -adobe-times-bold-r-*-*-14-*-*-*-*-*-*-*
21 Style "*" IconFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
22 Style "*" Hilightfore Yellow, HilightBack #5c54c0
23 Style "*" BorderWidth 10, HandleWidth 10,IconBox 580x400-0-0
24 Style "*" Icon unknown1.xpm, Color #AAFF00/RoyalBlue
25 Style "*" ActivePlacement, SmartPlacement,SkipMapping
26 Style "*" MWMFunctions,HintOverride,MWMBorder
27 Style "*" DecorateTransient
31 ##############################################
32 # Here, you can modify this file #
33 ##############################################
37 ButtonStyle 2 4 50x35@1 65x65@0 35x65@0 50x35@1
39 ButtonStyle 4 4 50x65@1 35x35@1 65x35@1 50x65@0
41 # some other ButtonStyles:
43 #ButtonStyle 2 4 50x25@1 75x75@0 25x75@0 50x25@1
45 #ButtonStyle 4 4 50x75@1 25x25@1 75x25@1 50x75@0
47 #ButtonStyle 2 5 25x25@1 25x75@1 75x75@0 75x25@0 25x25@1
49 #ButtonStyle 8 5 40x40@1 60x40@1 60x60@0 40x60@0 40x40@1
51 #ButtonStyle 6 5 40x25@1 60x25@1 60x75@0 40x75@0 40x25@1
53 #ButtonStyle 4 5 45x45@1 55x45@1 55x55@0 45x55@0 45x45@1
55 #ButtonStyle 2 8 40x80@1 40x50@1 20x50@1 50x20@1 80x50@0 60x50@0 60x80@0 40x80@0
57 #ButtonStyle 3 13 26x29@1 34x21@1 50x35@1 70x21@1 79x29@1 63x48@0 79x65@1 70x75@0 50x61@0 34x75@0 26x65@0 44x48@1 26x29@0
61 *FvwmScriptPath /usr/X11/lib/X11/fvwm
67 Style "Fvwm*" NoHandles, Sticky, WindowListSkip,
68 Style "Fvwm*" BorderWidth 8,CirculateSkipIcon
69 Style "FvwmButtons" NoTitle, NoHandles, Sticky, WindowListSkip
70 Style "FvwmButtons" BorderWidth 8, CirculateSkip
71 Style "FvwmButtons" Icon toolbox.xpm
72 Style "FvwmIdent" Title
73 Style "xbiff" NoTitle, Sticky, WindowListSkip
74 Style "Maker" StartsOnDesk 1,CascadePlacement
75 Style "rxvt" Icon term.xpm,SloppyFocus
76 Style "XTerm" Icon xterm.xpm
77 Style "Appointment" Icon datebook.xpm, NoButton 2, NoButton 4
78 Style "xcalc" Icon xcalc.xpm, NoButton 2
79 Style "xmh" Icon mail1.xpm, NoIconTitle,StickyIcon
80 Style "xmh" CascadePlacement, StartsOnDesk 2, NoButton 2
81 Style "xman" Icon xman.xpm,CascadePlacement
82 Style "xvgr" Icon graphs.xpm,CascadePlacement
83 Style "matlab" Icon math4.xpm
84 Style "xmag" Icon mag_glass.xpm,CascadePlacement
85 Style "xgraph" Icon graphs.xpm,CascadePlacement
86 Style "sppeed6" Icon math3.xpm,NoTitle
87 Style "sppeed6_user" Icon math4.xpm,NoTitle
88 Style "xmosaic" NoPPosition, color Green/Yellow
89 Style "textedit" Icon editor.xpm
90 Style "Edit" BorderWidth 5, HandleWidth 2,NoHandles, NoButton 2, NoButton 4
91 Style "Edit" SloppyFocus,StaysOnTop, WindowListSkip
92 Style "/mnt/floppy/" Icon floppy.xpm
93 Style "/mnt/cdrom/" Icon cdisc.xpm
94 Style "TkDesk Application Bar" Sticky, WindowListSkip, CirculateSkip,BorderWidth 0,NoTitle, NoHandles
95 Style "Disk Usage" NoHandles, BorderWidth 8, NoButton 4,NoButton 2
96 Style "Background #1" NoHandles, BorderWidth 8, NoButton 4,NoButton 2
97 Style "Job Control" NoHandles, BorderWidth 8, NoButton 4,NoButton 2
98 Style "Find Files" NoHandles, BorderWidth 8, NoButton 4,NoButton 2
99 Style "Delete Files" NoHandles, BorderWidth 8, NoButton 4,NoButton 2
100 Style "File Information" NoHandles, BorderWidth 8, NoButton 4,NoButton 2
101 Style "Rename File" NoHandles, BorderWidth 8, NoButton 4,NoButton 2
102 Style "Copy, Move, Link Files" NoHandles, BorderWidth 8, NoButton 4,NoButton 2
103 Style "New File" NoHandles, BorderWidth 8, NoButton 4,NoButton 2
104 Style "New Directory" NoHandles, BorderWidth 8, NoButton 4,NoButton 2
105 Style "Info" NoHandles, BorderWidth 8, NoButton 4,NoButton 2
106 Style "Execute" NoHandles, BorderWidth 8, NoButton 4,NoButton 2
107 Style "Control" NoHandles, BorderWidth 8, NoButton 4,NoButton 2
108 Style "File modified" NoHandles, BorderWidth 8, NoButton 4,NoButton 2
109 Style "Starting..." NoHandles, BorderWidth 8, NoButton 4,NoButton 2,NoButton 1
110 Style "File exists" NoHandles, BorderWidth 8, NoButton 4,NoButton 2,NoButton 1
111 Style "TkMan v1.7.3" Icon xman.xpm
112 Style "Logout" NoHandles, BorderWidth 8, NoButton 4,NoButton 2,Sticky,StaysOnTop
113 Style "shutdown" NoHandles, NoTitle, BorderWidth 8, NoButton 4,NoButton 1,NoButton 2 ,Sticky,StaysOnTop
114 Style "Screen Setup" NoHandles, BorderWidth 8, NoButton 4,NoButton 2
115 Style "Bell Setup" NoHandles, BorderWidth 8, NoButton 4,NoButton 2
116 Style "Keyboard Setup" NoHandles, BorderWidth 8, NoButton 4,NoButton 2
117 Style "Pointer Setup" NoHandles, BorderWidth 8, NoButton 4,NoButton 2
118 Style "Date" NoHandles, BorderWidth 8, NoButton 4,NoButton 2
119 Style "Confirmation" NoHandles, BorderWidth 8, NoButton 4,NoButton 2
122 Mouse 1 R A Menu Utilities Nop
123 Mouse 2 R A Menu Window-Ops Nop
124 Mouse 3 R A WindowList
125 Mouse 1 1 A Raise-or-Delete
126 Mouse 2 1 A Menu Window-Ops2
127 Mouse 3 1 A RaiseLower
128 Mouse 0 2 A Maximize-Func
130 Mouse 1 F A Resize-or-Raise
131 Mouse 1 T A Move-or-Raise
132 Mouse 1 S A Resize-or-Raise
133 Mouse 1 I A Move-or-Iconify
134 Mouse 2 I A Menu Window-Ops Nop
135 Mouse 2 FST A Menu Window-Ops2 Nop
136 Mouse 3 TSIF A RaiseLower
139 ########################Initialization Functions ############################
140 AddToFunc StartFunction "I" Module FvwmScript Buttons
141 #+ "I" Module FvwmButtons
142 #+ "I" Module FvwmBacker
143 #+ "I" Module FvwmAudio
145 ########################Menus ########################################
147 # The following menus form the bulk of the menu system I have hanging
148 # off the GoodStuff module; they contain most of my commonly used
149 # X-based tools. Note that I use rxvt instead of xterm for most of my
150 # shells due to memory constraints; if you use xterms or some variant
151 # thereof (aixterm, cxterm, kxterm, etc.) you'll need to change quite
152 # a few things. --tabaer@magnus
154 # A menu of VT100 size shells
155 AddToMenu "80x25" "80x25 Shells" Nop
157 + "Black on white" Exec exec color_xterm -sb -ls -geometry 80x25 -fg Black -bg White &
158 + "Gold on black" Exec exec color_xterm -sb -ls -geometry 80x25 -fg gold1 -bg Black &
159 + "Green on black" Exec exec color_xterm -sb -ls -geomtery 80x25 -fg green2 -bg Black &
160 + "White on black" Exec exec color_xterm -sb -ls -geometry 80x25 -fg White -bg Black &
161 + "Yellow on blue" Exec exec color_xterm -sb -ls -geometry 80x25 -fg Yellow -bg Blue &
163 # A menu of slightly larger shells
164 AddToMenu "80x40" "80x40 Shells" Nop
166 + "Black on gray" Exec exec color_xterm -sb -ls -geometry 80x40 -fg Black -bg LightGray &
167 + "Black on white" Exec exec color_xterm -sb -ls -geometry 80x40 -fg Black -bg White &
168 + "Gold on black" Exec exec color_xterm -sb -ls -geometry 80x40 -fg gold1 -bg Black &
169 + "Green on black" Exec exec color_xterm -sb -ls -geometry 80x40 -fg green2 -bg Black &
170 + "White on black" Exec exec xterm -sb -ls -geometry 80x40 -fg White -bg Black &
171 + "Yellow on blue" Exec exec xterm -sb -ls -geometry 80x40 -fg Yellow -bg Blue &
173 AddToMenu "Pict" "Pict viewer" Nop
175 + "Loupe" Exec exec xmag &
176 + "Bitmap Viewer" Exec exec bitmap &
177 + "PostScript Previewer" Exec exec ghostview -magstep 1 &
178 + "XV" Exec exec xv &
179 + "XFigure" Exec exec xfig &
180 + "XPaint" Exec exec xpaint &
182 AddToMenu "Prog" "Development" Nop
184 + "EditRes" Exec exec editres &
185 + "Lisp" Exec exec xterm -sb -bg grey -e clisp &
186 + "XXGdb" Exec exec xxgdb &
187 + "Environnement C" Exec exec xwpe &
189 # A set of NASTY time killers...
190 AddToMenu "Games" "Games" Nop
192 + "GnuChess" Exec exec xboard &
193 + "Lander" Exec exec xlander &
194 + "Xgalaga" Exec exec xgal &
195 + "Xeyes" Exec exec xeyes &
196 + "Xhextris" Exec exec xhextris &
197 + "Xlogo" Exec exec xlogo &
198 + "Xmahjongg" Exec exec xmahjongg &
199 + "Xtetris" Exec exec xtetris &
200 + "Xvier" Exec exec xvier &
201 + "Doom" Exec exec xdoom &
203 AddToMenu "ScreenSaver" "Screen Saver" Nop
205 + "Bat" Exec exec xlock -nolock -nice 0 -mode bat &
206 + "Blank" Exec exec xlock -nolock -nice 0 -mode blank &
207 + "Blot" Exec exec xlock -nolock -nice 0 -mode blot &
208 + "Bob" Exec exec xlock -nolock -nice 0 -mode bob &
209 + "Bounce" Exec exec xlock -nolock -nice 0 -mode bounce &
210 + "Flame" Exec exec xlock -nolock -nice 0 -mode flame &
211 + "Galaxy" Exec exec xlock -nolock -nice 0 -mode galaxy &
212 + "Grav" Exec exec xlock -nolock -nice 0 -mode grav &
213 + "Helix" Exec exec xlock -nolock -nice 0 -mode helix &
214 + "Hop" Exec exec xlock -nolock -nice 0 -mode hop &
215 + "Hyper" Exec exec xlock -nolock -nice 0 -mode hyper &
216 + "Kaleid" Exec exec xlock -nolock -nice 0 -mode kaleid &
217 + "Life" Exec exec xlock -nolock -nice 0 -mode life &
218 + "Life3d" Exec exec xlock -nolock -nice 0 -mode life3d &
219 + "Maze" Exec exec xlock -nolock -nice 0 -mode maze &
220 + "Pyro" Exec exec xlock -nolock -nice 0 -mode pyro &
221 + "Qix" Exec exec xlock -nolock -nice 0 -mode qix &
222 + "Random" Exec exec xlock -nolock -nice 0 -mode random &
223 + "Rect" Exec exec xlock -nolock -nice 0 -mode rect &
224 + "Rock" Exec exec xlock -nolock -nice 0 -mode rock &
225 + "Rotor" Exec exec xlock -nolock -nice 0 -mode rotor &
227 # Menu of silly things every X setup should have
228 AddToMenu "Toys" "Toys" Nop
230 + "X-Eyes" Exec exec xeyes &
231 + "X-Roaches" Exec exec xroach &
233 # Here are the top-level menus hanging off GoodStuff. As you'll see,
234 # they call other menus a lot. --tabaer@magnus
236 AddToMenu "Shells" "Shells" Nop
238 + "80x25" PopUp 80x25
239 + "80x40" PopUp 80x40
240 # This defines the most common window operations
241 # As with the key bindings (see below), these were appropriated from
242 # a stock SGI .4Dwmrc file
244 AddToMenu "Utilities" "Tools" Nop
246 + "Clipboard" Exec exec xclipboard &
247 + "Lecture CD audio" Exec exec workman &
248 + "Eject CD Rom" Exec exec eject &
249 + "Réglage son" Exec exec xmix &
250 + "Format disquette" Exec exec /sbin/formatdos &
251 + "MemInfo" Exec meminfo &
252 + "Restart fvwm" Restart fvwm
253 + "Shells" PopUp Shells
254 + "Pict viewer" PopUp Pict
255 + "Development" PopUp Prog
256 + "Modules" Popup Module-Popup
257 + "Demos" Popup Demos
258 + "ScreenSavers" Popup ScreenSaver
261 AddToMenu "Demos" "Demos" Nop
263 + "X Demos and Toys" PopUp Toys
264 + "X Games" PopUp Games
268 AddToMenu Window-Ops "Window Ops" Title
269 + "Move%mini.move.xpm%" Move-or-Raise2
270 + "Resize%mini.resize.xpm%" Resize-or-Raise2
271 + "Raise%mini.raise.xpm%" Raise
272 + "Lower%mini.lower.xpm%" Lower
273 + "(De)Iconify" Iconify
275 + "(Un)Maximize" maximize_func
277 + "Delete%mini.destroy.xpm%" Delete
278 + "Close%mini.destroy.xpm%" Close
279 + "Destroy%mini.destroy.xpm%" Destroy
281 + "Refresh Screen" Refresh
282 AddToMenu Window-Ops2 "Move%mini.move.xpm%" Move-or-Raise2
283 + "Resize%mini.resize.xpm%" Resize-or-Raise2
284 + "Raise%mini.raise.xpm%" Raise
285 + "Lower%mini.lower.xpm%" Lower
286 + "(De)Iconify" Iconify
288 + "(Un)Maximize" maximize_func
290 + "Delete%mini.destroy.xpm%" Delete
291 + "Close%mini.destroy.xpm%" Close
292 + "Destroy%mini.destroy.xpm%" Destroy
294 + "ScrollBar" Module FvwmScroll 2 2
295 + "Print" PrintFunction
297 AddToMenu Module-Popup "Modules" Title
298 + "Button-Bar" Module FvwmButtons
299 + "Clean-Up" Module FvwmClean
300 + "Identify" Module FvwmIdent
301 + "SaveDesktop" Module FvwmSave
302 + "WinList" Module FvwmWinList
303 + "Background" Module FvwmBacker
304 + "IconBox" Module FvwmIconBox
305 + "Banner" Module FvwmBanner
306 + "Talk" Module FvwmConsole
307 + "Configuration" Module FvwmConfig
309 ########################Functions ########################################
311 AddToFunc MailFunction "I" Next [$0] Iconify -1
312 + "I" Next [$0] focus
313 + "I" None [$0] Exec $0 $1
315 AddToFunc Move-or-Raise "I" Raise
317 + "D" Maximize 100 100
319 AddToFunc Move-or-Raise2 "M" Raise
323 AddToFunc Maximize-Func "M" Maximize 0 100
325 + "D" Maximize 100 100
327 AddToFunc Move-or-Iconify "I" Raise
331 AddToFunc Resize-or-Raise "I" Raise
335 AddToFunc Resize-or-Raise2 "M" Raise
339 AddToFunc PrintFunction "I" Raise
340 + "I" Exec xdpr -id $w
342 AddToFunc Iconify-and-Raise "I" Iconify
345 AddToFunc Raise-or-Delete "D" Close
348 ########################## Window-Identifier ###############################
349 # Just choose colors and a fonts
350 *FvwmIdentBack MidnightBlue
351 *FvwmIdentFore Yellow
352 *FvwmIdentFont -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
354 ########################### Pager #########################################
355 *FvwmPagerBack Grey85
357 *FvwmPagerFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
358 *FvwmPagerHilight Grey70
359 *FvwmPagerGeometry 130x56-1500-1500
360 *FvwmPagerLabel 0 FvwmPager
361 *FvwmPagerSmallFont 5x8
365 *FvwmBackerDesk 0 xpmroot /usr/X11/include/X11/pixmaps/Xlogo.xpm
366 *FvwmBackerDesk 1 xpmroot /usr/X11/include/X11/pixmaps/fond1.xpm
368 *FvwmScrollBack grey40
369 *FvwmScrollFore green
371 ############################################################
372 ############################################################
373 # Note that icons are shown in the module
374 # only if NoIcon commnand is applied.
377 ############################################################
379 #*FvwmAudioPlayCmd playsnd
380 #*FvwmAudioDir /usr/lib/sounds
382 #*FvwmAudio startup exit.raw
383 #*FvwmAudio shutdown exit.raw
384 #*FvwmAudio iconify icon.raw
385 #*FvwmAudio deiconify deicon.raw
386 #*FvwmAudio unknown defaut.raw
387 #*FvwmAudio destroy_window close.raw
390 *FvwmWinListBack DarkOliveGreen
391 *FvwmWinListFore PaleGoldenRod
392 *FvwmWinListFont -*-new century schoolbook-bold-r-*-*-*-120-*-*-*-*-*-*
393 *FvwmWinListAction Click1 Focus,Iconify -1,Focus
394 *FvwmWinListAction Click2 Iconify
395 *FvwmWinListAction Click3 Module "FvwmIdent" FvwmIdent
396 *FvwmWinListUseSkipList
397 *FvwmWinListUseIconNames
398 *FvwmWinListGeometry -50-85