On 11/11/12 10:48, Robert Norris wrote:
>
> Interesting, as I've only just been looking at some of this today.
>
> Viking's help should be installed in /usr/share/gnome/help/viking/C/viking.xml
> (possibly /usr/local/share/gnome/help/viking/C/viking.xml if installed from 
> the source)
>

Thanks for looking into this Robert.

Help is installed in both /usr and /usr/local (as above). The /usr 
version because of the package installation.

> I'm not quite sure of how the installation for the help is actually 
> controlled.
>
> My Ubuntu 12.10 system works fine in opening the help. IIRC 12.04 seemed to 
> work OK too.
>
> Which version of Ubuntu are you using? Older Ubuntu versions used even older 
> versions Viking which have various shortcomings.
>

Kubuntu 12.10.

> Some other things you can try:
>
> See if the main help text is anywhere on your system(s) try on the command 
> line:
>
> locate viking.xml
>
> The help is invoked is via this C call gtk_show_uri ('ghelp:viking')
>
> I suspect the Kubuntu doesn't support the 'ghelp' mechanism without yelp 
> and/or other stuff installed.
>
>
>
> Try on the command line:
>
> yelp ghelp:viking
>

This works both for /usr and /usr/local help files. I had to install 
yelp first, I also installed yelp-tools just in case.

> I note we don't check the return value of gtk_show_uri, nor the error code it 
> returns. So ATM it will fail silently.
>
> I will fix this. NB There is also a small chance it doesn't use 
> gtk_show_uri(), but it fails silently there too.
>

I added your modified code and this is the result:

"help is not available because: the specified location is not supported"

The directory structure and location is identical under both Linux 
installations. The only difference is Kubuntu doesn't display the help file.

Does this help? I can carry out more testing if you like.

-- 
Regards,
Phil

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/

Reply via email to