1 #-----------------------------------------------------------------------------#
3 # 5. Stuff to do at start-up and on restart
5 #-----------------------------------------------------------------------------#
7 # The StartFunction is used at start and restart with or without a Session
8 # Manager. The above file .start-* defines this function. If
9 # we want Gtk menus and dialog (defined in the modules section) we start
12 AddToFunc StartFunction
16 # The InitFunction is used at FVWM start
18 AddToFunc InitFunction
19 # Load the X Setup Scripts setting if we use it
20 + I Exec [ -f $HOME/.xinitrc-fvwm ] && sh $HOME/.xinitrc-fvwm
21 #+ I Exec exec xsetroot -solid \#7F4B7F
23 # The restart function:
25 AddToFunc RestartFunction
26 #+ I Module FvwmButtons MyButtons
29 # When used with a session manager FVWM uses SessionInitFunction and
30 # SessionRestartFunction in the place of InitFunction and RestartFunction
33 AddToFunc SessionInitFunction
34 # Do not Load the X Setup Scripts setting, some Session Managers have its own
35 # method (e.g., GNOME)
36 #+ I Exec [ -f $HOME/.xinitrc-fvwm ] && sh $HOME/.xinitrc-fvwm
37 #+ I Module FvwmButtons MyButtons
39 AddToFunc SessionRestartFunction
40 #+ I Module FvwmButtons MyButtons