On Windows, many application installers prompt the user to add a shortcut to the application on the desktop. If the user didn’t accept the option, the shortcut could be created simply by navigating the application’s .exe file, right-clicking on it, selecting Send To, and then Desktop (create shortcut). However, executing the same thing on Linux is slightly more complicated.
Most of the popular Linux desktop environments like KDE Plasma, XFCE, and Cinnamon also allow users to add their favorite application shortcuts on their desktop. On the other hand, GNOME (Ubuntu’s desktop) does not provide this option by default. Fortunately, Canonical ships an extension with Ubuntu out-of-the-box, which allows the user to add desktop shortcuts.
To check whether desktop icons are set to show or not, follow the steps given below.
Open GNOME Tweaks. If you do not have GNOME Tweaks installed, you can install it by running the following command in the terminal:
On Ubuntu 18.04 LTS, click the Desktop tab. Make sure that the Icons on Desktop option is enabled, as shown below.
On later versions of Ubuntu, the desktop icons setting can be found under the Extensions tab of GNOME Tweaks. If this extension is not installed for some reason, follow the steps in the next section to install it.
Launch Firefox or Chrome and browse to this link.
Click here to install the GNOME Shell Integration extension for your browser
Open the Terminal and run the following command:
Restart the browser and navigate to this link.
Click the toggle button to set it to on, and in the following prompt, click Install
We can now move on to creating the shortcuts. The method varies if the application was installed or just ran from an extracted archive.
In the case of an installed application, follow the given steps to create shortcuts:
Launch the Files app. Press Ctrl+L to make the address bar editable. Copy and paste the following path in the address bar: /usr/share/applications
“/usr/share/applications” contains the .desktop files of all the applications installed on the system. Locate and copy the .desktop file of the desired application. Paste the .desktop file of the application to your desktop. Double click the copied .desktop file
On the prompt, click on Trust and Launch – this will update the icon and its label with the application’s icon and title, and launch the application
In the case of an application that was extracted through an archive (such as a .tar.gz file or obtained through a cloned git repository), it will probably not have a .desktop file. In this case, you will first have to create this file manually. To do this, follow these steps:
Open the terminal by using the shortcut Ctrl+Alt+T or search for the terminal by opening the dash.
Type the following command. (Replace ApplicationName with the name of the desired application).
Copy the following lines in the editor window:
The editor window should look something like this:
Now, double click this newly created .desktop file and on the prompt, click on Trust and Launch – this will update the icon and itswith the application’s icon and title and launch the application.
Other than creating desktop shortcuts to quickly launch your favorite applications, various other alternatives can be opted for depending on a user’s preference.
This menu shows all the applications installed in Ubuntu in a vertical grid. To launch an application, find its icon in this menu and click it.
Installed applications can be launched directly from the Terminal simply by entering the application’s name in the console.
Most users prefer to have their most-used applications placed on the launcher. To pin applications to the launcher, search for the desired application by searching for it and then launching it. Right-click the icon of the launched application in the dock and select the option ‘Add to favorites’ to lock the application to the launcher.
To launch an application using the run command, hit ALT+F2. This opens the Run Command Window. Type the name of the application in the text box and hit enter to launch.
With that being said, we conclude our guide on creating shortcuts on the Ubuntu desktop. Hopefully, you learned how to make desktop shortcuts for applications and .tar archives as well.
You’ve recently installed VMware Workstation on your Ubuntu system and encountered the frustrating “Could not…
Have you ever found yourself staring at a terminal full of 404 errors while trying…
One particularly frustrating error that many users face when trying to upgrade from Ubuntu 18.04 …
In the world of containerization, time synchronization issues can create unexpected roadblocks when working with…
If you’ve recently upgraded to Ubuntu 23.04 or newer, you might have encountered a frustrating…
Canonical announces the General Availability of Ubuntu for the NVIDIA® Jetson Orin™ for edge AI…