31, Oct 2026 RSS feed ↗

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.

Evren Elveren is the founder of LinuxHospital, iPhonePost, iPhonePedia, CasinoPost, SongArea, SongLyrics.band and LyricsKid. An entrepreneur active in online publishing and digital projects since 2006, he brings a publisher's perspective to the way technology, entertainment and online businesses develop. His background in architecture informs his interest in design, usability and the small details that make a product or website work well. Evren writes about consumer technology, Linux, digital finance and music, connecting product announcements with their wider business and cultural context. Across the network, his editorial focus is on clear explanations, useful comparisons and practical information that helps readers understand a change before deciding what to do next.

More from this author →