Skip to content

Instantly share code, notes, and snippets.

@rob-murray
Last active April 10, 2024 15:42
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
@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

/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

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