Skip to content

Instantly share code, notes, and snippets.

@alefteris
Created April 30, 2012 18:52
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 12 You must be signed in to fork a gist
  • Save alefteris/2561211 to your computer and use it in GitHub Desktop.
Save alefteris/2561211 to your computer and use it in GitHub Desktop.
Smartgit desktop file for use with Ubuntu Unity launcher
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
StartupNotify=true
Name=Smartgit
Exec=env SMARTGIT_JAVA_HOME=/opt/apps/jre7/ /opt/apps/smartgit/bin/smartgit.sh
Icon=/opt/apps/smartgit/bin/smartgit-64.png
@jitendra3109
Copy link

Where this code I will put .If i created new file in bin folder then It cannot open .desktop file.

@dips99
Copy link

dips99 commented Jul 26, 2018

you need to write smartgit.desktop file that inside /usr/share/applications folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment