DEV Community

Cover image for Ubuntu: Create Postman shortcut
Du Hoang
Du Hoang

Posted on

Ubuntu: Create Postman shortcut

Ubuntu 21.10

You just installed postman without using snap and don't know how to add it to your dock? Here is how

Create desktop entry

Open terminal and type

cd /usr/share/applications/
Enter fullscreen mode Exit fullscreen mode

Then

sudo nano postman.desktop
Enter fullscreen mode Exit fullscreen mode

nano can be replaced with gedit

Enter your password, a file will be opened for you, paste these

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

Save

Add to your favorites

Click on Show Applications

Search for Postman

Open it

Right click and choose Add to Favorites

Postman on dock

Discussion (0)