From owner-freebsd-gnome@FreeBSD.ORG Sun Jun 5 05:04:42 2005 Return-Path: X-Original-To: freebsd-gnome@freebsd.org Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B444516A41C for ; Sun, 5 Jun 2005 05:04:42 +0000 (GMT) (envelope-from oberman@es.net) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E3D643D49 for ; Sun, 5 Jun 2005 05:04:42 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id IBA74465; Sat, 04 Jun 2005 22:04:41 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id CE5465D07; Sat, 4 Jun 2005 22:04:40 -0700 (PDT) To: "P.U.Kruppa" In-reply-to: Your message of "Sun, 05 Jun 2005 05:49:29 +0200." <20050605054105.N10786@www.pukruppa.net> Date: Sat, 04 Jun 2005 22:04:40 -0700 From: "Kevin Oberman" Message-Id: <20050605050440.CE5465D07@ptavv.es.net> Cc: freebsd-gnome@freebsd.org Subject: Re: gnome-2.10 menu's X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2005 05:04:42 -0000 > Date: Sun, 5 Jun 2005 05:49:29 +0200 (CEST) > From: "P.U.Kruppa" > Sender: owner-freebsd-gnome@freebsd.org > > On Sun, 5 Jun 2005, Jayton Garnett wrote: > > > This might have been covered before but since im new to this list... > > I've been looking around and found no help on editing the menu's on > > gnome-2.10. On the freebsd.org/gnome site it says edit the .desktop > > files, but i cant find them. does anyone know where they are or how to > > edit them? > > You can find them by > # locate .desktop > Most of them are placed in > /usr/X11R6/share/gnome/applications/ > If you are running linux apps you will find some more > ../applications/ directories. > You can create/edit them with your favourite editor. > > The idea is, that every application should come with it's own > ready made .desktop files and that users should keep their > fingers off menu configurations. Probably this is a very bad > idea. /usr/X11R6/share/gnome/applications/ is the locations for system-wide .desktop files. Per-user files may be placed in $HOME/.local/share/applications/ You can also add entries to the applications menu by putting them in: /usr/X11R6/etc/xdg/menus/ (system-wide) $HOME/.config/menus/ For details, see the freedesktop specs XDG Base Directory Specification at http://standards.freedesktop.org/basedir-spec/latest/, Desktop Menu Specification at http://standards.freedesktop.org/menu-spec/latest/, and Desktop Entry Specification at http://standards.freedesktop.org/desktop-entry-spec/latest/. I have edited the system-wide applications.menu to add a new item to the Applications menu and have added both per-user and system-wide .desktop files, but I have yet to try per-user menu file, -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634