1

First of all, I saw this question and all the others with similar answer and it does not seem to work for me. I use Ubuntu 19.04 and GNOME 3.32.1

I downloaded Postman (a code testing tool) and I want to be able to launch it from the dock. When I launch it from the shortcut, it appears in the dock:

enter image description here

But when I right-click it, I cannot add it to my favorites, which usually allows me to pin an application to the dock: enter image description here

I also tried to add a desktop file to /usr/share/applications and ~/.local/share/applications and make it executable, and then restarting gnome, but it did nothing. Desktop file :

[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Postman
Icon=/home/[my user name]/Utilities/Postman/app/resources/assets/icon.png
Exec=/home/[my user name]/Utilities/Postman/app/Postman
Terminal=false
Categories=Development;
  • You won't make a .Desktop file executable. Did you try little tool called alacarte to create a launcher ? – pLumo Aug 20 '19 at 14:47
  • I forgot to mention that but yes I did, did not work either. Also I was able to give executable rights to a .desktop file. – Tom Aug 20 '19 at 14:48
0

Ok so I was able to add it to the dock following these steps. Add this desktop file to ~/.local/share/applications as postman.desktop:

[Desktop Entry]
Type=Application
Name=Postman
Icon=/home/[my user name]/Utilities/Postman/app/resources/app/assets/icon.png
Exec=/home/[my user name]/Utilities/Postman/app/Postman
Terminal=false
Categories=Development;

then searching for "postman" via "Activities" (it only shows up there if you already created the .desktop file) and right click it > add to favorites.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.