I use Fedora 34, GNOME 40.3.
I want to add a program which I have installed through its website to GNOME’s software list, so I will be able to open it quickly without using terminal.
I have placed files of the program in /opt folder and I have added a symbolic link of the program in to /usr/bin folder.
I want to see the program here:
Hi @ersinware , welcome to the forum.
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:
Please take a look at these related posts also:
Hello @ankursinha , thank you.
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
I hope this could help you
Thanks for your help, @gpanebianco . Unfortunately, it did not work. The result is the same.
Hi, I think you have to add one more line:
I tried commenting this line out and the result was very similar to what happens on your PC:
Here is the complete entry for Pycharm on my laptop:
Name=PyCharm Community Edition
GenericName=The intelligent Python IDE
Please note that the entry above is for Pycharm. I am not sure what the WM Class for WebStorm should be. However, I found this on github. Maybe try to add the missing ones to your .desktop file.
By the way, I installed Pycharm from Gnome Software and I can see that WebStorm is available. I believe if you install it from there it would be configured already. Cheers.
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.