Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save abdallahokasha/68a296b05d00222887b30465724a3c41 to your computer and use it in GitHub Desktop.
Save abdallahokasha/68a296b05d00222887b30465724a3c41 to your computer and use it in GitHub Desktop.

For example: postman

gksudo gedit /usr/share/applications/postman.desktop or sudo gedit /usr/share/applications/postman.desktop

**Note gksudo is used for graphical sudo

and put this in the file

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Postman
Icon=postman.png
Path=/home/[your username]/Postman
Exec=/home/[your username]/Postman/Postman
StartupNotify=false
StartupWMClass=Postman
OnlyShowIn=Unity;GNOME;
X-UnityGenerated=true

and then Save

That's the same for any app. we want to put it's icon in launcher. ;)

Refercence

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