Ubuntu – How to create a desktop shortcut in Unity

iconsshortcutsunity

Is there an easy way to create a desktop shortcut for an application in Unity? The ability to right click or drag and drop icons to the desktop in Unity does not seem to be there.

Best Answer

For Unity

You can search for the application you like to create a desktop shortcut for in the dash and drag it to the desktop. It is best done when your dash is not fully maximized and there are no maximized windows in the background as well.

For Unity-2D

Currently, you can't drag and drop from the dash to create a desktop shortcut. A bug report has been filed regarding this behaviour.

However, you can use gnome-desktop-item-edit to create a new desktop shortcut.

Enter the following command in a terminal:

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

enter image description here

You will then get the above pop up. Enter the command and other particulars of the application that you are trying to create a desktop shortcut for.