I have manually installed a software to /opt and I wanted to add it to the Applications menu.
Although Ubuntu makes it dead easy to add it to my user's menu, how do I add it system wide, so that all users will see the application in their menu?
|
I have manually installed a software to Although Ubuntu makes it dead easy to add it to my user's menu, how do I add it system wide, so that all users will see the application in their menu? |
||||
|
|
|
You can create the proper .desktop file and place it in /usr/share/applications which is the global place for applications. It would like something like this:
Name will show the name that will appear in the menu, and Category will place it in a certain category in the menu. Exec is the command line option to start the program. You can open the other .desktop files in /usr/share/applications with a text editor to get an idea. Hope that help! For more info: http://library.gnome.org/devel/integration-guide/stable/desktop-files.html.en |
|||||||||||||||||
|
|
To add an entry of a program installed manually system wide you need to create a .desktop file in Desktop files have the following syntax:
Edit the file to your needs and save it as root as |
|||
|
|