Skip to content
Follow
Ubuntu Linux

How to Add Desktop Icons in Ubuntu Linux

Richard
Written by
Richard
Updated 4 min read
How to Change Default Apps in Ubuntu
How to Change Default Apps in Ubuntu

Ubuntu 22.04 and newer versions show very little on the desktop by default. A fresh install usually leaves the screen blank apart from the Home folder, so it can look like your shortcuts are missing. Desktop icons let you open apps, folders, and files from the main screen with a double-click instead of digging through the file manager.

Advertisement

You can bring icons back with the built-in Settings app and a bit of work in the Files app. You don’t need the terminal. If you use the GNOME Extensions tool, it only comes into play for the DING desktop-icons extension described below.

⚡ Quick Answer

To add desktop icons in Ubuntu, find the application’s .desktop file in /usr/share/applications or /var/lib/snapd/desktop/applications. Copy this file to your Desktop folder and then right-click the new icon and select “Allow Launching.

Advertisement

Introduction

Desktop icons give you quick access to apps, files, and folders right from the main screen. A fresh Ubuntu installation shows only a few items there, usually just the Personal folder. Adding shortcuts brings back the traditional desktop workflow, so you can keep the things you use every day within reach.

Pinning apps to the dock is the preferred, more stable way to get quick access in modern Ubuntu. Pinned apps stay put and don’t depend on any desktop extension. If you still want icons on the desktop, the steps below work fine.

Desktop icons on Ubuntu are drawn by an extension called DING (Desktop Icons NG). If your icons vanish or the desktop right-click menu is missing, check that this extension is enabled in the Extensions app. If you can’t find it, your Ubuntu version or flavor may handle icons differently.

Advertisement

Copying .desktop files

A desktop shortcut in Ubuntu is a .desktop file. This is a plain text configuration file that tells the system how to launch a program. To make a shortcut, you copy the program’s .desktop file into your Desktop folder. Standard applications store these files in /usr/share/applications, while Snap packages keep them in /var/lib/snapd/desktop/applications. Copying the right file puts any installed program directly on your screen.

  • /usr/share/applications (for standard apps)
  • /var/lib/snapd/desktop/applications (for Snap apps)

There are a few ways to get the file onto the desktop:

  1. Open the Show Applications menu and try dragging the app’s icon straight onto the desktop. This works on some setups but not all.
  2. If dragging doesn’t work, look for an Add to Desktop option from the DING extension. It is only there if your setup provides it.
  3. If neither works, open your Files or File Manager and copy the file by hand from one of the folders above into your Desktop folder. The next steps show how.

If you aren’t sure whether an app is a standard app or a Snap, check both folders. The file name usually matches the app name.

Advertisement
ubuntu linux copy firefox icon to the desktop
ubuntu Linux copies the Firefox icon to the desktop
  1. Click the .desktop file once to select it.
  2. Right-click it and choose Copy, or press Ctrl+C.

Nothing visible happens, since the file’s data now sits on the clipboard. It stays there until you copy something else.

ubuntu linux copy firefox icon to the desktop copy file
ubuntu Linux copies the Firefox icon to the desktop copy file
  1. Open the Files app and go to your Home directory.
  2. Open the Desktop folder.

The folder shows whatever is already on your desktop. It may be empty on a new install.

Advertisement
ubuntu linux copy firefox icon to the desktop paste file
ubuntu Linux copy the Firefox icon to the desktop and paste the file
  1. Right-click an empty spot in the folder and select Paste, or press Ctrl+V.

The file should appear in the folder and on your desktop. It will probably show a generic icon at first, and you will fix that in the next step.

ubuntu linux copy firefox icon to the desktop paste file to destination
ubuntu Linux copy the Firefox icon to the desktop and paste the file to the destination

Allow Launching

A copied .desktop file won’t run until you tell Ubuntu to trust it. This is a security measure, so you only have to do it once for each icon.

  1. Right-click the new icon on your desktop.
  2. Select Allow Launching.
Advertisement

The icon should now show the app's real name and artwork instead of a plain file icon. If you don't see Allow Launching in the menu, the file is probably not a valid .desktop file, or the DING extension is turned off.

ubuntu linux copy firefox icon to the desktop allow launching on desktop
ubuntu Linux copies the Firefox icon to the desktop allows launching on the desktop

The icon is now ready to use. Double-click it to launch the app. To remove it later, right-click the icon and move it to the Trash. This deletes only the shortcut, not the program.

firefox icon on the desktop ubuntu
firefox icon on the desktop Ubuntu

Conclusion

Desktop icons are still possible on Ubuntu, even though the dock is the main way to reach apps in 2026. To get them, use the DING extension, copy the app's .desktop file into your Desktop folder, and turn on the Allow Launching setting for each icon. For apps you open every day, pinning them to the dock is usually the more stable choice.

Have a question about this guide?

Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.

Did this guide fix your problem?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

1 Comment

Leave a Comment

Your email address will not be published. Required fields are marked *