Skip to content

Instantly share code, notes, and snippets.

@danielrobertson
Last active August 29, 2015 14:01
Show Gist options
  • Save danielrobertson/2f28d0ab77652e9416cc to your computer and use it in GitHub Desktop.
Save danielrobertson/2f28d0ab77652e9416cc to your computer and use it in GitHub Desktop.
How to add an icon for IntelliJ. Update the Icon and Exec to where you unzipped idea-IC-135.690.gz and installed IntelliJ.
// 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/daniel/idea-IC-135.690/bin/idea.png
Name[en_US]=IntelliJ
Exec=/home/daniel/idea-IC-135.690/bin/idea.sh
Name=IntelliJ
Icon=/home/daniel/idea-IC-135.690/bin/idea.png
// modify permissions
sudo chmod 644 /usr/share/applications/intellij.desktop
sudo chown root:root /usr/share/applications/intellij.desktop
// and voila! Hit Superkey and search for Intellij to view the icon. It can be locked to the launcher.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment