On 04/19/2010 09:17 AM, Will Stephenson wrote:
On Saturday 17 April 2010 20:45:32 David C. Rankin wrote:
Yast2 Gurus,
There appears to be a problem with suseconfig.gtk2 that results in an invalid icon cache being created. From /var/log/YaST2/suseconfig.log:
Executing /sbin/conf.d/SuSEconfig.gtk2... /sbin/conf.d/SuSEconfig.gtk2: line 67: test: /usr/share/icons/Azenis: binary operator expected /sbin/conf.d/SuSEconfig.gtk2: line 67: test: /usr/share/icons/Azenis: binary operator expected gtk-update-icon-cache: The generated cache was invalid. /sbin/conf.d/SuSEconfig.gtk2: line 67: test: too many arguments gtk-update-icon-cache: The generated cache was invalid. gtk-update-icon-cache: The generated cache was invalid. /sbin/conf.d/SuSEconfig.gtk2: line 67: test: /usr/share/icons/Royal: binary operator expected Finished.
What's going on here? It looks like there is a bug with the number of operators being passed when suseconfig.gtk2 is run. What does the invalid cache mean to me? Is there a fix? Any help will be greatly appreciated.
It looks like SuSEconfig.gtk2 does not expect there to be a space in the name of the icon theme. What are the full paths of /usr/share/icons/Royal* and /usr/share/icons/Azenis* ? Do they contain spaces?
According to the Icon Theme spec, icon theme's internal names are the name of the /usr/share/icons subdirectory, and they may not contain spaces:
http://standards.freedesktop.org/icon-theme-spec/latest/ar01s03.html
But SuSEconfig.gtk2 should be more robust, therefore this is a bug.
Will
Man, 2 in a row! Too bad those guys that package all the really neat icons never read the desktop specs. (OT, but just FYI If you haven't, downloaded the iceglass icon package from kde-look or the BlueNight icon packages from lagadesk.deviantart.com/gallery they are both excellent dark glass icon themes. (BlueNight is primarily a gnome package, but iceglass is so complete, it works in just about every desktop I have tried) -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org