Ubuntu Create desktop shortcuts
Some of the programs that you install in Ubuntu do not create shortcuts, each time through the absolute path is more complex, you can create a shortcut on the desktop, so easy to start each time. I'm creating a shortcut for Chrome to share with you here.
First copy the following code into a file with the file name in the format: Xxxx.desktop. XXXX for you arbitrarily take the name, in order to understand the principle of simplicity. is usually the name of the program.
It is noteworthy that Exec refers to the path of the executable file, which is the icon used by the shortcut. Name is the names of the shortcuts. If the path to the executable file cannot be found after the package is installed, you can view the specific path to the installation content by dpkg-l the Xxxx.deb command.
When you are finished, copy the Xxxx.desktop to the desktop, and if the user's current directory has a desktop directory, move the file directly to the desktop file.