From owner-freebsd-doc Wed Aug 29 7:58:17 2001 Delivered-To: freebsd-doc@freebsd.org Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by hub.freebsd.org (Postfix) with ESMTP id B6C3B37B408; Wed, 29 Aug 2001 07:58:11 -0700 (PDT) (envelope-from Rahul.Siddharthan@lpt.ens.fr) Received: from corto.lpt.ens.fr (corto.lpt.ens.fr [129.199.122.2]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id f7TEw9m86417 ; Wed, 29 Aug 2001 16:58:09 +0200 (CEST) Received: from (rsidd@localhost) by corto.lpt.ens.fr (8.9.3/jtpda-5.3.1) id QAA07321 ; Wed, 29 Aug 2001 16:58:09 +0200 (CEST) Date: Wed, 29 Aug 2001 16:58:09 +0200 From: Rahul Siddharthan To: Nik Clayton Cc: doc@FreeBSD.ORG Subject: Re: Integrating the docs with KDE and GNOME Message-ID: <20010829165809.A7094@lpt.ens.fr> References: <20010829123022.R46201@clan.nothing-going-on.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010829123022.R46201@clan.nothing-going-on.org>; from nik@FreeBSD.ORG on Wed, Aug 29, 2001 at 12:30:22PM +0100 X-Operating-System: FreeBSD 3.4-STABLE i386 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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