Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA lost icon after launch

I changed to use JetBrains Toolbox App to manage IntelliJ IDEA/PyCharm/WebStorm (I have reinstalled all the JetBrains products using Toolbox App) in my Ubuntu 16.04.2 recent days. Now I have an issue: each time when I started IntelliJ IDEA from the Toolbox App or from the command line (./idea.sh), IntelliJ IDEA could run as I wished but without an icon in the launcher bar, only a white question mark. However, if I start it by double-click the thumbnail of it, everything would be OK, including a beautiful icon in my ubuntu launcher bar!

Does anyone know how to fix? This is not a big trouble, but I just want to make everything fine with my develop environment.

like image 345
nick Avatar asked Apr 30 '17 13:04

nick


1 Answers

I do not know if it would work for Gnome, but for KDE I fixed it in the next way:

  1. Open folder /home/USERNAME/.local/share/applications/
  2. Find jetbrains-idea.desktop.
  3. Right mouse click on it, then select Properties
  4. Open Application tab
  5. Next to the Command section click Browse... button and select idea.sh file in /pathToIntelliJ/bin folder. (In my case the path was already correct, but it seems that selection the file again rewrite something and Icon works ok now).
  6. Click OK.

Also, according to this post, this bug must be fixed in 18.3 (now is 18.2.5)

like image 169
TitanFighter Avatar answered Sep 18 '22 13:09

TitanFighter