Blob


1 # FVWM 2 config file
2 #
3 # Beispiele und configs unter: http://dev.gentoo.org/~taviso/
4 ###########################################################
5 # Wie schwer ist es ein Desktop zu wechseln?
6 # x == Zeit in ms, wo der Zeiger am Rand sein muss
7 # y == Anzahl Pixel, die das Bild im neuen Desktop sein muss
8 EdgeResistance 200 150
9 # Scrollen aus dem Desktop raus (aus mit 0 0)
10 EdgeScroll 0 0
11 # Fensterinhalt beim Verschieben bis zur Groesse x darstellen
12 OpaqueMoveSize 50
13 # Anzahl der virtuellen Desktops <horiz> x <vertikal>
14 DeskTopSize 4x1
15 # Anordnung der Fenster
16 Style "*" SmartPlacement, RandomPlacement
17 # focus follows mouse, aber nur bei existierenden Fenstern
18 Style "*" SloppyFocus
19 # Attraction mit x Pixeln Annaeherung
20 # Window == Nur Fenster snappen, Screen == Fenster snappen am Rand auch
21 SnapAttraction 8 Window Screen
22 # Jedes neue Fenster (egal welches) bekommt den Fokus
23 Style "*" GrabFocus
24 # Klick in ein ueberlagertes Fenster holt dieses in den Vordergrund
25 Style "*" MouseFocusClickRaises
26 ###########################################################
27 #Style * Colorset 3, HilightColorset 4, RootTransparent Buffer, Tint black 80
28 Style * Font "Shadow=0 Align=right 1 SE:xft:sans:bold:pixelsize=11:minspace=True"
29 #Colorset 7 fg black, bg Gray60, sh black
30 #, RootTransparent Buffer, Tint darkblue 45
31 #Colorset 7 fg white , bg white, sh white, RootTransparent Buffer, Tint black 80, Highlight white
32 Colorset 7 RootTransparent Buffer, Tint black 80, Highlight white
33 #Style * Font "SE:xft:Bitstream Vera Sans Mono:style=Roman:size=8"
34 # Aktives Fenster 1. Title-Bar 2. Rahmenfarbe
35 #HilightColor white
36 # Farben fuer alle Fenster
37 #Style "*" Color Gray60/black
38 # Fluechtigen Fenstern, also Dialogfelder o.ae. auch ein FVWM Dekor spendieren
39 Style "*" DecorateTransient
40 # Fensterumrandung
41 # NoHandles == Keine Zieh-Elemente an den Ecken
42 Style "*" BorderWidth 0, NoHandles
44 Colorset 13 fg #f6f6f6, bg black, IconAlpha 40
45 Colorset 14 fg white, bg black, fgsh black, IconAlpha 100
46 Style * Colorset 13, HilightColorset 14, MWMFunctions, MWMDecor, HintOverride
48 #, Handlewidth 0
49 # Aktives bzw Inaktives Fenster
50 TitleStyle Inactive Colorset 7 -- flat
51 TitleStyle Active Colorset 7 -- flat
52 ###########################################################
53 #TitleStyle ActiveUp Gray90
54 #TitleStyle Inactive Gray40
55 ###########################################################
56 # Desktops wechseln Oben, Unten, Links, Rechts
57 # Oben und Unten wegen Window Maker Kompatibilitaet auskommentiert
58 #Key Up A M Scroll 0 -100
59 #Key Down A M Scroll 0 100
60 Key Left A M Scroll -100 0
61 Key Right A M Scroll 100 0
62 # Die zweiten Tasten neben den Pfeiltasten auf einem neuen IBM Thinkpad dienen
63 # zum Fesnterwechsel. Eintrag in .Xmodmap nicht vergessen
64 #keycode 234 = XF86Back
65 #keycode 233 = XF86Forward
66 Key XF86Forward A A Next [CurrentDesk !Iconic] Focus
67 Key XF86Back A A Prev [CurrentDesk !Iconic] Focus
68 #Scroll -100 0
69 #Key XF86Forward A A Scroll +100 0
70 ###########################################################
71 # Key == Taste, Function == Funktion die ausgefuehrt werden soll
72 # Modif C Control M Meta (Alt)
73 # S Shift L Caps Lock
74 # A Any
75 #
76 # Context R Root Window D Desktop App (KDE)
77 # W App Window T Window Titlebar
78 # S Window Bar F Window Frame (corners)
79 # I Icon Window A Any
81 # rxvt starten mit Ctrl+Meta+V
82 # Key Context Modif Function
83 #Key V A CM Exec exec aterm +sb -tr -fg white -bg black -sh 40 -geometry 80x25 -ls -fn 9x15 -name "rxvt" -fade 40
84 #Key V A CM Exec exec aterm +sb -fg white -bg black -sh 40 -geometry 80x25 -ls -fn 9x15 -name "rxvt"
85 Key V A CM Exec exec mrxvt +sb -fg white -bg black -ls -fn 9x15 -shade 40 -tabfg white -tabbg black -tnum 5 -bt -hb -itabfg white -itabbg black
86 #-geometry 155x65
87 #Key V A CM Exec exec Terminal
88 Key X A CM Exec exec ~/scripts/sh/start_term.sh
89 # xterm starten
90 #Key X A CM Exec exec aterm +sb -tr -fg white -bg black -sh 40 -geometry 76x32 -ls -fn 9x15 -name "xterm" -fade 40
91 #Key X A CM Exec exec aterm +sb -tr -fg white -bg black -sh 15 -fn 6x13 -name "xterm" -fade 40
92 # Firefox
93 Key M A C Exec exec firefox
94 # Acrobat Reader
95 #Key K A C Exec exec acroread
96 # gRun Dialog
97 #Key R A CM Exec exec grun
98 Key F2 A M Exec exec grun
99 ###########################################################
100 # Fenster mit C+A+m maximieren
101 Key M WTF CM Maximize
102 # Fenster mit C+A+n minimieren (heisst als Icon auf den Desktop legen)
103 Key N WTF CM Iconify
104 #Key N WTF CM Thumbnail
105 # Fenster mit A+unten nach hinten
106 Key Down WTF M Lower
107 # Fenster mit A+oben nach vorne
108 Key Up WTF M Raise
109 # Fenster schliessen
110 Key F4 WTF M Delete
111 # Fenster resizen
112 Key H WTF C Resize
113 # Fenster shaden
114 Key S WTF CM WindowShade
115 # Einzelne Desktops per Alt+<nr> erreichen
116 Key 1 A M GotoPage 0 0
117 Key 2 A M GotoPage 1 0
118 Key 3 A M GotoPage 2 0
119 Key 4 A M GotoPage 3 0
120 Key 5 A M GotoPage 4 0
121 Key 6 A M GotoPage 5 0
122 Key 7 A M GotoPage 6 0
123 Key 8 A M GotoPage 7 0
124 ###########################################################
125 Mouse 1 I N Maximize
126 ###########################################################
127 # for other parts of the window/borders/icons:
128 #Mouse 1 F A Resize-or-Raise
129 #Mouse 1 TS A Move-or-Raise
130 #Mouse 1 I A Move-or-Iconify
131 Mouse 2 I A Iconify
132 #Mouse 2 FST A Menu Window-Ops2 Nop
133 Mouse 3 TSIF A RaiseLower
134 ###########################################################
135 # Menues bei Mausclicks wie bei Window Maker
136 # 1 (Linke) 2 (Mittlere) 3 (Rechte) Maustaste
137 Mouse 3 R A Menu RootMenu Nop
138 Mouse 1 R A Menu Window-Ops Nop
139 Mouse 2 R A WindowList
140 ###########################################################
141 # Farben fuers Menu setzen
142 Colorset 0 fg black, bg grey
143 Colorset 1 fg black, bg #6b83b5, hi #dcdcdc, sh #dcdcdc
144 MenuStyle * Hilight3DThin, PopupOffset 0 100, PopupDelay 300
145 MenuStyle * Font "Shadow=1 1 SE:xft:Bitstream Vera Sans Mono:style=Roman:size=8"
146 MenuStyle * MenuColorset 0, HilightBack, ActiveColorset 1
147 MenuStyle * BorderWidth 1, TitleUnderlines1, SeparatorsLong, TrianglesSolid, Animation
148 MenuStyle * ItemFormat "%.2|%.5i%.5l%.5i%2.3>%2|"
149 # MenuStyle * AutomaticHotKeys
150 ###########################################################
151 AddToMenu RootMenu "Root Menu" Title
152 + "Rxvt" Exec exec mrxvt +sb -fg white -bg black -geometry 80x25 -ls -fn 9x15 -shade 40 -tabfg white -tabbg black -tnum 5 -bt -hb -itabfg white -itabbg black
153 #+ "XTerm" Exec exec aterm +sb -tr -fg white -bg black -sh 50 -geometry 80x25 -fn 6x13 -name "xterm"
154 #+ "XTerm 1" Exec exec aterm +sb -tr -fg white -bg black -sh 50 -geometry 116x77+0+0 -fn 6x13 -name "xterm" -fade 40
155 #+ "XTerm 2" Exec exec aterm +sb -tr -fg white -bg black -sh 50 -geometry 116x77+694+0 -fn 6x13 -name "xterm" -fade 40
156 + "XTerm 1" Exec exec aterm +sb -tr -fg white -bg black -sh 20 -fn 6x13 -name "xterm" -fade 35
157 + "XTerm 2" Exec exec aterm +sb -tr -fg white -bg black -sh 20 -fn 6x13 -name "xterm" -fade 35
158 + "OpenOffice" Exec exec /home/matthias/stuff/soffice/soffice
159 + "" Nop
160 + "Restart FVWM" Restart
162 AddToMenu Window-Ops "Window Ops" Title
163 + "Move" Move
164 + "Resize" Resize
165 + "Raise" Raise
166 + "Lower" Lower
167 + "Delete" Delete
168 + "Close" Close
169 + "Destroy" Destroy
170 + "" Nop
171 + "Refresh Window" RefreshWindow
172 ###########################################################
173 # Standard Maus Cursor anstatt des X
174 CursorStyle root top_left_arrow
175 CursorStyle stroke hand2
176 ###########################################################