Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2001 16:58:09 +0200
From:      Rahul Siddharthan <rsidd@physics.iisc.ernet.in>
To:        Nik Clayton <nik@FreeBSD.ORG>
Cc:        doc@FreeBSD.ORG
Subject:   Re: Integrating the docs with KDE and GNOME
Message-ID:  <20010829165809.A7094@lpt.ens.fr>
In-Reply-To: <20010829123022.R46201@clan.nothing-going-on.org>; from nik@FreeBSD.ORG on Wed, Aug 29, 2001 at 12:30:22PM %2B0100
References:  <20010829123022.R46201@clan.nothing-going-on.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Nik Clayton said on Aug 29, 2001 at 12:30:22:
> In theory, the format of the *.desktop files is identical between KDE
> and GNOME, so, modulo a couple of path changes, this should work for
> GNOME as well.  I don't run GNOME locally, so patches would be
> appreciated.

I haven't figured out the format of the makefiles etc so it's better
if you do this, I think, but here's the information:
There seems to be no "standard location" for these .desktop entries in
the GNOME help system.  The main GNOME help page is launched by
clicking on the help icon (which is a .desktop file), but the further 
links are not (as far as I can see) .desktop files.

So the best bet seems to me to be: put this stuff in the file
/usr/X11R6/share/gnome/apps/handbook.desktop  
  (using the default of the FreeBSD GNOME port)
and the file should contain (slightly different format from KDE)

---------------------
[Desktop Entry]
Icon=gnome-help.png
Name=FreeBSD Handbook
Terminal=0
Exec=gnome-help-browser /usr/share/doc/en_US.ISO8859-1/books/handbook/index.html
---------------------

This will create an entry in the main -> Programs menu for the FreeBSD
handbook, with the same icon as the GNOME help system.  This works for
me.  I'm not sure how to extend this to entries for other languages.

Rather than have this in the doc makefile, would it be a better idea
to get it inserted into the KDE and GNOME ports?  That way, if the
port maintainers decide to shuffle the default installation areas
around, it's up to them to keep track; and not everyone runs KDE or
GNOME either.

- Rahul

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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