To create desktop shortcut, gnome-panel package is required. You need to install it first and then you can create shortcut.
For installation, do the followings...
- Open the terminal (ALT+CTRL+T) and type the following command...
sudo apt-get install --no-install-recommends gnome-panel
- Then type the following command...
gnome-desktop-item-edit ~/Desktop/ --create-new
-It will open a pop-up window. In the pop-up window,keep type=application, Name=Atom,Command=the location of the executable. (use which command to find the location) and then hit OK button. It will create the desktop shortcut.