Score:0

Intellij Idea not showing up in apps and cannot add it to Favorites

us flag

I am running Ubuntu 20.04 quite recently upgraded from 18.04.

I have desktop entry for Intellij Idea (manually installed in /opt/) from which I can launch it but for some reason it is not show in Apps list and also I am unable to pin it to the favorites.

Here is the content of the .desktop file:

[Desktop Entry]
Type=Application
Name=IntelliJ IDEA Community Edition
Icon=/opt/idea-IC-202.6397.94/bin/idea.svg
Exec="/opt/idea-IC-202.6397.94/bin/idea.sh" %f
Categories=Development;IDE;

I have tried to delete, recreate the desktop entry and re-login but to no avail.

What is needed in order such manually installed product to 1. get listed in the apps list and 2. be able to pin it to Favorites?

Kulfy avatar
mz flag
Where is that .desktop file located? You can create Desktop Entry from IntelliJ itself using option in title bar menu, eliminating manual work :)
us flag
I have already did that. Did not helped
Kulfy avatar
mz flag
The desktop entry seems fine to me. Did you reload shell after creating? Where is desktop entry located? Does `desktop-file-validate fileName.desktop` return anything (replace `fileName.desktop` with actuals)?
us flag
I've tried both in /usr/share/applicaitons (created by Intellij IDEA) and ~/Desktop (copy by me). desktop-file-validate do not show any problems. I've managed to make it to show in the applications list (edited /usr/share/applicaitons and removed some items) but still unable to add it to the Favorites.
Kulfy avatar
mz flag
IntelliJ creates in `~/.local/share/applications` unless you're creating system wide for all users. To add in favorites you can simply drap and drop to dock.
us flag
@Kulfy Yes, I tried both system wide and just for current user. Drag and drop does not work.
Score:2
us flag

Thanks to @Kulfy I found the problem: there was an old .desktop file for IntelliJ IDEA in ~/.local/share/applications which contained invalid path (pointing to old version).

After deleting it and restarting GNOME shell using Alt+F2 and ruuning restart, I was able to add it to Favorites.

Score:0
us flag
  1. first you can try to install from ubuntu software, eveeything should work correctly

  2. try change:

Icon=/opt/idea-IC-202.6397.94/bin/idea.svg to:

Icon=/opt/idea-IC-202.6397.94/bin/idea.png

us flag
I don't want to install the bundled package because it lags in updates. At the same time Intellij does not provide PPA...
Pawel W avatar
us flag
Icon=/opt/idea-IC-202.6397.94/bin/idea.png
us flag
I am afraid it did not helped
Score:0
cn flag

I will recommend you to download Jetbrains Toolbox and then manage these IDEs. It will be better and I prefer it. From updating to installing any Jetbrains IDE, it is simple. Just open the toolbox and install any IDE you want.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.