Thumbnail not working with X11R7 -- (SOLVED)

I recently installed Gentoo 2006 with Modular X11R7, everything
works perfectly fine with Gnome desktop. After installing FVWM and
associated files I then put a copy of my .fvwm folder from a working
setup in my home directory and now the thumbnail icons show up
on minimize however the screenshot is missing. I have this working
on another hard driver with Gentoo 2005 Xorg 6.8 and it works. Can
somone tell me if Modular X11R7 has anything to do with this problem.

My config is here

AddToFunc StartFunction

  • I module FvwmEvent
  • I test (Restart) all (iconic)\ test (f /dev/shm/icon.tmp.$[].png)\ windowstyle iconoverride, icon /dev/shm/icon.tmp.$[].png

AddToFunc ExitFunction

  • I test (!torestart) exec exec rm -f /dev/shm/icon.tmp.*


DestroyModuleConfig FvwmEvent: *
*FvwmEvent: deiconify DeThumbnail

Thumbnails function

SetEnv fvwm_icon_size 150
DestroyFunc Thumbnail
AddToFunc Thumbnail

  • I Raise
  • I Exec exec aplay -d esd $[fvwm_wave_path]/Question.wav
  • I SetEnv Icon-$[] $[w.IconFile]
  • I ThisWindow (!Shaded, Iconifiable, !Iconic) PipeRead
    “xwd -silent -id $[] | convert -scale $[fvwm_icon_size] -quality 0
    xwd:- png:/dev/shm/icon.tmp.$[].png;
    composite -geometry +5+5 $[w.IconFile]
    /dev/shm/icon.tmp.$[].png /dev/shm/icon.tmp.$[].png;
    echo WindowStyle IconOverride, Icon /dev/shm/icon.tmp.$[].png”
  • I Iconify

DestroyFunc DeThumbnail
AddToFunc DeThumbnail

  • I Exec exec aplay -d esd $[fvwm_wave_path]/Popup.wav
  • I PipeRead “echo WindowStyle IconOverride, Icon \$\[Icon-$[]\]”
  • I UnsetEnv Icon-$[]
  • I Exec exec “rm -f /dev/shm/icon.tmp.$[].png”

I keep thinking there is something that modular X11R7 doesn’t
install as compared to X116.8

Make sure you emerge programs like xwd etc
You can look for not found error messages on the console.

Thanks frogb
Modular X11R7 did not emerge xwd. I have emerged it now and thumbnail works.