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
@omkz
Copy link

omkz commented May 11, 2021

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

@galek
Copy link

galek commented May 21, 2021

Thanks a lot!

@harshit149
Copy link

Thanks very much!

@khaosorchestrator
Copy link

Thanks a lot.

@vitormateusalmeida
Copy link

I think it's easier to

  1. open Intelli J
  2. Click on "Tools"
  3. Click on "Create Desktop Entry..."

... and be done.

Noice

@sahanruwantha
Copy link

thank you

@mateusz-rutski-red
Copy link

king gist

@Emcommer
Copy link

Yeah, the instructions say Open IntelliJ, click Tools, then click "Create Desktop Entry." What it DOESN'T say is between step 1 and 2 you have to open a project. The issue is there is a Tools object on the launch screen, but you need the Tools MENU. @8FN you are the man.

@diegolardo
Copy link

Thanks!! work perfectly!

@prelag
Copy link

prelag commented Mar 11, 2022

Thank you very much!

@jeffersonchaves
Copy link

Thanks a lot!

@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

/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