You need to place a .desktop file for your application in ~/.local/share/applications. It’s often easiest to copy a desktop file that is shipped in some package and modify it. For example: /usr/share/applications/org.gnome.gedit.desktop
I did it but when the application opened, 2 different icon appears as seen in the screenshot. I want it to appear only one when I opened it, in the second slot of my favorite applications. How can I do it?
Here is my webstorm.desktop file, located in .local/share/applications file:
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
In my opinion, @ersinware, you can use Alacarte, which is easier to use than other methods. It is an old application, however, it works. Just
-install : sudo dnf install alacarte from the terminal
-create a new item, and add all the necessary information, such as name, command and comment
-you’ve done the job
OK now. Thank you very much.
By the way, when it is installed via Gnome Software, it runs on Flatpak environment. I have experienced some problems about file access while using it through Flatpak. Therefore, I have installed its official release.