How do I add an application to the dash?Trying to install postman in Ubuntu 16.04How do I make an application appear in the dash?Where should I place an app?How can I edit/create new launcher items in Unity by hand?Firefox “clone” for UbuntuI created a desktop file in /usr/share/applications, but it doesn't show up in DashHow can I create a launcher item for jvisualvm?Where place executables and how show them in the menu?Desktop Icon to Youtube Video?How can I change the icon of an app launched from keyboard shortcut (or terminal)?How do I run apps with options as icons from the dash?Dash Home Not WorkingHow do I create and modify application launchers in the Unity dash in 12.04?How does one create a custom application launcher for Wine installed apps?Dash doesn't recognize that application is installedHow do you add Application detailed information to display in the Dash?How to find the path of a file found in Unity's Dash?Problem with wine application and unity launcher + dash. Ubuntu 16.04How do I add a shortcut to the Unity Dash?How to remove dead ubuntu dash application links?

Instead of Universal Basic Income, why not Universal Basic NEEDS?

Bash replace string at multiple places in a file from command line

Is it possible that AIC = BIC?

Connecting top and bottom SMD component pads using via

When do we add an hyphen (-) to a complex adjective word?

Theorems like the Lovász Local Lemma?

Brexit - No Deal Rejection

Does this AnyDice function accurately calculate the number of ogres you make unconcious with three 4th-level castings of Sleep?

Co-worker team leader wants to inject his friend's awful software into our development. What should I say to our common boss?

Bash: What does "masking return values" mean?

Have researchers managed to "reverse time"? If so, what does that mean for physics?

What is IP squat space

Why must traveling waves have the same amplitude to form a standing wave?

Official degrees of earth’s rotation per day

What are the possible solutions of the given equation?

Calculus II Professor will not accept my correct integral evaluation that uses a different method, should I bring this up further?

Why are there 40 737 Max planes in flight when they have been grounded as not airworthy?

Can elves maintain concentration in a trance?

Could the Saturn V actually have launched astronauts around Venus?

Happy pi day, everyone!

How to simplify this time periods definition interface?

PlotLabels with equations not expressions

Can the damage from a Talisman of Pure Good (or Ultimate Evil) be non-lethal?

What is the greatest age difference between a married couple in Tanach?



How do I add an application to the dash?


Trying to install postman in Ubuntu 16.04How do I make an application appear in the dash?Where should I place an app?How can I edit/create new launcher items in Unity by hand?Firefox “clone” for UbuntuI created a desktop file in /usr/share/applications, but it doesn't show up in DashHow can I create a launcher item for jvisualvm?Where place executables and how show them in the menu?Desktop Icon to Youtube Video?How can I change the icon of an app launched from keyboard shortcut (or terminal)?How do I run apps with options as icons from the dash?Dash Home Not WorkingHow do I create and modify application launchers in the Unity dash in 12.04?How does one create a custom application launcher for Wine installed apps?Dash doesn't recognize that application is installedHow do you add Application detailed information to display in the Dash?How to find the path of a file found in Unity's Dash?Problem with wine application and unity launcher + dash. Ubuntu 16.04How do I add a shortcut to the Unity Dash?How to remove dead ubuntu dash application links?













71















I just installed Oneiric Ocelot, and I can't figure out how to add an application, which is stored in my home directory, to the dash. I can create a launcher, but I want it in the dash also.










share|improve this question



















  • 2





    @jokerdino: Thank you, seems to be a good solution. However, there surely also must be a way without installing new software?

    – scrrr
    Jan 20 '12 at 13:52















71















I just installed Oneiric Ocelot, and I can't figure out how to add an application, which is stored in my home directory, to the dash. I can create a launcher, but I want it in the dash also.










share|improve this question



















  • 2





    @jokerdino: Thank you, seems to be a good solution. However, there surely also must be a way without installing new software?

    – scrrr
    Jan 20 '12 at 13:52













71












71








71


47






I just installed Oneiric Ocelot, and I can't figure out how to add an application, which is stored in my home directory, to the dash. I can create a launcher, but I want it in the dash also.










share|improve this question
















I just installed Oneiric Ocelot, and I can't figure out how to add an application, which is stored in my home directory, to the dash. I can create a launcher, but I want it in the dash also.







unity unity-dash






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 27 '12 at 5:41









jokerdino

32.8k21120187




32.8k21120187










asked Oct 16 '11 at 20:57









jqnojqno

4021513




4021513







  • 2





    @jokerdino: Thank you, seems to be a good solution. However, there surely also must be a way without installing new software?

    – scrrr
    Jan 20 '12 at 13:52












  • 2





    @jokerdino: Thank you, seems to be a good solution. However, there surely also must be a way without installing new software?

    – scrrr
    Jan 20 '12 at 13:52







2




2





@jokerdino: Thank you, seems to be a good solution. However, there surely also must be a way without installing new software?

– scrrr
Jan 20 '12 at 13:52





@jokerdino: Thank you, seems to be a good solution. However, there surely also must be a way without installing new software?

– scrrr
Jan 20 '12 at 13:52










4 Answers
4






active

oldest

votes


















57














EDIT: This solution doesn't work on new version Ubuntu 13.04.



One way I use is to add an entry in the menu's with alacarte Install alacarte.



  1. Install alacarte if it isn't already: sudo apt-get install alacarte

  2. Open alacarte by typing it into the run prompt (ALT+F2)

  3. Click New item and fill in name and command.

  4. Click OK and close alacarte.

  5. Application should appear in the dash search.





share|improve this answer




















  • 6





    In Ubuntu 13 you can go into alacarte and add the new item. After you create it, it will look like nothing happened. Then go to ~/.local/share/applications and you should see a file alacarte-made.desktop. Right click on the file and go to properties then add the bottom of the properties window check the box to allow it to execute. After you do that the item should show up in your dash.

    – James
    Dec 2 '13 at 0:21











  • @James ' solution works.

    – JCasso
    Dec 22 '13 at 20:08







  • 1





    Works on 16.04 LTS

    – Fred Lackey
    Nov 10 '16 at 16:31











  • Works on Ubuntu 18.04 LTS

    – Anh-Thi DINH
    Jul 12 '18 at 8:17


















100














There are 2 ways to go about this



No new software method



For 11.10 and newer:



To create a simple custom .desktop you will need to add these entries to a .desktop file of your choice in ~/.local/share/applications/



nano ~/.local/share/applications/your_application_name.desktop




[Desktop Entry]
Name=the name you want shown
Comment=
Exec=command to run
Icon=icon name
Terminal=false
Type=Application
StartupNotify=true


For extra options for your .desktop file you can visit this site. All the options available are very well described there.



You can also copy a existing application's .desktop file from /usr/share/applications/to your ~/.local/share/applications/ and edit it to fit your needs.



ie: this will copy gedit .desktop file to the folder where the .desktop files should be saved for a user



cd ~/.local/share/applications
sudo cp /usr/share/applications/gedit.desktop .


After that open that location using nautilus ~/.local/share/applications/ and drag n drop the file you have just created to the Unity launcher.



Has an option instead of drag n dropping the file you can open dconf-editor (install it with sudo apt-get install dconf-tools or look for it in the USC) and navigate to desktop.unity.launcher and edit the key favorites by double clicking on the entries to the right of the key.



To add your custom launcher add it at the position you want with this format '/home//.local/share/applications/.desktop'. Don't forget to respect the , and the spaces in that line and make sure that the line starts and ends with [ and ]respectively.



With this method you will need to log off and back in for the change in favorites to take effect. This will make it appear in the dash




Using New software



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




NOTE for Ubuntu 13.04 and above:
After performing the above steps, nothing will happen and it will seem like nothing is added to the dash



To resolve this, go to ~/.local/share/applications and you should be able to see a file named alacarte-made.desktop.



Right Click on this file and check the box which allows it excecute permissions.



After closing the properties dialog, your entry will now appear in the dash.





Sources:



Bruno Pereira's answer



Binarylife's answer



Kikixx's answer



James' comment






share|improve this answer




















  • 1





    alacart does not work in ubuntu 13.04. nothing appears in the dash after adding an item.

    – waspinator
    Apr 4 '13 at 3:21






  • 1





    @waspinator Indeed. Luckily, the 'No new software method For 11.10 and newer' still works like a charm! (Done this using 13.10)

    – parvus
    Dec 18 '13 at 20:05







  • 1





    I appreciate your "No software" method. (works on 15.04)

    – Tiberiu C.
    Jul 11 '15 at 14:37






  • 1





    To appear in dash application results, just add NoDisplay=false at the end of the .desktop file and tada! (source)

    – KrisWebDev
    Feb 20 '16 at 16:16












  • To generate the .desktop file from a running application right-click the icon in the Launcher and select "Add to Dash". Then you can modify the generated file in ~/.local/share/applications.

    – absynce
    Jan 6 '17 at 21:31


















11














A .desktop file in .local/share/applications folder will also do the trick.



Just add the required .desktop files, make them executable using chmod +x <filename> and restart unity by typing unity --replace



A .desktop file for sublime text



[Desktop Entry]
Encoding=UTF-8
Name=Sublime Text 2
Comment=Launch Sublime Text 2
Icon=/home/user/Sublime Text 2/Icon/48x48/sublime_text.png
Exec="/home/user/Sublime Text 2/sublime_text"
Terminal=false
Type=Application
Categories=Developer;Accessories;Accessibility;
StartupNotify=true


Note

If Exec string contains space characters, double quotes should be used.






share|improve this answer




















  • 3





    chmod +x <filename> is not needed for dash. It is only required for .desktop files you want to run by double-clicking them. Useful for the ones in ~/Desktop, but not useful in ~/.local/share/applications

    – MestreLion
    Apr 16 '13 at 5:10


















0














Usually when you install you the icon will be automatically added. But if it is not, then do the following:



  1. Open the Unity dashboard.

  2. Type main menu in the search bar. (In Germany you need to type "Hauptmenu")

  3. Open it and select the best category your app fits (if you want create one).

  4. Select insert item.

  5. Type name, command (a terminal command or path to the executable) and comment.

  6. Add the item.

  7. Launch the item from the Unity dash board.





share|improve this answer























    protected by Community Mar 12 '15 at 19:19



    Thank you for your interest in this question.
    Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



    Would you like to answer one of these unanswered questions instead?














    4 Answers
    4






    active

    oldest

    votes








    4 Answers
    4






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    57














    EDIT: This solution doesn't work on new version Ubuntu 13.04.



    One way I use is to add an entry in the menu's with alacarte Install alacarte.



    1. Install alacarte if it isn't already: sudo apt-get install alacarte

    2. Open alacarte by typing it into the run prompt (ALT+F2)

    3. Click New item and fill in name and command.

    4. Click OK and close alacarte.

    5. Application should appear in the dash search.





    share|improve this answer




















    • 6





      In Ubuntu 13 you can go into alacarte and add the new item. After you create it, it will look like nothing happened. Then go to ~/.local/share/applications and you should see a file alacarte-made.desktop. Right click on the file and go to properties then add the bottom of the properties window check the box to allow it to execute. After you do that the item should show up in your dash.

      – James
      Dec 2 '13 at 0:21











    • @James ' solution works.

      – JCasso
      Dec 22 '13 at 20:08







    • 1





      Works on 16.04 LTS

      – Fred Lackey
      Nov 10 '16 at 16:31











    • Works on Ubuntu 18.04 LTS

      – Anh-Thi DINH
      Jul 12 '18 at 8:17















    57














    EDIT: This solution doesn't work on new version Ubuntu 13.04.



    One way I use is to add an entry in the menu's with alacarte Install alacarte.



    1. Install alacarte if it isn't already: sudo apt-get install alacarte

    2. Open alacarte by typing it into the run prompt (ALT+F2)

    3. Click New item and fill in name and command.

    4. Click OK and close alacarte.

    5. Application should appear in the dash search.





    share|improve this answer




















    • 6





      In Ubuntu 13 you can go into alacarte and add the new item. After you create it, it will look like nothing happened. Then go to ~/.local/share/applications and you should see a file alacarte-made.desktop. Right click on the file and go to properties then add the bottom of the properties window check the box to allow it to execute. After you do that the item should show up in your dash.

      – James
      Dec 2 '13 at 0:21











    • @James ' solution works.

      – JCasso
      Dec 22 '13 at 20:08







    • 1





      Works on 16.04 LTS

      – Fred Lackey
      Nov 10 '16 at 16:31











    • Works on Ubuntu 18.04 LTS

      – Anh-Thi DINH
      Jul 12 '18 at 8:17













    57












    57








    57







    EDIT: This solution doesn't work on new version Ubuntu 13.04.



    One way I use is to add an entry in the menu's with alacarte Install alacarte.



    1. Install alacarte if it isn't already: sudo apt-get install alacarte

    2. Open alacarte by typing it into the run prompt (ALT+F2)

    3. Click New item and fill in name and command.

    4. Click OK and close alacarte.

    5. Application should appear in the dash search.





    share|improve this answer















    EDIT: This solution doesn't work on new version Ubuntu 13.04.



    One way I use is to add an entry in the menu's with alacarte Install alacarte.



    1. Install alacarte if it isn't already: sudo apt-get install alacarte

    2. Open alacarte by typing it into the run prompt (ALT+F2)

    3. Click New item and fill in name and command.

    4. Click OK and close alacarte.

    5. Application should appear in the dash search.






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 2 hours ago









    Rishabh Agrahari

    1561113




    1561113










    answered Oct 16 '11 at 21:39









    kikixxkikixx

    1,122912




    1,122912







    • 6





      In Ubuntu 13 you can go into alacarte and add the new item. After you create it, it will look like nothing happened. Then go to ~/.local/share/applications and you should see a file alacarte-made.desktop. Right click on the file and go to properties then add the bottom of the properties window check the box to allow it to execute. After you do that the item should show up in your dash.

      – James
      Dec 2 '13 at 0:21











    • @James ' solution works.

      – JCasso
      Dec 22 '13 at 20:08







    • 1





      Works on 16.04 LTS

      – Fred Lackey
      Nov 10 '16 at 16:31











    • Works on Ubuntu 18.04 LTS

      – Anh-Thi DINH
      Jul 12 '18 at 8:17












    • 6





      In Ubuntu 13 you can go into alacarte and add the new item. After you create it, it will look like nothing happened. Then go to ~/.local/share/applications and you should see a file alacarte-made.desktop. Right click on the file and go to properties then add the bottom of the properties window check the box to allow it to execute. After you do that the item should show up in your dash.

      – James
      Dec 2 '13 at 0:21











    • @James ' solution works.

      – JCasso
      Dec 22 '13 at 20:08







    • 1





      Works on 16.04 LTS

      – Fred Lackey
      Nov 10 '16 at 16:31











    • Works on Ubuntu 18.04 LTS

      – Anh-Thi DINH
      Jul 12 '18 at 8:17







    6




    6





    In Ubuntu 13 you can go into alacarte and add the new item. After you create it, it will look like nothing happened. Then go to ~/.local/share/applications and you should see a file alacarte-made.desktop. Right click on the file and go to properties then add the bottom of the properties window check the box to allow it to execute. After you do that the item should show up in your dash.

    – James
    Dec 2 '13 at 0:21





    In Ubuntu 13 you can go into alacarte and add the new item. After you create it, it will look like nothing happened. Then go to ~/.local/share/applications and you should see a file alacarte-made.desktop. Right click on the file and go to properties then add the bottom of the properties window check the box to allow it to execute. After you do that the item should show up in your dash.

    – James
    Dec 2 '13 at 0:21













    @James ' solution works.

    – JCasso
    Dec 22 '13 at 20:08






    @James ' solution works.

    – JCasso
    Dec 22 '13 at 20:08





    1




    1





    Works on 16.04 LTS

    – Fred Lackey
    Nov 10 '16 at 16:31





    Works on 16.04 LTS

    – Fred Lackey
    Nov 10 '16 at 16:31













    Works on Ubuntu 18.04 LTS

    – Anh-Thi DINH
    Jul 12 '18 at 8:17





    Works on Ubuntu 18.04 LTS

    – Anh-Thi DINH
    Jul 12 '18 at 8:17













    100














    There are 2 ways to go about this



    No new software method



    For 11.10 and newer:



    To create a simple custom .desktop you will need to add these entries to a .desktop file of your choice in ~/.local/share/applications/



    nano ~/.local/share/applications/your_application_name.desktop




    [Desktop Entry]
    Name=the name you want shown
    Comment=
    Exec=command to run
    Icon=icon name
    Terminal=false
    Type=Application
    StartupNotify=true


    For extra options for your .desktop file you can visit this site. All the options available are very well described there.



    You can also copy a existing application's .desktop file from /usr/share/applications/to your ~/.local/share/applications/ and edit it to fit your needs.



    ie: this will copy gedit .desktop file to the folder where the .desktop files should be saved for a user



    cd ~/.local/share/applications
    sudo cp /usr/share/applications/gedit.desktop .


    After that open that location using nautilus ~/.local/share/applications/ and drag n drop the file you have just created to the Unity launcher.



    Has an option instead of drag n dropping the file you can open dconf-editor (install it with sudo apt-get install dconf-tools or look for it in the USC) and navigate to desktop.unity.launcher and edit the key favorites by double clicking on the entries to the right of the key.



    To add your custom launcher add it at the position you want with this format '/home//.local/share/applications/.desktop'. Don't forget to respect the , and the spaces in that line and make sure that the line starts and ends with [ and ]respectively.



    With this method you will need to log off and back in for the change in favorites to take effect. This will make it appear in the dash




    Using New software



    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




    NOTE for Ubuntu 13.04 and above:
    After performing the above steps, nothing will happen and it will seem like nothing is added to the dash



    To resolve this, go to ~/.local/share/applications and you should be able to see a file named alacarte-made.desktop.



    Right Click on this file and check the box which allows it excecute permissions.



    After closing the properties dialog, your entry will now appear in the dash.





    Sources:



    Bruno Pereira's answer



    Binarylife's answer



    Kikixx's answer



    James' comment






    share|improve this answer




















    • 1





      alacart does not work in ubuntu 13.04. nothing appears in the dash after adding an item.

      – waspinator
      Apr 4 '13 at 3:21






    • 1





      @waspinator Indeed. Luckily, the 'No new software method For 11.10 and newer' still works like a charm! (Done this using 13.10)

      – parvus
      Dec 18 '13 at 20:05







    • 1





      I appreciate your "No software" method. (works on 15.04)

      – Tiberiu C.
      Jul 11 '15 at 14:37






    • 1





      To appear in dash application results, just add NoDisplay=false at the end of the .desktop file and tada! (source)

      – KrisWebDev
      Feb 20 '16 at 16:16












    • To generate the .desktop file from a running application right-click the icon in the Launcher and select "Add to Dash". Then you can modify the generated file in ~/.local/share/applications.

      – absynce
      Jan 6 '17 at 21:31















    100














    There are 2 ways to go about this



    No new software method



    For 11.10 and newer:



    To create a simple custom .desktop you will need to add these entries to a .desktop file of your choice in ~/.local/share/applications/



    nano ~/.local/share/applications/your_application_name.desktop




    [Desktop Entry]
    Name=the name you want shown
    Comment=
    Exec=command to run
    Icon=icon name
    Terminal=false
    Type=Application
    StartupNotify=true


    For extra options for your .desktop file you can visit this site. All the options available are very well described there.



    You can also copy a existing application's .desktop file from /usr/share/applications/to your ~/.local/share/applications/ and edit it to fit your needs.



    ie: this will copy gedit .desktop file to the folder where the .desktop files should be saved for a user



    cd ~/.local/share/applications
    sudo cp /usr/share/applications/gedit.desktop .


    After that open that location using nautilus ~/.local/share/applications/ and drag n drop the file you have just created to the Unity launcher.



    Has an option instead of drag n dropping the file you can open dconf-editor (install it with sudo apt-get install dconf-tools or look for it in the USC) and navigate to desktop.unity.launcher and edit the key favorites by double clicking on the entries to the right of the key.



    To add your custom launcher add it at the position you want with this format '/home//.local/share/applications/.desktop'. Don't forget to respect the , and the spaces in that line and make sure that the line starts and ends with [ and ]respectively.



    With this method you will need to log off and back in for the change in favorites to take effect. This will make it appear in the dash




    Using New software



    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




    NOTE for Ubuntu 13.04 and above:
    After performing the above steps, nothing will happen and it will seem like nothing is added to the dash



    To resolve this, go to ~/.local/share/applications and you should be able to see a file named alacarte-made.desktop.



    Right Click on this file and check the box which allows it excecute permissions.



    After closing the properties dialog, your entry will now appear in the dash.





    Sources:



    Bruno Pereira's answer



    Binarylife's answer



    Kikixx's answer



    James' comment






    share|improve this answer




















    • 1





      alacart does not work in ubuntu 13.04. nothing appears in the dash after adding an item.

      – waspinator
      Apr 4 '13 at 3:21






    • 1





      @waspinator Indeed. Luckily, the 'No new software method For 11.10 and newer' still works like a charm! (Done this using 13.10)

      – parvus
      Dec 18 '13 at 20:05







    • 1





      I appreciate your "No software" method. (works on 15.04)

      – Tiberiu C.
      Jul 11 '15 at 14:37






    • 1





      To appear in dash application results, just add NoDisplay=false at the end of the .desktop file and tada! (source)

      – KrisWebDev
      Feb 20 '16 at 16:16












    • To generate the .desktop file from a running application right-click the icon in the Launcher and select "Add to Dash". Then you can modify the generated file in ~/.local/share/applications.

      – absynce
      Jan 6 '17 at 21:31













    100












    100








    100







    There are 2 ways to go about this



    No new software method



    For 11.10 and newer:



    To create a simple custom .desktop you will need to add these entries to a .desktop file of your choice in ~/.local/share/applications/



    nano ~/.local/share/applications/your_application_name.desktop




    [Desktop Entry]
    Name=the name you want shown
    Comment=
    Exec=command to run
    Icon=icon name
    Terminal=false
    Type=Application
    StartupNotify=true


    For extra options for your .desktop file you can visit this site. All the options available are very well described there.



    You can also copy a existing application's .desktop file from /usr/share/applications/to your ~/.local/share/applications/ and edit it to fit your needs.



    ie: this will copy gedit .desktop file to the folder where the .desktop files should be saved for a user



    cd ~/.local/share/applications
    sudo cp /usr/share/applications/gedit.desktop .


    After that open that location using nautilus ~/.local/share/applications/ and drag n drop the file you have just created to the Unity launcher.



    Has an option instead of drag n dropping the file you can open dconf-editor (install it with sudo apt-get install dconf-tools or look for it in the USC) and navigate to desktop.unity.launcher and edit the key favorites by double clicking on the entries to the right of the key.



    To add your custom launcher add it at the position you want with this format '/home//.local/share/applications/.desktop'. Don't forget to respect the , and the spaces in that line and make sure that the line starts and ends with [ and ]respectively.



    With this method you will need to log off and back in for the change in favorites to take effect. This will make it appear in the dash




    Using New software



    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




    NOTE for Ubuntu 13.04 and above:
    After performing the above steps, nothing will happen and it will seem like nothing is added to the dash



    To resolve this, go to ~/.local/share/applications and you should be able to see a file named alacarte-made.desktop.



    Right Click on this file and check the box which allows it excecute permissions.



    After closing the properties dialog, your entry will now appear in the dash.





    Sources:



    Bruno Pereira's answer



    Binarylife's answer



    Kikixx's answer



    James' comment






    share|improve this answer















    There are 2 ways to go about this



    No new software method



    For 11.10 and newer:



    To create a simple custom .desktop you will need to add these entries to a .desktop file of your choice in ~/.local/share/applications/



    nano ~/.local/share/applications/your_application_name.desktop




    [Desktop Entry]
    Name=the name you want shown
    Comment=
    Exec=command to run
    Icon=icon name
    Terminal=false
    Type=Application
    StartupNotify=true


    For extra options for your .desktop file you can visit this site. All the options available are very well described there.



    You can also copy a existing application's .desktop file from /usr/share/applications/to your ~/.local/share/applications/ and edit it to fit your needs.



    ie: this will copy gedit .desktop file to the folder where the .desktop files should be saved for a user



    cd ~/.local/share/applications
    sudo cp /usr/share/applications/gedit.desktop .


    After that open that location using nautilus ~/.local/share/applications/ and drag n drop the file you have just created to the Unity launcher.



    Has an option instead of drag n dropping the file you can open dconf-editor (install it with sudo apt-get install dconf-tools or look for it in the USC) and navigate to desktop.unity.launcher and edit the key favorites by double clicking on the entries to the right of the key.



    To add your custom launcher add it at the position you want with this format '/home//.local/share/applications/.desktop'. Don't forget to respect the , and the spaces in that line and make sure that the line starts and ends with [ and ]respectively.



    With this method you will need to log off and back in for the change in favorites to take effect. This will make it appear in the dash




    Using New software



    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




    NOTE for Ubuntu 13.04 and above:
    After performing the above steps, nothing will happen and it will seem like nothing is added to the dash



    To resolve this, go to ~/.local/share/applications and you should be able to see a file named alacarte-made.desktop.



    Right Click on this file and check the box which allows it excecute permissions.



    After closing the properties dialog, your entry will now appear in the dash.





    Sources:



    Bruno Pereira's answer



    Binarylife's answer



    Kikixx's answer



    James' comment







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Apr 13 '17 at 12:24









    Community

    1




    1










    answered Mar 14 '12 at 5:06









    Amith KKAmith KK

    10.3k1255111




    10.3k1255111







    • 1





      alacart does not work in ubuntu 13.04. nothing appears in the dash after adding an item.

      – waspinator
      Apr 4 '13 at 3:21






    • 1





      @waspinator Indeed. Luckily, the 'No new software method For 11.10 and newer' still works like a charm! (Done this using 13.10)

      – parvus
      Dec 18 '13 at 20:05







    • 1





      I appreciate your "No software" method. (works on 15.04)

      – Tiberiu C.
      Jul 11 '15 at 14:37






    • 1





      To appear in dash application results, just add NoDisplay=false at the end of the .desktop file and tada! (source)

      – KrisWebDev
      Feb 20 '16 at 16:16












    • To generate the .desktop file from a running application right-click the icon in the Launcher and select "Add to Dash". Then you can modify the generated file in ~/.local/share/applications.

      – absynce
      Jan 6 '17 at 21:31












    • 1





      alacart does not work in ubuntu 13.04. nothing appears in the dash after adding an item.

      – waspinator
      Apr 4 '13 at 3:21






    • 1





      @waspinator Indeed. Luckily, the 'No new software method For 11.10 and newer' still works like a charm! (Done this using 13.10)

      – parvus
      Dec 18 '13 at 20:05







    • 1





      I appreciate your "No software" method. (works on 15.04)

      – Tiberiu C.
      Jul 11 '15 at 14:37






    • 1





      To appear in dash application results, just add NoDisplay=false at the end of the .desktop file and tada! (source)

      – KrisWebDev
      Feb 20 '16 at 16:16












    • To generate the .desktop file from a running application right-click the icon in the Launcher and select "Add to Dash". Then you can modify the generated file in ~/.local/share/applications.

      – absynce
      Jan 6 '17 at 21:31







    1




    1





    alacart does not work in ubuntu 13.04. nothing appears in the dash after adding an item.

    – waspinator
    Apr 4 '13 at 3:21





    alacart does not work in ubuntu 13.04. nothing appears in the dash after adding an item.

    – waspinator
    Apr 4 '13 at 3:21




    1




    1





    @waspinator Indeed. Luckily, the 'No new software method For 11.10 and newer' still works like a charm! (Done this using 13.10)

    – parvus
    Dec 18 '13 at 20:05






    @waspinator Indeed. Luckily, the 'No new software method For 11.10 and newer' still works like a charm! (Done this using 13.10)

    – parvus
    Dec 18 '13 at 20:05





    1




    1





    I appreciate your "No software" method. (works on 15.04)

    – Tiberiu C.
    Jul 11 '15 at 14:37





    I appreciate your "No software" method. (works on 15.04)

    – Tiberiu C.
    Jul 11 '15 at 14:37




    1




    1





    To appear in dash application results, just add NoDisplay=false at the end of the .desktop file and tada! (source)

    – KrisWebDev
    Feb 20 '16 at 16:16






    To appear in dash application results, just add NoDisplay=false at the end of the .desktop file and tada! (source)

    – KrisWebDev
    Feb 20 '16 at 16:16














    To generate the .desktop file from a running application right-click the icon in the Launcher and select "Add to Dash". Then you can modify the generated file in ~/.local/share/applications.

    – absynce
    Jan 6 '17 at 21:31





    To generate the .desktop file from a running application right-click the icon in the Launcher and select "Add to Dash". Then you can modify the generated file in ~/.local/share/applications.

    – absynce
    Jan 6 '17 at 21:31











    11














    A .desktop file in .local/share/applications folder will also do the trick.



    Just add the required .desktop files, make them executable using chmod +x <filename> and restart unity by typing unity --replace



    A .desktop file for sublime text



    [Desktop Entry]
    Encoding=UTF-8
    Name=Sublime Text 2
    Comment=Launch Sublime Text 2
    Icon=/home/user/Sublime Text 2/Icon/48x48/sublime_text.png
    Exec="/home/user/Sublime Text 2/sublime_text"
    Terminal=false
    Type=Application
    Categories=Developer;Accessories;Accessibility;
    StartupNotify=true


    Note

    If Exec string contains space characters, double quotes should be used.






    share|improve this answer




















    • 3





      chmod +x <filename> is not needed for dash. It is only required for .desktop files you want to run by double-clicking them. Useful for the ones in ~/Desktop, but not useful in ~/.local/share/applications

      – MestreLion
      Apr 16 '13 at 5:10















    11














    A .desktop file in .local/share/applications folder will also do the trick.



    Just add the required .desktop files, make them executable using chmod +x <filename> and restart unity by typing unity --replace



    A .desktop file for sublime text



    [Desktop Entry]
    Encoding=UTF-8
    Name=Sublime Text 2
    Comment=Launch Sublime Text 2
    Icon=/home/user/Sublime Text 2/Icon/48x48/sublime_text.png
    Exec="/home/user/Sublime Text 2/sublime_text"
    Terminal=false
    Type=Application
    Categories=Developer;Accessories;Accessibility;
    StartupNotify=true


    Note

    If Exec string contains space characters, double quotes should be used.






    share|improve this answer




















    • 3





      chmod +x <filename> is not needed for dash. It is only required for .desktop files you want to run by double-clicking them. Useful for the ones in ~/Desktop, but not useful in ~/.local/share/applications

      – MestreLion
      Apr 16 '13 at 5:10













    11












    11








    11







    A .desktop file in .local/share/applications folder will also do the trick.



    Just add the required .desktop files, make them executable using chmod +x <filename> and restart unity by typing unity --replace



    A .desktop file for sublime text



    [Desktop Entry]
    Encoding=UTF-8
    Name=Sublime Text 2
    Comment=Launch Sublime Text 2
    Icon=/home/user/Sublime Text 2/Icon/48x48/sublime_text.png
    Exec="/home/user/Sublime Text 2/sublime_text"
    Terminal=false
    Type=Application
    Categories=Developer;Accessories;Accessibility;
    StartupNotify=true


    Note

    If Exec string contains space characters, double quotes should be used.






    share|improve this answer















    A .desktop file in .local/share/applications folder will also do the trick.



    Just add the required .desktop files, make them executable using chmod +x <filename> and restart unity by typing unity --replace



    A .desktop file for sublime text



    [Desktop Entry]
    Encoding=UTF-8
    Name=Sublime Text 2
    Comment=Launch Sublime Text 2
    Icon=/home/user/Sublime Text 2/Icon/48x48/sublime_text.png
    Exec="/home/user/Sublime Text 2/sublime_text"
    Terminal=false
    Type=Application
    Categories=Developer;Accessories;Accessibility;
    StartupNotify=true


    Note

    If Exec string contains space characters, double quotes should be used.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Nov 16 '13 at 10:07









    Yihui Xiong

    1053




    1053










    answered Mar 18 '12 at 9:31









    MaheshMahesh

    10.3k43754




    10.3k43754







    • 3





      chmod +x <filename> is not needed for dash. It is only required for .desktop files you want to run by double-clicking them. Useful for the ones in ~/Desktop, but not useful in ~/.local/share/applications

      – MestreLion
      Apr 16 '13 at 5:10












    • 3





      chmod +x <filename> is not needed for dash. It is only required for .desktop files you want to run by double-clicking them. Useful for the ones in ~/Desktop, but not useful in ~/.local/share/applications

      – MestreLion
      Apr 16 '13 at 5:10







    3




    3





    chmod +x <filename> is not needed for dash. It is only required for .desktop files you want to run by double-clicking them. Useful for the ones in ~/Desktop, but not useful in ~/.local/share/applications

    – MestreLion
    Apr 16 '13 at 5:10





    chmod +x <filename> is not needed for dash. It is only required for .desktop files you want to run by double-clicking them. Useful for the ones in ~/Desktop, but not useful in ~/.local/share/applications

    – MestreLion
    Apr 16 '13 at 5:10











    0














    Usually when you install you the icon will be automatically added. But if it is not, then do the following:



    1. Open the Unity dashboard.

    2. Type main menu in the search bar. (In Germany you need to type "Hauptmenu")

    3. Open it and select the best category your app fits (if you want create one).

    4. Select insert item.

    5. Type name, command (a terminal command or path to the executable) and comment.

    6. Add the item.

    7. Launch the item from the Unity dash board.





    share|improve this answer





























      0














      Usually when you install you the icon will be automatically added. But if it is not, then do the following:



      1. Open the Unity dashboard.

      2. Type main menu in the search bar. (In Germany you need to type "Hauptmenu")

      3. Open it and select the best category your app fits (if you want create one).

      4. Select insert item.

      5. Type name, command (a terminal command or path to the executable) and comment.

      6. Add the item.

      7. Launch the item from the Unity dash board.





      share|improve this answer



























        0












        0








        0







        Usually when you install you the icon will be automatically added. But if it is not, then do the following:



        1. Open the Unity dashboard.

        2. Type main menu in the search bar. (In Germany you need to type "Hauptmenu")

        3. Open it and select the best category your app fits (if you want create one).

        4. Select insert item.

        5. Type name, command (a terminal command or path to the executable) and comment.

        6. Add the item.

        7. Launch the item from the Unity dash board.





        share|improve this answer















        Usually when you install you the icon will be automatically added. But if it is not, then do the following:



        1. Open the Unity dashboard.

        2. Type main menu in the search bar. (In Germany you need to type "Hauptmenu")

        3. Open it and select the best category your app fits (if you want create one).

        4. Select insert item.

        5. Type name, command (a terminal command or path to the executable) and comment.

        6. Add the item.

        7. Launch the item from the Unity dash board.






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 25 '13 at 20:18









        guettli

        60952268




        60952268










        answered Jan 20 '12 at 13:55









        rjkrocksrjkrocks

        1898




        1898















            protected by Community Mar 12 '15 at 19:19



            Thank you for your interest in this question.
            Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



            Would you like to answer one of these unanswered questions instead?



            Popular posts from this blog

            Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

            Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

            Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»