How to add shortcut/starter (to file, program. or folder) in the desktop or menu bar of Ubuntu 18.04?
The reality is that you are looking for a workflow that is not anymore supported in Gnome Shell, and to a limited extend by Ubuntu Desktop.
Desktop icons
Gnome Shell does not support desktop icons by default. The rationale is, and to some extend they are right, that that desktop, and thus the icons, is covered by windows more often than not. Fact is that a desktop can be quickly crowded with icons, icons you can't see most of the time. Still, you are free not to like that argument, and prefer icons on your desktop.
Shortcuts to files
Gnome Shell limits the use of shortcuts (.desktop files) to applications in your menuing system and on your dock. They took manipulation of these files out of the hand of the user: .desktop files typically they are installed through software installation and are placed in specific locations, hidden from the user (~/.local/share/applications, /usr/share/applications, ...). Gnome does not anymore come with a graphical tool to create .desktop files yourself.
How does Gnome want you to work
The 6 - 8 applications you commonly use are on the Ubuntu Dock (or the Gnome Shell Dash), and are one click away (two in pure Gnome Shell). Applications you use frequently, end up on the "Frequent" tab in the Application view. They are 2 clicks away. Alternatively, search the applications.
For documents you work with frequently, Gnome developers invented the "Starred" feature. Star your files you use for the moment, and you will find them in the Starred category in File manager. Alternatively, search the files. Obviously, you can also create links ("symbolic links") in a specific place for quick access.
Creating a launcher to a document
You cannot anymore easily create launchers all over the place. That does not mean you cannot create a launcher to a document, but, in Gnome Shell, it is handwork. Create a .desktop
file.
gedit myfile.desktop
Add the information to launch:
[Desktop Entry]
Name=Document name
Exec=xdg-open <path-to-your-file>
Terminal=false
Icon=<location of icon file>
Type=Application
Comment=Comment which appears as a tooltip.
Move the .desktop
file to ~/.local/share/applications
. It will now appear in your applications overview, from where you can pin it to the dash.
Consider a desktop that fits your preferred workflow better
In reality, the better approach is to move to another desktop environment if you are a user that values the somewhat more classical approach of working with shortcuts and launchers on the desktop. Most other desktops (Mate, xfce, KDE...) still fully adhere to that paradigm so in these desktop environments, you will not need to fight to adopt the workflow you prefer.
So this should not only answer how to create the launchers, but also answer why it is all very hidden indeed.