[Gambas-user] Newbies Package Creation Problem
Alberto Torres
dithi at ...600...
Fri Sep 3 18:45:36 CEST 2004
With this you can get a hint about how menu works in debian:
dithi at ...612...:~$ cat /usr/lib/menu/kpaint
?package(kpaint):\
needs="X11"\
section="Apps/Graphics"\
hints="KDE"\
title="kpaint"\
command="/usr/bin/kpaint"
dithi at ...612...:~$ cat /usr/lib/menu/koules
?package(koules): \
needs=X11 \
section="Games/Arcade" \
title="XKoules" \
icon="/usr/X11R6/include/X11/pixmaps/koules-icon.xpm" \
longtitle="Space action game for X11" \
description="XKoules is a somewhat abstract space action game for X11
with sound. \
Supports multiplayer deathmatch and cooperative play." \
command="/usr/games/xkoules"
From update-menus manpage: "update-menus will be ran automatically when
Debian packages that contain menu files are installed or removed from
the system."
Regards, DiThi
Benoit Minisini escribió:
>On Friday 03 September 2004 14:56, Technoferret wrote:
>
>
>>On Fri, 2004-09-03 at 12:10, Benoit Minisini wrote:
>>
>>
>>>Can you tell me, on a Debian, where I should put these files: the menu
>>>file and the icons files ?
>>>
>>>Then I will send you a updated Package.module file so that you can
>>>continue testing :-)
>>>
>>>
>>I am no expert on Debian, just a user of Xandros,
>>
>>
>
>I have never used a Debian at all, so I think I'm in a worst case than you :-)
>
>
>
>>but the root of the
>>menu tree on my system (and also on a Linspire system - also debian) is
>>/usr/share/applnk/ - so its probably a good starting point.
>>
>>
>
>The problem is that this is the KDE menu. Do you have something
>like /usr/share/menu, that included files whose name is just the application
>name, without ".desktop" after.
>
>
>
>>Icon files are probably best put in /usr/share/pixmaps/ that way they
>>are theme independent.
>>
>>
>
>OK.
>
>
>
>>Dave
>>
>>
>
>
>
More information about the User
mailing list