Skip to content

Instantly share code, notes, and snippets.

@madr
Last active December 12, 2015 09:09
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 madr/4749398 to your computer and use it in GitHub Desktop.
Save madr/4749398 to your computer and use it in GitHub Desktop.
IDEA 12 Desktop Entry for GNOME 3
#!/bin/bash
# /usr/local/bin/idea
export IDEA_JDK=/opt/java # Oracle JDK!
screen -dmS idea <idea_dir>/bin/idea.sh
# /usr/share/applications/idea.desktop
[Desktop Entry]
Encoding=UTF-8
Version=12
Type=Application
Exec='/usr/local/bin/idea' %f
Icon=idea # ln -s <idea_dir>/bin/idea.png /usr/local/share/icons/idea.png
Name=IntelliJ IDEA
Comment=Full-featured commercial IDE
NoDisplay=false
Categories=TextEditor;Programming
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment