Skip to content

Instantly share code, notes, and snippets.

@JuanJo4
Created June 30, 2012 18:21
Show Gist options
  • Save JuanJo4/3024934 to your computer and use it in GitHub Desktop.
Save JuanJo4/3024934 to your computer and use it in GitHub Desktop.
nano /usr/share/applications/name.desktop
# PASTE the following /usr/share/applications/name.desktop
[Desktop Entry]
Encoding=UTF-8
Name=name
Comment=comment
Exec=name_shortcut
Icon=/path/folder/icon.png
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true
touch /usr/bin/name
chmod 755 /usr/bin/name
# PASTE the following in /usr/bin/name
#!/bin/sh
export DIR_HOME="/path/folder"
$DIR_HOME/name $*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment