From owner-freebsd-gnome@FreeBSD.ORG Wed Jul 12 23:10:36 2006 Return-Path: X-Original-To: freebsd-gnome@freebsd.org Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A805F16A4DA for ; Wed, 12 Jul 2006 23:10:36 +0000 (UTC) (envelope-from john_m_cooper@yahoo.com) Received: from smtp103.biz.mail.mud.yahoo.com (smtp103.biz.mail.mud.yahoo.com [68.142.200.238]) by mx1.FreeBSD.org (Postfix) with SMTP id 2C73543D49 for ; Wed, 12 Jul 2006 23:10:36 +0000 (GMT) (envelope-from john_m_cooper@yahoo.com) Received: (qmail 37492 invoked from network); 12 Jul 2006 23:10:35 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=kbI6EmH+wiU6HjCrvpeULYhnwv7mwNn2CR48Jkyjbmnvg9Fp8Vcxw7Mn+3zuaKP4iuKQwAp5Q4ig+VHqbdQoJpzewf8NyMXSgOxOiq1gLSjNy26lHL8L1vrJMe0J5r0ZpLwOd+yFpUR0V3Fk/DXDmiccFX30uoMepfKlwnRzr6k= ; Received: from unknown (HELO borgdemon2.clspco.adelphia.net) (j.m.cooper@borgsdemons.com@67.22.17.55 with login) by smtp103.biz.mail.mud.yahoo.com with SMTP; 12 Jul 2006 23:10:35 -0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by borgdemon2.clspco.adelphia.net (Postfix) with ESMTP id 897085C46; Wed, 12 Jul 2006 18:10:32 -0500 (CDT) Message-ID: <44B58166.5030501@yahoo.com> Date: Wed, 12 Jul 2006 18:10:30 -0500 From: John Merryweather Cooper User-Agent: Thunderbird 1.5.0.4 (X11/20060617) MIME-Version: 1.0 To: gtsy@mail.ru References: <1152706426.50820.5.camel@savs.home> <1152739596.2354.34.camel@LatitudeFC5.network> <1152743802.3136.13.camel@savs.home> In-Reply-To: <1152743802.3136.13.camel@savs.home> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: quoted-printable Cc: freebsd-gnome@freebsd.org Subject: Re: Slow things X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2006 23:10:36 -0000 Stroganov A. V. wrote: > Greetings > Andrew, THANKS! Now my Gnome works faster. These symptoms are cured =3D= ). > 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-cach= e > in every folder that has index.theme: > #!/usr/local/bin/python > import os > f=3Dopen("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 hom= e > user with a couple of little FreeBSD servers =3D). > > Thank you for your help! > > P.S.:I've sent a copy of this to maillist. > > > =F7 =D3=D2, 12/07/2006 =D7 16:26 -0500, Andrew =D0=C9=DB=C5=D4: > =20 >> On Wed, 2006-07-12 at 16:13 +0400, Stroganov A. V. wrote: >> =20 >>> 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.o= rg" >>> =20 >> 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". Plea= se >> don't quote me on this, but it may at least get you started in the rig= ht >> direction. Search the mail archives and let me know if you don't come = up >> with anything... >> >> -Andrew >> >> =20 > > _______________________________________________ > 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= " > > =20 The python script can be deleted and the whole thing can be done with fin= d: $ sudo find /usr -name "index.theme" -execdir gtk-update-icon-cache -f . = \; jmc