| 1 |
# |
| 2 |
# FVWM-Crystal - main initialization file |
| 3 |
# |
| 4 |
|
| 5 |
# By default, FVWM ignore the caps lock. |
| 6 |
# Must be first. L: caps lock; 2: num-lock; 5: scroll-lock |
| 7 |
# IgnoreModifiers L2 |
| 8 |
|
| 9 |
# Hello World |
| 10 |
Echo /--------- Welcome to Fvwm-Crystal ---------/ |
| 11 |
|
| 12 |
# Where is the user-wide configuration |
| 13 |
SetEnv FVWM_USERDIR $[HOME]/.fvwm-crystal |
| 14 |
|
| 15 |
# Where is the system-wide configuration |
| 16 |
SetEnv FVWM_CONFIGDIR /etc/X11/fvwm/fvwm-crystal |
| 17 |
|
| 18 |
# Where are the system-wide files |
| 19 |
SetEnv FVWM_SYSTEMDIR $. |
| 20 |
|
| 21 |
# Where the distribution specific menu is located |
| 22 |
SetEnv FVWM_DISTROMENUDIR /var/lib/fvwm-crystal |
| 23 |
|
| 24 |
# Name of the distribution menu |
| 25 |
SetEnv FVWM_DISTROMENUNAME debian |
| 26 |
|
| 27 |
# Where are the locales |
| 28 |
LocalePath $[FVWM_USERDIR]/locale;fvwm-crystal:$[FVWM_SYSTEMDIR]/locale;fvwm-crystal:+ |
| 29 |
|
| 30 |
# Load the standard functions (Include function doesn't work yet) |
| 31 |
Read $[FVWM_SYSTEMDIR]/components/Standard |
| 32 |
|
| 33 |
# Look if there is a recipe selected. If not, select the default |
| 34 |
CheckPreferences LastChoosenRecipe "SavePreferences LastChoosenRecipe 'Include recipes/Default'" |
| 35 |
|
| 36 |
# Convert preferences from older releases |
| 37 |
PipeRead "$[FVWM_SYSTEMDIR]/scripts/convert_preferences" |
| 38 |
|
| 39 |
# Load last used recipe |
| 40 |
LoadPreferences LastChoosenRecipe |
| 41 |
# Load stuffs common to all the recipes |
| 42 |
Include components/functions/LoadCommonStuffs |
| 43 |
# Load the recipe |
| 44 |
Read "$[infostore.Fvwm_Crystal_Recipe]" |
| 45 |
|
| 46 |
# Load user configuration file, if it's present |
| 47 |
Include userconfig |
| 48 |
|
| 49 |
# Debug line - uncomment to see it in the ~/.xsession-errors |
| 50 |
#Echo -----8<----- Initialization finished -----8<----- |
| 51 |
|
| 52 |
# vim:foldmethod=marker:foldenable:foldlevel=0:filetype=fvwm |
| 53 |
|