fvwmbuttons problem

Hi,

When I start fvwm, in the StartFunction, my fvwmbuttons, eg IconMultimediaButtons, toppagerbarbutton, … are not always loaded during this startup. I am missing some of them. I have to restart the fvwm and then they appear. Is there a way to guarantee they are always there ?

I am not soo good in fvwm but the config is getting nicer & nicer after time:
thsi is my present config and the top bars are the one I am talking about:
patrick295767.sitesled.com/fvwm/ … apshot.png

(the code belwo)

Thank you very much for your experience in Fvwm !!

Patrick

[code]###############################
############## startup
###############################
AddToFunc StartFunction

  • I Module FvwmEvent

  • I Test (Init) Exec exec fvwm-root --dither --retain-pixmap $[fvwm_wallpaper]

  • I Module FvwmCommandS

  • I Module FvwmProxy

  • I Exec exec fbsetbg ~/.wallpaper

  • I Module FvwmBacker

  • I Exec exec killall -e kicker
    #+ I Read $./decors/default.decor
    #+ I Module FvwmButtons taskbar-left

  • I Module FvwmButtons IconButtonspatrick

  • I Module FvwmButtons -g 185x21-0-0 pagerbar2

  • I Module FvwmScript $[fvwm_home]/scripts/Weather5day

  • I Module FvwmButtons -g 150x21+548+0 toppagerbarbutton

  • I Module FvwmButtons -g 200x21+212+0 IconMultimediaButtons

  • I Module FvwmButtons -g 150x21+700+0 Timebar2

  • I Module FvwmButtons IconButtonspatrick

the xcalendar nfo bar

#+ I Module FvwmButtons IconInformationsBarButtons

  • I Module FvwmButtons -g 18x42+0±28 DeskControl
  • I Test (Init) Exec exec root-tail -g 800x100+25+10 -noinitial -wordwrap -font cure -reverse -color white /var/log/messages
    #+ I Test (Init) Exec exec xterm -class HiddenConsole -g +0+0
  • I Test (Restart) All (Iconic) Test (f $[FVWM_USERDIR]/icon.tmp.$[w.id].png) WindowStyle IconOverride, Icon $[FVWM_USERDIR]/icon.tmp.$[w.id].png
  • I Exec exec fbsetbg ~/.wallpaper
  • I Exec exec kmix
  • I Exec exec ~/.fvwm/startup
  • I Exec exec xcompmgr &
    ##+ I exec exec Esetroot -scale $[fvwm_wallpaper_dir]/.current
    Read $[fvwm_home]/decors/default.decor
    [/code]

I was just wondering what’s the deal here setting 4 wallpapers?

I can’t help but ask (since Thomas is going to ask in any case :wink: ):
is the variable “fvwm_home” by any chance pointing to ~/.fvwm ?
If so, you could just drop the variable definition and use FVWM_USERDIR instead.

Have you tried defining the geometries in the button definition instead of the button invocation? I guess you’d do good if you didn’t leave empty lines in the StartFunction. Although I’m not sure if that’s mandatory, but it looks nicer.

I wonder what does this file contain?

Oh. Sorry, I didn’t answer your question. :wink:

Hi,

Indeed, I didnt see my wallpaper because I just made it from scratch & used copy-paste from my older config. Let’s clean it. thanks

Yeah, the $[fvwm_home] pointed to .fvwm folder.
I’ll use your USERDIR … thx

Concerning the geometries, I’ll try defining the geometries in the button definition instead of the button invocation.
Let’s try this !

Thank you very much for your fast & accurate reply !

(ah, startup contains : gaim & skype & nothg else, and sometimes xsnow during winter :slight_smile: sh -c ~/.fvwm/startup would maybe have been nicer )

Hi,

I removed the defining the geometries in the startup eg -g 185x21-0-0, and placed them into the button definition instead of the button invocation.
It’s working better now & they are always there now.
I didnt know it was better.

Thank you for sharing your experience !!

(solved)

(The config in progress: patrick295767.sitesled.com/fvwm/ … apshot.png)

You need to have read this:

viewtopic.php?t=1505

To understand just why $[fvwm_home] is a waste of time and space. If I ever meet the person who first started it, I’m taking FVWM away from them, and handing out KDE as a punishment. :stuck_out_tongue:

– Thomas Adam

I think Tavis’ superpopular first config contained something like that :wink: