Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2006 15:16:48 -1000
From:      Stephen Bartlett <stephen@bartlettsoftware.biz>
To:        Michael Tran <dublue@gmail.com>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: gnome 2.14 performance degradation (slow app startup)
Message-ID:  <20060518011648.GB3326@tux.localdomain.local>
In-Reply-To: <4011f09c0605171642m23e4cfc1ke33807e291b8467f@mail.gmail.com>
References:  <20060516204653.GA16678@tux.localdomain.local> <4011f09c0605171642m23e4cfc1ke33807e291b8467f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--U+BazGySraz5kW0T
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Thus spake Michael Tran on Thu, May 18, 2006 at 09:42:52AM +1000:
> >
> >create a script whose lines have the form:
> >
>=20
> Hi, do you have an example script that you are able to send to me?
> I'm not so great on my advanced scripting!
>=20
> Thanks,
> Michael

Well, I did it by hand before, but I just came up with the equivalent
again:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
#!/bin/sh

locate index.theme | grep -v disabled | grep -v index.theme.in | \
  sed -e "s/^\(.*\)index.theme$/gtk-update-icon-cache --force \1/"
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=20

That spits out the content of a script that will do the work.  Save the
output in a file, use 'chmod +x <file>', and run it.

- Stephen
--=20
Stephen Bartlett
President, Bartlett Software, Inc.
http://www.bartlettsoftware.biz/

--U+BazGySraz5kW0T
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEa8sAR7d3GIt7UjgRAgkHAJ9nG821g2SVDSUCgbB42dP7oW7o8ACdEv3/
rk5g06aVdQkb9mWmZHDXbWY=
=XIVj
-----END PGP SIGNATURE-----

--U+BazGySraz5kW0T--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060518011648.GB3326>