Desktop Menu Specification

Hi everyone,

Does gnome2.6 support the Desktop Menu Specification?


I'm trying to add a new menu to the gnome foot.. I want to be able to
distribute a package that adds this menu.

I've added a menu under Fedora Core 2 and all works fine. but it seems
that slackware and debian sid do not work the same way.

According to the spec the files should be placed in:
$XDG_CONFIG_DIRS/menus/applications-merged/ for .menu files
$XDG_DATA_DIRS/applications/ for the .desktop files 
$XDG_DATA_DIRS/desktop-directories/ for the .directory files..

According to the XDG Base Directory Specification


These directories are by default:

$XDG_CONFIG_DIRS: /etc/xdg $XDG_DATA_DIRS: /usr/local/share:/usr/share

so these are the 'default' paths:

/etc/xdg/menus/applications-merged/ for .menu files
/usr/local/share/applications/ and
/usr/share/applications/ for the .desktop files
/usr/local/share/desktop-directories/ and
/usr/share/desktop-directories/ for the .directory files

This works under Fedora .. I'll include the contents of the files I've

<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 0.8//EN"







[Desktop Entry]
Comment=Test menu

As I said.. this gives me a copy of the Office menu called 'Test' under
fedora. But others testing it under slackware and debian have not been
able to get it to work. Does anyone know what's going on? Under debian
and slackware the following directories don't exist:


And the following directory only contains kde stuff




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]