Skip to content

Instantly share code, notes, and snippets.

@odrianoaliveira
Created April 23, 2018 18:16
Show Gist options
  • Save odrianoaliveira/2df589314645ee5c8de31ed679335607 to your computer and use it in GitHub Desktop.
Save odrianoaliveira/2df589314645ee5c8de31ed679335607 to your computer and use it in GitHub Desktop.
// create the file:
sudo vim /usr/share/applications/intellij.desktop
// add the following entry
[Desktop Entry]
Version=2018.1.1
Type=Application
Terminal=false
Icon[en_US]=/opt/idea/idea-IC-181.4203.550/bin/idea.png
Name[en_US]=IntelliJ
Exec=/opt/idea/idea-IC-181.4203.550/bin/idea.sh
Name=IntelliJ
Icon=/opt/idea/idea-IC-181.4203.550/bin/idea.png
// mod the permissions
sudo chmod 644 /usr/share/applications/intellij.desktop
sudo chown root:root /usr/share/applications/intellij.desktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment