Thursday, May 16, 2024
 Popular · Latest · Hot · Upcoming
30
rated 0 times [  30] [ 0]  / answers: 1 / hits: 32940  / 2 Years ago, thu, november 3, 2022, 4:31:45

I currently have IntelliJ IDEA 15.01 on my system. I recently downloaded Intellij IDEA 15.04. After running the idea.sh script to open it, I went to the tools menu, and created the desktop launcher. After closing IDEA, I tried to open it with the launcher, which instead opened IDEA 15.01. After that, I tried opening IDEA using the launcher in /usr/share/applications (which is working correctly) and then pinning the corresponding launcher to the desktop. The launcher works correctly until I restart my computer. After I restart, the launcher reverts to opening IDEA 15.01.



How do I fix this?



IDEA install directory: /home/thenumberone/idea-IC-143.2287.1/



Contents of /usr/share/applications/jetbrains-idea-ce.desktop:



[Desktop Entry]
Version=1.0
Type=Application
Name=IntelliJ IDEA Community Edition
Icon=/home/thenumberone/idea-IC-143.2287.1/bin/idea.png
Exec="/home/thenumberone/idea-IC-143.2287.1/bin/idea.sh" %f
Comment=Develop with pleasure!
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-idea-ce

More From » unity

 Answers
7

The cause


I am 100% sure you still have a local idea 15.01 launcher in ~/.local/share/applications/jetbrains-idea-ce.desktop.


If you drag the global one (/usr/share/applications/jetbrains-idea-ce.desktop) on to the launcher, you temporarily "force" the Unity Launcher to work with the global one, but the local one overrules the global one on restart (log in).


What to do?


Simply remove the local .desktop file in ~/.local/share/applications, log out and back in.


[#16350] Saturday, November 5, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
itutejagua

Total Points: 89
Total Questions: 124
Total Answers: 113

Location: British Indian Ocean Territory
Member since Sun, Feb 13, 2022
2 Years ago
;