You can really speed up GNOME 2.4's help if you do this (as root):
`yelp-pregenerate -a`
I'd noticed of late that hitting (accidentally or otherwise) F1 while
using a GNOME desktop resulted in a really long wait for whichever help
page to come up.
I did a bit of digging, wondering why it was taking so long; it would
seem that it runs the XSLT transform on the source .xml help documents
(in /usr/share/gnome/help/*/[LOCALE]/*.xml).
While I expected a wait while the page was compiled the first time,
subsequent uses don't speed up at all; it keeps regenerating them
(unlike modern man implementations which cache the pages once generated
the first time).
By accident, I came across `yelp-pregenerate`. It takes a .xml argument,
and generates the appropriate .html file which is what YELP actually
displays.
yelp-pregenerate has a "-a" argument which runs the processor over all
your gnome documents; it didn't take too long, and now help loads WAY
faster. So, I recommend
Yelp does the right thing (tm) if a newer .xml file is installed.
I suppose that it would make sense for the system to be able to *save*
the results of generating the .html file in the first place, man style;
that would presumably involve a similar solution. I'll file a bug with
GNOME bugzilla about it.
Enjoy ;)
AfC
--
Andrew Frederick Cowie
Operational Dynamics Consulting Pty Ltd
Australia +61 2 9977 6866 North America +1 212 518 6656
http://www.operationaldynamics.com/
--
[EMAIL PROTECTED] mailing list