Ubuntu Packaging: Automatically adding menu while installing a package

Asked by Harshad on 2011-10-27

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:
2011-10-27
Last reply:
2011-10-27

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

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.

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)

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.