comparison intercom/linux/.fvwm2rc @ 2:13be24d74cd2

import intercom-0.4.1
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Fri, 25 Jun 2010 09:57:52 +0200
parents
children
comparison
equal deleted inserted replaced
1:9cadc470e3da 2:13be24d74cd2
1 # window buttons
2 #
3 #Large up Triangle for Maximize
4 ButtonStyle 2 4 50x24@1 75x74@0 25x74@0 50x24@1
5
6 #Large down Triangle for Triangle
7 ButtonStyle 4 4 50x74@1 75x24@0 25x24@1 50x74@1
8
9 #Cross for Stick
10 ButtonStyle 3 13 20x60@1 20x40@1 40x40@1 40x20@1 60x20@1 60x40@0 80x40@1 80x60@0 60x60@0 60x80@0 40x80@0 40x60@1 20x60@0
11
12
13 #general configuration
14
15 DeskTopSize 3x2
16 EdgeResistance 250 10
17 EdgeScroll 0 0
18 ClickTime 750
19 ColormapFocus FollowsMouse
20 IgnoreModifiers L2
21 OpaqueMoveSize 100
22
23
24 #paths specific to fvwm2
25
26 ModulePath /usr/X11R6/lib/X11/fvwm2
27 ImagePath /usr/X11R6/share/icons/xpm/hicolor/all:/usr/X11R6/share/icons/xpm/locolor/all:/usr/X11R6/lib/X11/fvwm2/pixmaps:/usr/share/wallpapers
28
29
30 #colors
31
32 # 0 = Default colors
33 # 1 = Inactive windows
34 # 2 = Active windows
35 # 3 = Inactive menu entry and menu background
36 # 4 = Active menu entry
37 # 5 = greyed out menu entry (only bg used)
38 # 6 = module foreground and background)
39 # 7 = hilight colors
40 *FvwmTheme: Colorset 0 fg black, bg rgb:6f/a1/dc
41 *FvwmTheme: Colorset 1 fg black, bg rgb:a1/b2/c8
42 *FvwmTheme: Colorset 2 fg black, bg rgb:70/a2/dd
43 *FvwmTheme: Colorset 3 fg black, bg rgb:c8/d3/e5, VGradient 100 dtcolor5 rgb:c8/d3/e5
44 *FvwmTheme: Colorset 4 fg black, bg rgb:91/ae/d6
45 *FvwmTheme: Colorset 5 fg rgb:d2/bf/a8, bg rgb:b4/aa/94
46 *FvwmTheme: Colorset 6 fg black, bg rgb:b4/aa/94, VGradient 100 dtcolor5 rgb:b4/aa/94
47 *FvwmTheme: Colorset 7 fg black, bg rgb:94/ab/bf
48
49 S# run FvwmTheme before anything else is done
50 ModuleSynchronous Timeout 5 FvwmTheme
51 #
52 # general setup
53 #
54 Style * Colorset 1
55 Style * HilightColorset 2
56 MenuStyle * MenuColorset 3
57 MenuStyle * ActiveColorset 4
58 MenuStyle * GreyedColorset 5
59
60 XORvalue 255
61
62 #fonts
63 DefaultFont "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=10;-misc-*-medium-r-semicondensed-*-13-*-*-*-*-*-iso10646-1"
64 WindowFont "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:style=bold:size=10;-misc-fixed-bold-r-normal-*-13-*-*-*-*-*-iso10646-1"
65 IconFont "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=8;-misc-fixed-medium-r-normal-*-10-*-*-*-*-*-iso10646-1"
66
67
68 #fvwm system functions
69
70 AddToFunc QuitSave
71 + "I" Quit
72 AddToFunc InitFunction
73 + "I" Module FvwmBanner
74 + "I" Exec susewmif xmessages
75 + "I" Exec xterm -ls -geometry +150+85
76 + "I" Module FvwmButtons
77 + "I" Exec fvwm-root /usr/share/wallpapers/suse9.1-default.png
78 + "I" Exec intercom -l -S -t
79
80 AddToFunc RestartFunction
81 + "I" Module FvwmBanner
82 + "I" Module FvwmButtons
83 + "I" Exec xmessages
84 + "I" Exec fvwm-root /usr/share/wallpapers/suse9.1-default.png
85
86 AddToFunc ExitFunction
87 + "I" Exec xsetroot
88 + "I" Exec susewmif kill
89 + "I" Exec xsetroot
90
91 AddToFunc "StartFunction" "I" Module FvwmTaskBar
92
93 #fvwm window modifier functions
94
95 AddToFunc MoveOrRaise
96 + "C" Raise
97 + "M" Raise
98 + "M" Move
99 + "D" Lower
100 AddToFunc ResizeOrRaise
101 + "C" Raise
102 + "M" Raise
103 + "M" Resize
104 + "D" Lower
105 AddToFunc MaximizeFunc
106 + "M" Maximize 0 100
107 + "C" Maximize 0 80
108 + "D" Maximize 100 100
109 AddToFunc MoveOrIconify
110 + "I" Raise
111 + "M" Raise
112 + "M" Move
113 + "D" Iconify
114
115
116 #buttonbar menu
117
118 AddToMenu bargraphicspopup "Graphics" Title
119 + "Gimp" Exec gimp
120 + "XV" Exec xv
121
122 AddToMenu bartoolspopup "Tools" Title
123 # + "Mozilla" Exec mozilla
124 + "Internet" Exec qinternet
125 + "Browser" Exec konqueror
126 + "Opera" Exec opera
127 + "Mail" Exec netscape -messenger
128 + "File" Exec xfe
129
130 AddToMenu barshellspopup "Shell in XTerm" Title
131 + "Shell in XTerm" Exec xterm -e bash -login
132 + "Root shell" Function RootShell
133
134 AddToMenu barsusepopup "SUSE" Title
135 + "Control Center" Exec xterm -e su - -cyast2
136 + "Help" Exec susehelp
137 + "SUSE menu" Popup xdg_menu
138
139
140 AddToFunc RootShell
141 + "I" Exec xterm -ls -vb -sb -sl 2000 -T Root -n Root -j -rw +vb -bg \#ff8c6d -e su -
142
143 AddToMenu windowops "Window menu (Shift-Alt-Space)" Title
144 + "Mo&ve (Alt-F5) " Move
145 + "Resi&ze (Alt-F6) " Resize
146 + "&Iconify (Alt-F4) " Iconify
147 + "&Maximize/Normal (Shift-Alt-F3) " Maximize
148 + "(Un)St&ick (Shift-Alt-F4) " Stick
149 + "" Nop
150 + "Window &list (Alt-F11) " WindowList
151 + "" Nop
152 + "&Close (Alt-F9) " Delete
153 + "&Kill (Alt-F11) " Destroy
154
155
156 #Menu: Fvwm-Manpages
157
158 AddToMenu manpages_popup "Fvwm-Manpages" Title
159 + "FvwmAudio" Exec xterm -e man FvwmAudio
160 + "FvwmAuto" Exec xterm -e man FvwmAuto
161 + "FvwmBacker" Exec xterm -e man FvwmBacker
162 + "FvwmBanner" Exec xterm -e man FvwmBanner
163 + "FvwmButtons" Exec xterm -e man FvwmButtons
164 + "FvwmCascade" Exec xterm -e man FvwmCascade
165 + "FvwmCommand" Exec xterm -e man FvwmCommand
166 + "FvwmConfig" Exec xterm -e man FvwmConfig
167 + "FvwmConsole" Exec xterm -e man FvwmConsole
168 + "FvwmConsoleC" Exec xterm -e man FvwmConsoleC
169 + "FvwmCpp" Exec xterm -e man FvwmCpp
170 + "FvwmDebug" Exec xterm -e man FvwmDebug
171 + "FvwmForm" Exec xterm -e man FvwmForm
172 + "FvwmGoodStuff" Exec xterm -e man FvwmGoodStuff
173 + "FvwmIconBox" Exec xterm -e man FvwmIconBox
174 + "FvwmIconMan" Exec xterm -e man FvwmIconMan
175 + "FvwmIdent" Exec xterm -e man FvwmIdent
176 + "FvwmM4" Exec xterm -e man FvwmM4
177 + "FvwmPager" Exec xterm -e man FvwmPager
178 + "FvwmSave" Exec xterm -e man FvwmSave
179 + "FvwmSaveDesk" Exec xterm -e man FvwmSaveDesk
180 + "FvwmScript" Exec xterm -e man FvwmScript
181 + "FvwmScroll" Exec xterm -e man FvwmScroll
182 + "FvwmTalk" Exec xterm -e man FvwmTalk
183 + "FvwmTaskBar" Exec xterm -e man FvwmTaskBar
184 + "FvwmTile" Exec xterm -e man FvwmTile
185 + "FvwmWharf" Exec xterm -e man FvwmWharf
186 + "FvwmWinList" Exec xterm -e man FvwmWinList
187
188
189
190 #Menu: Modules
191
192 AddToMenu modules_popup "Modules" Title
193 + "Audio" Module FvwmAudio
194 + "Autoraise off" KillModule FvwmAuto
195 + "Autoraise 500ms" Module FvwmAuto 500
196 + "Banner" Module FvwmBanner
197 + "Buttons" Module FvwmButtons
198 + "Cascade" Module FvwmCascade
199 + "Command" Module FvwmCommand
200 + "Config" Module FvwmConfig
201 + "Console" Module FvwmConsole
202 + "Debug" Module FvwmDebug
203 + "Form" Module FvwmForm
204 + "GoodStuff" Module FvwmGoodStuff
205 + "IconBox" Module FvwmIconBox
206 + "IconMan" Module FvwmIconMan
207 + "Ident" Module FvwmIdent
208 + "M4" Module FvwmM4
209 + "Pager" Module FvwmPager 0 0
210 + "Pipe" Module FvwmPipe
211 + "Save" Module FvwmSave
212 + "SaveDesk" Module FvwmSaveDesk
213 + "Script" Module FvwmScript
214 + "Scroll" Module FvwmScroll
215 + "Talk" Module FvwmTalk
216 + "TaskBar" Module FvwmTaskBar
217 + "Tile" Module FvwmTile
218 + "Wharf" Module FvwmWharf
219 + "WinList" Module FvwmWinList
220
221
222
223 #Menu: WindowManager
224
225 AddToMenu THISWM_MENU_popup "WindowManager" Title
226 + "Modules" Popup modules_popup
227 + "Fvwm-Manpages" Popup manpages_popup
228 + "" Nop
229 + "Fvwm2-Manpage" Exec xterm -e man fvwm
230 + "" Nop
231 + "Restart Fvwm2" Restart
232 + "" Nop
233 + "Exit" Quit
234
235
236
237 #Menu: Keyboardclicks
238
239 AddToMenu settings_kbdclick_popup "Keyboardclicks" Title
240 + "hard" Exec xset c 100
241 + "Off" Exec xset c off
242 + "soft" Exec xset c on
243
244
245 #Menu: Mouse
246
247 AddToMenu settings_mouse_popup "Mouse" Title
248 + "fast" Exec xset m 4 2
249 + "Left handed mouse" Exec xmodmap -e
250 + "normal" Exec xset m 2 5
251 + "slow" Exec xset m 1 1
252
253
254
255 #Menu: Speaker
256
257 AddToMenu settings_speaker_popup "Speaker" Title
258 + "loud" Exec xset b 100 600 50
259 + "normal" Exec xset b on
260 + "loud and long" Exec xset b 100 600 300
261 + "Off" Exec xset b off
262
263
264
265 #Menu: xlock
266
267 AddToMenu settings_xlock_popup "xlock" Title
268 + "Blank" Exec xset s blank
269 + "Off" Exec xset s off
270 + "Pattern after 5 min" Exec xset s noblank s 300 300
271 + "Immediately" Exec xset s activate
272 + "Default" Exec xset s default
273
274
275
276 #Menu: Screen
277
278 PipeRead 'fvwm-menu-xlock --special-first'
279 PipeRead 'fvwm-menu-xlock --special-first --name=XSaverMenu -- -nolock'
280
281 AddToMenu screen_popup "Screen" Title
282 + "Screen-Lock" Popup XLockMenu
283 + "Screensaver" Popup XSaverMenu
284
285
286
287 #Menu: Settings
288
289 AddToMenu settings_popup "Settings" Title
290 + "Keyboardclicks" Popup settings_kbdclick_popup
291 + "Mouse" Popup settings_mouse_popup
292 + "Speaker" Popup settings_speaker_popup
293 + "xlock" Popup settings_xlock_popup
294
295
296 #Menu: Work
297
298 PipeRead 'xdg_menu --charset UTF-8 --format fvwm2'
299
300 AddToMenu WORK_MENU_popup "Work Menu" Title
301 + "Shell" Exec xterm -e bash -login
302 + "" Nop
303 + "Top" Exec xterm -e top
304 + "" Nop
305 + "Screen" Popup screen_popup
306 + "Settings" Popup settings_popup
307 + "WindowManager" Popup THISWM_MENU_popup
308 + "SUSE" Popup xdg_menu
309
310 Style "FvwmPager" NoTitle, Sticky, WindowListSkip
311 *FvwmPagerRows 1
312 *FvwmPagerColumns 1
313 *FvwmPagerGeometry -0+0
314 *FvwmPagerFore Black
315 *FvwmPagerBack grey67
316 *FvwmPagerHilight grey50
317 *FvwmPagerFont none
318 *FvwmPagerSmallFont "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=6;-misc-fixed-medium-r-normal--7-*-*-*-*-*-iso10646-1"
319
320 AddToFunc barthiswmpopupfunc
321 + "I" Popup THISWM_MENU_popup
322
323 AddToFunc barsusepopupfunc
324 + "I" Popup barsusepopup
325
326 AddToFunc bargraphicspopupfunc
327 + "I" Popup bargraphicspopup
328
329 AddToFunc bartoolspopupfunc
330 + "I" Popup bartoolspopup
331
332 AddToFunc barshellspopupfunc
333 + "I" Popup barshellspopup
334
335 *FvwmButtonsFont "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=9;-*-*-medium-*-semicondensed-*-12-*-*-*-*-*-iso10646-1"
336 *FvwmButtonsFore Black
337 *FvwmButtonsBack grey67
338 *FvwmButtonsGeometry +0+0
339 *FvwmButtonsRows 1
340 *FvwmButtons (2x1 Frame 0 Swallow(UseOld) "FvwmPager" "Module FvwmPager 0 0")
341 *FvwmButtons: (Swallow FvwmXeyes 'Exec xeyes -name "FvwmXeyes" -geometry +0+0 -bg grey67 &')
342 *FvwmButtons: (Swallow FvwmXclock 'Exec xclock -name "FvwmXclock" -geometry +0+0 -padding 1 -bg grey67 &')
343 *FvwmButtons Fvwm2 fvwm.xpm Function barthiswmpopupfunc
344 *FvwmButtons SUSE big.SuSEmenu.xpm Function barsusepopupfunc
345 *FvwmButtons Graphics gimp.xpm Function bargraphicspopupfunc
346 *FvwmButtons Tools toolbox.xpm Function bartoolspopupfunc
347 *FvwmButtons Shells xterm.xpm Function barshellspopupfunc
348 #style options for modules and programs in fvwm2
349
350 BorderStyle Inactive -- HiddenHandles NoInset
351 Style "*" BackColor Grey
352 Style "*" ForeColor DimGrey
353 Style "*" SloppyFocus
354 Style "*" DecorateTransient
355 Style "*" IconBox +55 +85 +130 +480
356 Style "*" StickyIcon
357 Style "*" SmartPlacement, RandomPlacement, ResizeOpaque
358 Style "*" NoPPosition
359 Style "FvwmWinList" NoTitle, WindowListSkip
360 Style "FvwmButtons" NoTitle, Sticky, WindowListSkip
361 Style "FvwmBanner" NoTitle, Sticky, StaysOnTop, WindowListSkip
362 Style "IconManModule" NoTitle, Sticky, NoHandles, Icon toolbox.xpm
363
364 Style "FvwmTaskBar" NoTitle, Sticky, NoHandles, StaysOnTop
365
366 Style "xeyes" SmartPlacement, RandomPlacement
367 Style "xclock" SmartPlacement, RandomPlacement
368
369 # see bug #36189
370 Style "AcroRead" SmartPlacement, RandomPlacement
371 # see bug #36188
372 Style "OpenOffice*" NoPPosition, RandomPlacement, EWMHIgnoreStrutHints, EWMHMaximizeIgnoreWorkingArea, EWMHPlacementIgnoreWorkingArea
373
374 *FvwmBackerDesk 0 -solid steelblue
375 *FvwmBackerDesk 1 -solid midnightblue
376 *FvwmBackerDesk 2 -solid yellow
377 *FvwmBackerDesk 3 -solid cadetblue2
378 *FvwmBackerDesk 5 -solid cadetblue3
379 *FvwmBackerDesk 6 -solid cadetblue4
380
381 *FvwmIdentBack MidnightBlue
382 *FvwmIdentFore Yellow
383 *FvwmIdentFont "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=10;-misc-fixed-medium-r-normal--13-*-*-*-*-*-iso10646-1"
384 *FvwmNoClutter 3600 Iconify 1
385 *FvwmNoClutter 86400 Delete
386 *NoClutterModule 172800
387
388 *FvwmWinListBack Grey
389 *FvwmWinListFore Black
390 *FvwmWinListFocusBack Black
391 *FvwmWinListFocusFore Grey
392 *FvwmWinListIconBack LightGrey
393 *FvwmWinListIconFore DimGrey
394 *FvwmWinListFont "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=11;-misc-fixed-medium-r-normal--15-*-*-*-*-*-iso10646-1"
395 *FvwmWinListAction Click1 Iconify -1,Focus
396 *FvwmWinListAction Click2 Iconify
397 *FvwmWinListAction Click3 Module "FvwmIdent" FvwmIdent
398 *FvwmWinListGeometry +0-1
399 *FvwmWinListUseSkipList
400 *FvwmWinListUseIconNames
401
402 *FvwmTaskBar: AutoHide
403 *FvwmTaskBar: StartMenu xdg_menu
404
405 # Key bindings
406
407 Key Left A SM Scroll -100 +0
408 Key Left A C CursorMove -1 0
409 Key Left A SC CursorMove -10 +0
410
411 Key Right A SM Scroll +100 +0
412 Key Right A C CursorMove +1 0
413 Key Right A SC CursorMove +10 +0
414
415 Key Up A SM Scroll +0 -100
416 Key Up A C CursorMove +0 -1
417 Key Up A SC CursorMove +0 -10
418
419 Key Down A SM Scroll +0 +100
420 Key Down A C CursorMove +0 +1
421 Key Down A SC CursorMove +0 +10
422
423 Key F1 A M Menu WORK_MENU_popup
424 Key F2 A M WindowList
425 Key F3 A M Menu xdg_menu
426 Key F4 A M Iconify
427 Key F5 A M Move
428 Key F6 A M Resize
429 Key F7 A M Raise
430 Key F8 A M Lower
431 Key F9 A M Delete
432 Key F10 A M Destroy
433
434 Key F11 A M Prev [*] focus
435 Key F12 A M Next [*] focus
436 Key Tab A 4 Next [*] focus
437 Key Tab A S4 Prev [*] focus
438
439 Key F3 A SM Maximize
440 Key F4 A SM Stick
441 Key F5 A SM Refresh
442
443 Key BackSpace A SM Function "QuitSave"
444
445 #button bar popup menus
446 Key s A SM Function "barsusepopupfunc"
447 Key g A SM Function "bargraphicpopupfunc"
448 Key t A SM Function "bartoolspopupfunc"
449 Key l A SM Function "barshellpopupfunc"
450 Key m A SM Function "MailFunc"
451
452 Key F1 A SM Restart fvwm2
453
454
455
456 # Mouse bindings
457
458 Mouse 1 R A Menu WORK_MENU_popup Nop
459 Mouse 2 R A Module FvwmWinList Transient
460 Mouse 3 R A Menu xdg_menu Nop
461 Mouse 2 FST A Menu windowops Nop
462
463 Mouse 1 1 A Menu windowops Delete
464 Mouse 2 1 A Menu windowops Destroy
465 Mouse 3 1 A Menu windowops Nop
466
467 Mouse 1 SF A Function "ResizeOrRaise"
468
469 Mouse 1 T A Function "MoveOrRaise"
470
471 Mouse 1 I A Iconify
472 Mouse 2 I A Iconify
473 Mouse 3 TSIF A RaiseLower
474
475 Mouse 1 2 A Maximize 0 100
476 Mouse 2 2 A Maximize 100 100
477 Mouse 3 2 A Maximize 100 0
478 Mouse 0 4 A Iconify
479 Mouse 1 3 A Stick

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.