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