Skip to content

Instantly share code, notes, and snippets.

@rob-murray
Last active July 16, 2024 23:43
Show Gist options
  • Save rob-murray/6828864 to your computer and use it in GitHub Desktop.
Save rob-murray/6828864 to your computer and use it in GitHub Desktop.
Add Intellij launcher shortcut and icon for ubuntu
// 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
@HEXDude
Copy link

HEXDude commented May 28, 2022

What if that my latest IDEA|CLion doesn't even has 'Creat Desktop Entry' from Tool menu?😢

I'm currently using Ubuntu-20.04 in WSLG as my distro.

image

@agirishkumar
Copy link

I installed IntelliJ in Arch and first launched the program from bin folder by executing ./idea.sh in terminal. in the welcome screen, there is a settings icon at the bottom, there i was able to find create Desktop entry
createdesktopentry

@TheBraveByte
Copy link

Thanks you so much for this tips

@TheBraveByte
Copy link

Thanks you so much for this tips

@Iriza-peace
Copy link

thank u

@Kronomus
Copy link

thank u

@naarad-muni
Copy link

Thank You, this worked

@intelQong
Copy link

thanks

@AlexRuiz7
Copy link

Works like a charm

@Sailokeshg
Copy link

Worked perfectly, thanks

@Razuuu
Copy link

Razuuu commented Sep 26, 2023

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

@noelty
Copy link

noelty commented Jan 12, 2024

thanks alot

@Dvixth
Copy link

Dvixth commented Feb 5, 2024

The Tools option works perfectly

@gergoistvannagy
Copy link

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)

@TajwarSaiyeed
Copy link

Screenshot from 2021-05-11 21-59-00

@omkz Thanks a lot dear

@imertvec
Copy link

thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment