Close Menu
    What's Hot

    Top 5 Tips That Help Turn Leads Into Paying Customers

    February 6, 2026

    WordPress Backups and Disaster Recovery

    January 29, 2026

    How to Fix and Prevent Prompt Injection in Custom AI Agents

    January 20, 2026
    Facebook X (Twitter) YouTube LinkedIn
    Facebook X (Twitter) YouTube LinkedIn
    SysprobsSysprobs
    • Tech Guides
      • Windows
        • Windows 11
        • Windows 10
        • Windows Servers
      • Virtualization
        • VirtualBox
        • VMware
        • Hyper-V
        • Server Virtualization
        • VirtualBox Images
      • PC
        • Linux
        • macOS
        • Hackintosh
        • MS Office
      • Pro IT Tips
        • Internet
        • MS Exchange
        • Fintech
    • Reviews
      • Gadgets
        • Android
        • iPhone
    • Security & Privacy
      • IT Security
    • Trading Gear
      • Laptops
    SysprobsSysprobs
    Home»PC»Linux»How to Create Shortcut on Linux ( GUI & CLI)

    How to Create Shortcut on Linux ( GUI & CLI)

    DineshBy Dinesh
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Shortcuts on your desktop screen are useful for easy and fast navigating to folders you need quick access to. Also, if you have an application you use often, you can launch it using the desktop shortcut.

    When Windows users switch to Linux for the first time, one of the common struggles for them is to create shortcuts on Linux. The thing is, creating desktop shortcuts isn’t as straightforward in Linux as it is in Windows.

    But that doesn’t mean it’s impossible to do so. This tutorial will show you the different methods of creating desktop shortcuts of folders and software on your Linux machine.

    For demonstration purposes, we will be using Ubuntu 22.04. So if you are using a different distribution, you may need to do some modifications in some cases. But the base idea is the same.

    Let’s get started!

    Linux Create Shortcut Using Command Line Interface (Terminal)

    First, we will see how to create shortcuts using terminal commands. No matter which Linux distro you are using (Ubuntu, Linux Mint, CentOS, OpenSUSE) you can always use the CLI for creating shortcuts.

    So launch your terminal using “Alt+Ctrl+T” and follow along with this tutorial.

    Method #1: Copying folder/application to the desktop

    We will first navigate to the folder (or directory) where our application is at. This folder will vary depending on the application and your Linux distro.

    For Ubuntu, it’s /usr/share/applications. So go to this directory with the following command:

    $ cd /usr/share/applications

    Output:

    cd command

    Now look at the list of applications in this folder with the ls command:

    $ ls

    Output:

    ls command

    You can scroll down to see the full list. So in this example, we will create a desktop shortcut of ‘CodeBlocks’. You need to copy the file of your desired application and move it to the desktop. You can do that with this command:

    $ cp <file> <destination>

    You have to replace <file> with the original file name and <destination> with the desktop directory. Here’s what it looks like in our case:

    $ cp codeblocks.desktop /home/ali23/Desktop/

    Output:

    cp command
    create shortcuts on linux

    Nice. We’ve successfully copied the app to our desktop. But we’re not finished yet. If you try to launch the app, you will run into an error. That’s because the copied version of the app doesn’t have the required permission to run. But we can change that.

    Left-click on the icon. Press “Allow Launching”. The icon will change.

    create shortcuts on linux

    Run the app. It should launch successfully. If not, try changing its permission.

    Navigate to the desktop directory using these commands.

    $ cd
    $ cd Desktop/

    Output:

    cd command

    Now you need to change the file permission using chmod like this:

    $ chmod u+x codeblocks.desktop

    Output:

    chmod command

    Now relaunch the app.

    Read Also: How to Install Outlook on Linux – Ubuntu

    Method #2: Symbolic links

    Another way to create shortcuts on Linux is using Symlinks. For this, we use the ln command. The only catch is that ln creates hard links. But we need short links. We can do that by using a flag.

    Here is what the basic command looks like.

    $ ls -s <path to the file you want to link> <path of where you want to link it>
    

    The first argument will be the directory of your desired file or app. The second argument, in this case, is the Desktop directory.

    So, for example, we want to create a shortcut for ‘Vim’. This will be the command we need to use:

    $ ln -s /usr/share/applications/vim.desktop ~/Desktop/

    Output:

    create symlinks on linux
    create shortcuts on linux

    You don’t have permission to launch it. So, change the permission mode as shown previously:

    $ cd Desktop/$ sudo chmod u+x vim.desktop

    Output:

    chmod command

    Finally, right-click on the icon and press “Allow Launching.”

    create shortcuts on linux

    Run the app.

    Method #3: Creating a “.desktop” file

    In this method, we will just create a “.desktop” file from scratch. We’re creating a shortcut for Evince document viewer. So we’ll need the path of where the application is located. You can know that with this command:

    $ which evince

    Output:

    which command

    We will need this information later.

    Now we need to open a text editor. We’ll be using nano. Feel free to use your favorite one. Open the file in the text editor with this command:

    $ nano ~/Desktop/Evince.desktop

    Output:

    linux nano

    Replace the directory path and file name with one suitable for your device.

    Now copy and paste this template into the file:

    [Desktop Entry]
    Version=   
    Type=
    Terminal=
    Exec=              
    Name=     
    Comment=     
    Icon=

    You will need to fill in the right side with the correct values. Here is what it looks like in our case:

    linux desktop file create

    The most important part is the “Exec” line. Remember the path we got from the which command? Paste that in this line.

    Once done, save by pressing “Ctrl+O”. Then quit by pressing “Ctrl+X”.

    Right-click on the icon and click “Allow Launching”.

    create shortcuts on linux

    Run the application.

    Related: iTunes for Linux – Is It Possible?

    Creating Desktop Shortcuts Using GUI

    If you like doing things from the GUI, then follow this method instead.

    1. Go to “Files”.
    linux files
    1. Go to Other Locations > Computer.
    linux navigation
    1. Go to usr > share > applications. You will find a list of all the applications you saw earlier.
    linux navigation
    1. Right-click on the file you want to create a shortcut of. Then press “Copy”. Alternatively, you can left-click the icon and press “Ctrl+C”.
    copy file linux
    1. Finally, return to the Desktop. Right-click on any empty space to open the options. Click on “Paste”. Alternatively, press “Ctrl+V”.
    2. Lastly, right-click on the icon and press “Allow Launching”.
    create shortcuts on linux
    1. Run the application and enjoy.

    Final Thoughts

    This tutorial shows you the different methods of creating shortcuts on a Linux desktop. We’ve covered both the GUI and CLI method so you can do it whichever way you prefer.

    You can create shortcuts without writing commands if your Linux distro is GUI-friendly. But if you feel more comfortable on the terminal or your distro isn’t so GUI-centric, then any of the 3 methods should work for you.

    If you have any questions regarding this tutorial, feel free to let us know in the comments below.

    linux
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Dinesh
    • Website

    Dinesh is the founder of Sysprobs and written more than 400 articles. Enthusiast in Microsoft and cloud technologies with more than 15 years of IT experience.

    Related Posts

    Fix Apple Intelligence Not Working in a macOS VM (VMware/UTM) on Windows 11/10 Host

    January 6, 2026

    Network Stack BIOS – What is it, and Should I enable it?

    December 15, 2025

    How to Install and Use Outlook for Ubuntu 24.04 LTS/24.10

    December 10, 2025

    How to Open WMF File on Mac – The Working Method

    March 6, 2024

    6 Ways To Fix The “Ubuntu Software Center Not Loading” Issue

    February 29, 2024

    Find Cool & Best Mac Wallpapers (HD Desktop Backgrounds) with Free Downloads

    February 17, 2024

    Comments are closed.

    Top Posts

    How to Install and Use Outlook for Ubuntu 24.04 LTS/24.10

    December 10, 2025

    Network Stack BIOS – What is it, and Should I enable it?

    December 15, 2025

    How to Open and Use VHDX in VirtualBox

    February 29, 2024
    Don't Miss

    Top 5 Tips That Help Turn Leads Into Paying Customers

    February 6, 2026

    Most people don’t wake up and suddenly decide to become your customer. They ease into…

    WordPress Backups and Disaster Recovery

    January 29, 2026

    How to Fix and Prevent Prompt Injection in Custom AI Agents

    January 20, 2026

    Fix Apple Intelligence Not Working in a macOS VM (VMware/UTM) on Windows 11/10 Host

    January 6, 2026
    Stay In Touch
    • Facebook
    • YouTube
    • Twitter
    • LinkedIn
    Latest Posts

    Top 5 Tips That Help Turn Leads Into Paying Customers

    February 6, 2026

    WordPress Backups and Disaster Recovery

    January 29, 2026

    How to Fix and Prevent Prompt Injection in Custom AI Agents

    January 20, 2026
    INFORMATION
    • About
    • Contact Us
    • Privacy Policy
    ABOUT

    Established in 2007, Sysprobs is a trusted resource for IT professionals and System Administrators. We bridge the gap between enterprise infrastructure and the future of fintech security. From Windows virtualization to Blockchain node management, we provide technical guides for the modern digital economy.

    POPULAR SECTION

    WINDOWS 11
    WINDOWS 10
    VIRTUALIZATION
    IT SECURITY
    PRO IT TIPS

     

    Sysprobs
    Facebook X (Twitter) YouTube LinkedIn
    • Home
    • Windows
    • Cloud
    • Security & Privacy
    © 2026 SYSPROBS: System Security & Fintech Solutions. Protected by Cloudflare.

    Type above and press Enter to search. Press Esc to cancel.