15, Oct 2026 RSS feed ↗
Fedora

How to Create Desktop Icon on Fedora Linux

Creating a desktop icon on Fedora Linux involves a few steps:

  1. Create a desktop file: A desktop file is a configuration file that describes the properties of the application, such as its name, icon, and command to run. Create a new file with a .desktop extension in the /usr/share/applications/ directory. For example:
sudo nano /usr/share/applications/myapp.desktop
  1. Add the following lines to the file, replacing the values as appropriate:
[Desktop Entry]
Name=My Application
Comment=Description of my application
Exec=/path/to/my/application
Icon=/path/to/my/icon.png
Terminal=false
Type=Application
Categories=Utility;
  1. Save the file and exit the text editor.
  2. Make the file executable:
sudo chmod +x /usr/share/applications/myapp.desktop
  1. Add the desktop icon to the user's desktop:
cp /usr/share/applications/myapp.desktop ~/Desktop/

This will copy the .desktop file to the user's Desktop directory, and the icon will appear on the desktop.

Alternatively, you can create a symbolic link to the .desktop file:

ln -s /usr/share/applications/myapp.desktop ~/Desktop/myapp.desktop

This will create a symbolic link to the .desktop file in the user's Desktop directory.

E

Evren E.

Holding a degree in Architecture, Evren E. brings a unique design-oriented perspective to his writing. Passionate about technology, blockchain, finance, music, and design, he crafts engaging content that bridges innovation and creativity across gaming, music, and tech platforms.

More from this author →