-
Star
(301)
You must be signed in to star a gist -
Fork
(70)
You must be signed in to fork a gist
-
-
Save rob-murray/6828864 to your computer and use it in GitHub Desktop.
// create file: | |
sudo vim /usr/share/applications/intellij.desktop | |
// add the following | |
[Desktop Entry] | |
Version=13.0 | |
Type=Application | |
Terminal=false | |
Icon[en_US]=/home/rob/.intellij-13/bin/idea.png | |
Name[en_US]=IntelliJ | |
Exec=/home/rob/.intellij-13/bin/idea.sh | |
Name=IntelliJ | |
Icon=/home/rob/.intellij-13/bin/idea.png | |
// mod permissions | |
sudo chmod 644 /usr/share/applications/intellij.desktop | |
sudo chown root:root /usr/share/applications/intellij.desktop |
king gist
Yeah, the instructions say Open IntelliJ, click Tools, then click "Create Desktop Entry." What it DOESN'T say is between step 1 and 2 you have to open a project. The issue is there is a Tools object on the launch screen, but you need the Tools MENU. @8FN you are the man.
Thanks!! work perfectly!
Thank you very much!
Thanks a lot!
Thanks you so much for this tips
Thanks you so much for this tips
thank u
thank u
Thank You, this worked
thanks
Works like a charm
Worked perfectly, thanks
Tools > Create Desktop Entry
/usr/share/applications/jetbrains-idea-ce.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=IntelliJ IDEA Community Edition
Icon=<path>/bin/idea.svg
Exec="<path>/bin/idea.sh" %f
Comment=Capable and Ergonomic IDE for JVM
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-idea-ce
StartupNotify=true
thanks alot
The Tools option works perfectly
On Ubuntu 24.04 the Tools > Create Desktop Entry way works like a charm.
Once the Icon appears on the dash, you can pin it easily (right click)
@omkz Thanks a lot dear
thanks a lot
Thanks!
For info, Ubuntu 24 added a Desktop Entry by added the .desktop file to: /home/marc/.gnome/apps/jetbrains-idea-ce.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=IntelliJ IDEA Community Edition
Icon=/home/marc/work/idea-IC-251.23774.435/bin/idea.svg
Exec="/home/marc/work/idea-IC-251.23774.435/bin/idea" %f
Comment=Capable and Ergonomic IDE for JVM
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-idea-ce
StartupNotify=true
OnlyShowIn=Old;
For info, Ubuntu 24 added a Desktop Entry by added the .desktop file to: /home/marc/.gnome/apps/jetbrains-idea-ce.desktop
[Desktop Entry] Version=1.0 Type=Application Name=IntelliJ IDEA Community Edition Icon=/home/marc/work/idea-IC-251.23774.435/bin/idea.svg Exec="/home/marc/work/idea-IC-251.23774.435/bin/idea" %f Comment=Capable and Ergonomic IDE for JVM Categories=Development;IDE; Terminal=false StartupWMClass=jetbrains-idea-ce StartupNotify=true OnlyShowIn=Old;
there is a way to add an icon directly from the IDE easly
For info, Ubuntu 24 added a Desktop Entry by added the .desktop file to: /home/marc/.gnome/apps/jetbrains-idea-ce.desktop
[Desktop Entry] Version=1.0 Type=Application Name=IntelliJ IDEA Community Edition Icon=/home/marc/work/idea-IC-251.23774.435/bin/idea.svg Exec="/home/marc/work/idea-IC-251.23774.435/bin/idea" %f Comment=Capable and Ergonomic IDE for JVM Categories=Development;IDE; Terminal=false StartupWMClass=jetbrains-idea-ce StartupNotify=true OnlyShowIn=Old;there is a way to add an icon directly from the IDE easly
Yeah, that's what I did.
I was expecting it to go in /usr/share/applications and it didn't - so for anyone wondering what the add Desktop Entry does under the hood I was sharing here.
thank you