In this quick tutorial, you’ll learn how to add application shortcuts on desktop in Ubuntu and other distributions that use GNOME desktop.
A classic desktop operating systems always have icons on the ‘desktop screen’. These desktop icons could include the file manager, the trash bin and the shortcut to applications.
While installing applications in Windows, some of the programs ask if you want to create a shortcut on the desktop. That’s not the case in Linux though.
But if you are a fan of this feature, let me show you how you can add desktop shortcuts to your favorite applications in Ubuntu and other Linux distributions.
In case you are wondering about the looks of my desktop, I am using Ant theme with Tela icons. You can also get some GTK themes and icons for Ubuntu and change them as you like.
Adding desktop shortcut in Ubuntu
Personally I prefer the Ubuntu launcher for application shortcuts. If I use a program frequently, I add it to the launcher. But I know not everyone has the same preference and a few people prefer the shortcuts on the desktop.
Let’s see the simplest way of creating an application shortcut on the desktop.
This tutorial has been tested on Ubuntu 18.04 LTS with GNOME desktop. It may work in other distributions and desktop environments but you have to try it on your own. Some GNOME specific steps may change so please pay attention while trying it on other desktop environments.
First and foremost thing is to make sure that you have icons allowed on the GNOME desktop.
If you followed the Ubuntu 18.04 customization tips, you know how to install GNOME Tweak tool. In this tool, make sure that you have ‘Show Icons’ option enabled.
Once you have made sure of that, it’s time to add some application shortcuts on the desktop.
Step 1: Locate the .desktop files of applications
Go to Files -> Other Location -> Computer.
From here, go to the directory usr -> share -> applications. You’ll see icons of several Ubuntu applications you have installed here. Even if you don’t see the icons, you should see the .desktop files that are named as application.desktop.
Step 2: Copy the .desktop file to desktop
Now all you have to do here is to look for the application icon (or its desktop file). When you find it, either drag-drop the file to the desktop or copy the file (using Ctrl+C shortcut) and paste it on the desktop (using Ctrl+V shortcut).
Step 3: Run the desktop file
When you do that, you should see a text file kind of icon on the desktop instead of the logo of the application. Don’t worry, things will be different in a moment.
Option 1: In newer Ubuntu versions, you may right click on the .desktop file and click on “Properties“. In here, give the file execute permission.
Now if you right click on the file, you’ll find find an “allow launching” option. Select it and you’ll see that the file has turned into an application shortcut.
Option 2: On the older Ubuntu versions like 18.04, things were pretty straightforward. What you have to do is to double click on that file on the desktop. It will warn you that it’s an ‘untrusted application launcher’ so click on Trust and Launch.
The application will launch as usual but the good thing that you’ll notice that the .desktop file has now turned into the application icon. I believe you like the application shortcuts this way, don’t you?
Troubleshoot for Ubuntu 19.04 or GNOME 3.32 users
If you use Ubuntu 19.04 or GNOME 3.32, you the .desktop file may not launch at all. You should right click on the .desktop file and select “Allow Launching”.
After this, you should be able to launch the application and the application shortcut should be displayed properly on the desktop.
If you don’t like a certain application launcher on the desktop, just select it and delete it. It will delete the shortcut but the application will remain safely in your system.
I hope you found this quick tip helpful and now you can enjoy the application shortcuts on Ubuntu desktop.
If you have questions or suggestions, please let me know in the comments below.