Skip to content

Instantly share code, notes, and snippets.

@bogdanRada
Forked from rob-murray/add_intellij_launcer
Created October 6, 2022 13:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bogdanRada/d9e9a025e07a0b1eb242d1e916c8730a to your computer and use it in GitHub Desktop.
Save bogdanRada/d9e9a025e07a0b1eb242d1e916c8730a 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment