Skip to content
LinuxHospital.com

LinuxHospital.com

Your Best Solution to all Linux Based Problems

  • Arch Linux
  • Centos
  • Debian
  • Fedora
  • Gentoo
  • Kali Linux
  • Linux Mint
  • Manjaro
  • Open Suse
  • Red Hat
  • Solus
  • Ubuntu
  • Zorin
  • Toggle search form

How to Create Desktop Icon on Fedora Linux

Posted on February 16, 2023February 19, 2023 By oarsman 1 Comment on 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.

Fedora Tags:How to Create Desktop Icon on Fedora Linux

Post navigation

Previous Post: How to Change Date and Time on Debian Linux
Next Post: How to Update GRUB on Linux Mint

Comment (1) on “How to Create Desktop Icon on Fedora Linux”

  1. KJ1GMLS2 says:
    September 13, 2023 at 8:07 am

    Thanks for the solution!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Distros

  • Arch Linux
  • Centos
  • Debian
  • Fedora
  • Gentoo
  • Kali Linux
  • Linux Mint
  • Manjaro
  • Open Suse
  • Red Hat
  • Solus
  • Ubuntu
  • Zorin

Most Popular Problems

Copyright © 2023 LinuxHospital.com.

Powered by PressBook Green WordPress theme