This quick tutorial is for those who want to pin application shortcut icons to the default Gnome Desktop in Ubuntu 18.04, while you can’t drag and drop icons from applications menu to the desktop.
1. First, open Gnome Tweaks (if not available, install it via Ubuntu Software) and navigate to Desktop tab and enable ‘Show icons’ on desktop.
2. Open Files (Nautilus file browser) and navigate to Other Locations -> Computer -> usr -> share -> applications.
There drag and drop any application shortcut to the desktop.
Click to run the desktop icon, and select ‘Trust and Launch’. The shortcut icon will display correctly once the application launches.
To remove a desktop shortcut, simply move the icon to trash. Only the shortcut will be removed, not the original item.
That’s it. Enjoy!