# HG changeset patch # User Oleksandr Gavenko # Date 1346330451 -10800 # Node ID 89812bfac67c04c8870bbf251fd964991a8105a7 # Parent 3411824f28b74f31471e30dbaec3d07d3ba9f8a6 Use XPM files instead of PNG to prevent loading large icons. diff -r 3411824f28b7 -r 89812bfac67c .fvwm/config --- 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. diff -r 3411824f28b7 -r 89812bfac67c .fvwm/xdg2fvwm.py --- 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