How to Create a Desktop Launchers in Linux

Take Your Linux Skills to the Next Level All courses, certifications, ad-free articles & community — from $8/mo
Join Root →
Ad-free access to all premium articles
Access to all courses: Learn Linux, AI for Linux, Bash Scripting, Ubuntu Handbook, Golang and more.
Access to Linux certifications (RHCSA, RHCE, LFCS and LFCA)
Access new courses on release
Get access to weekly newsletter
Priority help in comments
Private Telegram community
Connect with the Linux community
From $8/mo · or $59/yr billed annually · Cancel anytime

Linux desktop environments provide users with a flexible and customizable workspace. One of the key features that enables users to streamline their workflow is the creation of desktop launchers or shortcuts.

Launchers are shortcuts that give you easy access to your favorite applications, making it easy to open them without navigating through menus. In this guide, we will walk you through the simple process of creating launchers on a Linux desktop.

Create Launchers on Linux Desktop

Linux provides a variety of desktop environments, such as GNOME, KDE, XFCE, and more. The process of creating launchers can slightly differ based on the desktop environment you are using.

For this guide, we will focus on GNOME, which is the default desktop environment for many popular distributions like Ubuntu.

Create a Desktop Shortcut Launcher from Existing Application

Before creating a launcher, identify the application’s executable file you want to launch. Most applications are stored in the “/usr/share/applications/” directory, and their corresponding launcher files have a ".desktop" extension.

To list detailed information about files in the “/usr/share/applications” directory, including file permissions, owner, group, file size, modification time, and the filename, use following ls command as shown.

ls -l /usr/share/applications
List Desktop Launchers
List Desktop Launchers

To create a desktop shortcut launcher for your existing .desktop file, you can open your file manager, navigate to “/usr/share/applications/“, and then copy and paste the .desktop file onto the Desktop.

Create a Desktop Shortcut
Create a Desktop Shortcut

Now that you have a Firefox launcher on your desktop, double-click on the Firefox launcher icon to launch it.

Firefox Browser
Firefox Browser

Create a Desktop Shortcut Launcher Manually

If you can’t find the desktop shortcut for your application in the /usr/share/applications/ directory, you have the option to manually create the Desktop launcher. In this example, we’ll create a desktop application shortcut for Gimp AppImage.

To create a launcher for the Gimp on the desktop, you need to create a file called gimp.desktop on your desktop using your favourite text editor.

nano /usr/share/applications/gimp.desktop

Then, add the following code to the Desktop entry file.

[Desktop Entry]
Name=Gimp
Exec=/home/tecmint/GIMP_AppImage-git-2.10.25-20210401-withplugins-x86_64
Icon=/home/tecmint/Downloads/gimp.png
Comment=gimp
Type=Application
Terminal=false
Encoding=UTF-8
Categories=Utility;

Make sure to replace the actual path to the directory containing your GIMP AppImage, and specify the correct icon path.

Next, make your launcher executable by setting the execute permission as shown.

chmod +x /usr/share/applications/gimp.desktop

Now, you should see GIMP in your application launcher, and you can also place the shortcut on your desktop for easy access.

Conclusion

Creating launchers on a Linux desktop is a simple yet powerful way to enhance your productivity. Whether you are a seasoned Linux user or just getting started, customizing your desktop environment with personalized launchers can make your computing experience more efficient and enjoyable.

Try experimenting with different desktop environments and enjoy the freedom to tailor your Linux experience to suit your needs.

Root Plan
Premium Linux Education for Serious Learners

Take Your Linux Skills to the Next Level

Root members get full access to every course, certification prep track, and a growing library of hands-on Linux content — with new courses added every month.

What You Get
Ad-free access to all premium articles
Access to all courses: Learn Linux, AI for Linux, Bash Scripting, Ubuntu Handbook, Golang and more.
Access to Linux certifications (RHCSA, RHCE, LFCS and LFCA)
Access new courses on release
Get access to weekly newsletter
Priority help in comments
Private Telegram community
Connect with the Linux community
Ravi Saive
I'm Ravi Saive, an award-winning entrepreneur and founder of several successful 5-figure online businesses, including TecMint.com, GeeksMint.com, UbuntuMint.com, and the premium learning hub Pro.Tecmint.com.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.

Root Plan Premium Linux Education for Serious Learners

Before You Go - Upgrade Your Linux Skills

Root members get everything in one place, with new courses added every month.

What You Get
Ad-free access to all premium articles
Access to all courses: Learn Linux, AI for Linux, Bash Scripting, Ubuntu Handbook, Golang and more.
Linux certifications: RHCSA, RHCE, LFCS and LFCA
Access new courses on release
Weekly newsletter, priority support & Telegram community
Join Root Today and Start Learning Linux the Right Way
Structured courses, certification prep, and a community of Linux professionals - all in one membership.
Join Root Plan →
$8/mo · or $59/yr billed annually