Ubuntu Packaging: Automatically adding menu while installing a package

Asked by Harshad

I couldn't find any information on adding menus automatically while installing a package. I am trying to create an Ubuntu .deb installer for project r3 (http://launchpad.net/r3). I added the menu file to ./usr/share/menu in the data.tar.gz of the deb package. But still, the menu doesn't come up.

You can download the deb package and source at
https://launchpad.net/r3/+download

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-shell Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
MFauzilkamil Zainuddin (apogee) said :
#1

have you tried adding r3.desktop to your installer?

have a look at this thread if it works
http://ubuntuforums.org/showthread.php?t=1279620

Revision history for this message
Harshad (harshad-sahasrabudhe) said :
#2

Hi,

Thanks for the reply.

Yeah, I have done the same thing. Created a desktop file, put it in ./usr/share/applications in the deb installer. Additionally, I included the menu file too. The menu doesn't show up after installation. I tested it on 10.04.

Revision history for this message
Harshad (harshad-sahasrabudhe) said :
#3

Does the package name (in my case r3) need to be the same as desktop file name? (i'm using R3.desktop)

Revision history for this message
MFauzilkamil Zainuddin (apogee) said :
#4

You may try it.

have a look as this solved thread if it helps
http://ubuntuforums.org/showthread.php?t=968399

Can you help with this problem?

Provide an answer of your own, or ask Harshad for more information if necessary.

To post a message you must log in.