Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to install a software (Modelio 3). I have a folder with an executable and I can launch the app with that exe .

But what I want to know is if I there is a folder like "Application" on Mac where I should paste the Modelio folder... and so the program will appear in the Application Menu.

share|improve this question
    
What is your end objective? To have the program appear in the menu? To have it in your PATH so you can run it from the command line? Both? –  terdon Mar 19 at 14:15
    
I'm discovering Ubuntu (To be precise Voyager : link) and I want to know how to make a "clean" install. I meant that the softwares I downloaded works great when I execute them from the Download repertory, but I guess there is a better repertory to place these softwares. I read that the best directory for software I have (Modelio and Sublime Text 2) was /opt. And thanks to the answer of @byaruhaf I managed to add the shortcuts in the menu! –  user3347966 Mar 20 at 16:45
    
Please edit your question to add extra info, it is hard to read and easy to miss in the comments. In any case, there is no "best" directory, executables are usually placed in /usr/bin but not the files they need. There is no need to do anything except, for convenience, you can add the location of this program to your $PATH. –  terdon Mar 20 at 16:52

2 Answers 2

up vote 1 down vote accepted

Using gnome-desktop-item-edit

For this you need gnome-tweak-tool or gnome-shell installed

Use ALT+F2 and type

gnome-desktop-item-edit --create-new ~/Desktop

This will open the dialog Create Launcher

Create Launcher

You can put this .desktop file in /home/<username>/.local/share/applications/ to make it appear in the dash

Using alacarte

For this method, you need alacarte installed.Do it by

sudo apt-get install alacarte

And use ALT+F2 and type in alacarte

You will get this dialog:

enter image description here

Select the category you want and click "New Item"

You will get this dialog

Create launcher-alacarte

Click OK . It will appear in the dash


Sources:

Bruno Pereira's answer

Binarylife's answer

Kikixx's answer

share|improve this answer

RAW text-files .desktop are used to start an application under Ubuntu.

Those .desktop files are stored in /usr/share/applications/ and ~/.local/share/applications.


Typical .desktop file construction :

[Desktop Entry]
Terminal=FALSE OR TRUE (MOST OF THE TIME 'FALSE')
Icon=PATH/TO/THE/ICON
Type=Application
Categories=CATEGORIES
Exec=COMMANDLINE TO START THE APPLICATION
MimeType=MIMETYPES WHICH WILL USE THIS PROGRAM WHEN CLICKED
Name=APPLICATION'S NAME
Comment=COMMENT TO DETAIL WHAT THE APPLICATION DOES
Keywords=SOME KEYWORDS SEPARATED BY ';' TO HELP THE DASH 
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.