/usr/share/doc/menu/examples/gnome-panel is in menu 2.1.46.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | #!/usr/bin/install-menu
compat="menu-1"
!include menu.h
compat="menu-2"
function findicon($filename)=
ifelsefile($filename, $filename,
iffile("/usr/X11R6/include/X11/pixmaps/" $filename,
"/usr/X11R6/include/X11/pixmaps/" $filename));
function AppEntry($var)=
"[Desktop Entry]\n"
"Name=" title() "\n"
"Comment=" ifelse($longtitle,$longtitle,$title) "\n"
"Exec=" $command "\n"
$var
ifnempty($icon,"Icon=" findicon($icon) "\n")
"Type=Application\n" ;
function SubmenuEntry()=
"[Desktop Entry]\n"
"Name=" $title "\n"
"Icon=gnome-folder.png\n"
"Type=Directory\n";
supported;
x11= AppEntry("Terminal=false\n");
text= AppEntry("Terminal=true\n");
endsupported;
genmenu=parent($section) "/" $title ifeqelse($needs, "", "/.directory", ".desktop") "";
startmenu="";
endmenu="";
rootsection="";
rootprefix="/var/lib/gnome/Debian/";
userprefix=".gnome/Debian";
treewalk="M";
#submenutitle="SUBMENUTITLE section=[" $section "] title=[" $title "]";
submenutitle=SubmenuEntry();
prerun="rm -rf " prefix() "/*";
preoutput="";
|