Use XPM files instead of PNG to prevent loading large icons.
--- a/.fvwm/config Thu Aug 30 15:39:49 2012 +0300
+++ b/.fvwm/config Thu Aug 30 15:40:51 2012 +0300
@@ -54,8 +54,8 @@
ImagePath +:/usr/share/icons/locolor/32x32/apps
ImagePath +:/usr/share/icons/hicolor/32x32/apps
# This paths contain large icons for some apps, they make menus look ugly...
-# ImagePath +:/usr/share/app-install/icons/
-# ImagePath +:/usr/share/pixmaps
+ImagePath +:/usr/share/app-install/icons/
+ImagePath +:/usr/share/pixmaps
################################################################
# Set aliases to common values.
--- a/.fvwm/xdg2fvwm.py Thu Aug 30 15:39:49 2012 +0300
+++ b/.fvwm/xdg2fvwm.py Thu Aug 30 15:40:51 2012 +0300
@@ -37,7 +37,7 @@
print u'AddToMenu "%s" "%s" Exec exec %s' % (name, desktop.getName(), cmd)
else:
if icon.rfind('/') == -1 and icon.rfind('.') == -1:
- icon = icon + ".png"
+ icon = icon + ".xpm"
print u'AddToMenu "%s" "%s%%%s%%" Exec exec %s' % (name, desktop.getName(), icon, cmd)
else:
pass