3

I've followed documentation provided by GNOME Desktop files: putting your application in the desktop menus and created an entry postman.desktop in /usr/share/applications with the following content:

[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=/opt/Postman/Postman
Icon=/opt/Postman/resources/app/assets/icon.png
Type=Application
Categories=Development;

And my postman installation is in /opt/Postman. But it's not showing up in my Ubuntu 17.10 Dash. The same kind of configuration worked for PyCharm.

pomsky
  • 70,557

4 Answers4

4

I see you're following the gnome desktop file instructions. Try following the Postman Installation documentation here

When I tried installing Postman, the icon only showed up in my gnome application menu after I ran sudo ln -s /opt/Postman/Postman /usr/bin/postman from the instructions.

EDIT: Starting with version 6.1.3, run sudo ln -s /opt/Postman/app/Postman /usr/bin/postman instead.

stuft2
  • 41
2

The simplest way I think is just to install Postman from Snap store:

sudo snap install postman

It will appear in Dash and also could add to Favorites

2

Step 1 : Open Terminal

Step 2 : cd /usr/share/applications/

Step 3 : sudo nano postman.desktop (Enter your password and a file will be opened for you)

Step 4 : Paste Following code line...

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Postman
Icon=/opt/Postman/app/resources/app/assets/icon.png
Exec=/opt/Postman/Postman
StartupNotify=false
StartupWMClass=Postman
OnlyShowIn=Unity;GNOME;
X-UnityGenerated=true

NOTE : Postman folder should place in /opt directory and please check above Icon and Exec path same as yours If not change it as your way.

1

I can't comment on the previous answer because I don't have enough reputation. Starting with version 6.1.3, need to run sudo ln -s /opt/Postman/app/Postman /usr/bin/postman instead.

Suhas K
  • 111