Date: Thu, 13 Jul 2006 10:21:51 +0400 From: "Stroganov A. V." <gtsy@mail.ru> To: freebsd-gnome@freebsd.org Subject: Re: Slow things Message-ID: <1152771711.678.1.camel@savs.home> In-Reply-To: <44B58166.5030501@yahoo.com> References: <1152706426.50820.5.camel@savs.home> <1152739596.2354.34.camel@LatitudeFC5.network> <1152743802.3136.13.camel@savs.home> <44B58166.5030501@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, i was just hoping that someone will show me the right way. =) В ср, 12/07/2006 в 18:10 -0500, John Merryweather Cooper пишет: > Stroganov A. V. wrote: > > Greetings > > Andrew, THANKS! Now my Gnome works faster. These symptoms are cured =). > > Applications are faster too. > > So... > > i've searched google for "update your icon cache Gnome" and found this: > > http://developer.gnome.org/doc/API/2.0/gtk/gtk-update-icon-cache.html > > > > so, then i did: > > #find /usr -name "index.theme" -print > lst > > > > then i wrote a little python script which executed gtk-update-icon-cache > > in every folder that has index.theme: > > #!/usr/local/bin/python > > import os > > f=open("lst","r"); > > for s in f.readlines(): > > print s[:-13] > > os.system("gtk-update-icon-cache -f "+s[:-13]) > > f.close() > > > > Of course, there is an easier way without python script, but i don't > > feel very comfortable with regexps, sed and so on. I'm just FreeBSD home > > user with a couple of little FreeBSD servers =). > > > > Thank you for your help! > > > > P.S.:I've sent a copy of this to maillist. > > > > > > В ср, 12/07/2006 в 16:26 -0500, Andrew пишет: > > > >> On Wed, 2006-07-12 at 16:13 +0400, Stroganov A. V. wrote: > >> > >>> Greetings! > >>> > >>> I'm using gnome 2.14.2 . Various actions (opening Gnome menu, draggin > >>> link in firefox or openning download dialog) in Gnome are causing 100% > >>> CPU usage (FreeBSD 6.1 for amd64) for a few seconds. Is it fixable? I > >>> didn't have such problems on 2.12. > >>> > >>> Thank you! > >>> > >>> _______________________________________________ > >>> freebsd-gnome@freebsd.org mailing list > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > >>> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" > >>> > >> Hello, > >> > >> I believe I remember reading a similar post around the time that 2.14 > >> was released. IIRC, the solution was to "update your icon cache". Please > >> don't quote me on this, but it may at least get you started in the right > >> direction. Search the mail archives and let me know if you don't come up > >> with anything... > >> > >> -Andrew > >> > >> > > > > _______________________________________________ > > freebsd-gnome@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" > > > > > The python script can be deleted and the whole thing can be done with find: > > $ sudo find /usr -name "index.theme" -execdir gtk-update-icon-cache -f . \; > > jmc >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1152771711.678.1.camel>