


$ gnome-desktop-item-edit ~/.local/share/applications -create-new In GNOME desktop, you can use gnome-desktop-item-edit to configure a desktop shortcut easily. Create a Desktop Shortcut on GNOME Desktop desktop file, there are various desktop-specific ways to create an application shortcut, which I am going to cover in the rest of the tutorial. Icon=/opt/yed-3.11.1/icons/yicon32.png # location of icon file.Ĭategories=Application Network Security # categories in which this app should be listed.Ĭomment=yEd Graph Editor # comment which appears as a tooltip.īesides manually create. Terminal=false # whether an app requires to be run in a terminal. GenericName=GUI Port Scanner # longer name of an app.Įxec=java -jar /opt/yed-3.11.1/yed.jar # command used to launch an app. desktop file using any text editor, and place it in either /usr/share/applications or ~/.local/share/applications. To manually create a desktop shortcut for a particular program or command, you can create a. Create a Desktop Shortcut From the Command Line The former directory stores desktop shortcuts that are available for every user, while the latter folder contains shortcuts created for a particular user only. Desktop shortcut files are placed in /usr/share/applications or ~/.local/share/applications. desktop file which contains meta information of a given app (e.g., name of the app, launch command, location of icon file, etc.). In this tutorial, I will describe how to create a desktop shortcut or launcher in various Linux desktop environments.Ī desktop shortcut is represented by a corresponding. While most GUI programs automatically create their desktop shortcut during installation, GUI programs built from their source or terminal applications may require you to set up associated shortcuts manually. If you have a program you use regularly on Linux desktop, you may want to create a desktop shortcut, so you can launch the program by simply clicking on the shortcut. How to create desktop shortcut or launcher on Linux
