Postman

From bibbleWiki
Revision as of 04:00, 25 October 2022 by Iwiseman (talk | contribs) (Created page with "=Introduction= This is to store the issues with postman =Issue= Getting a token running v9 of the desktop application on Ubuntu 22.10 fails. I fails because of the snapd installation. It is unable to launch Postman on return of generating the token. There are a few bits I learn along the way with gnome and commands are here but not documented.<br><br> To get it to work you need to change the launch file. A trial in it's own right. This is located in. /var/lib/snapd/desk...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

This is to store the issues with postman

Issue

Getting a token running v9 of the desktop application on Ubuntu 22.10 fails. I fails because of the snapd installation. It is unable to launch Postman on return of generating the token. There are a few bits I learn along the way with gnome and commands are here but not documented.

To get it to work you need to change the launch file. A trial in it's own right. This is located in.

/var/lib/snapd/desktop/applications/postman_postman.desktop

The default installation does not specify a handler but here is the one I use

[Desktop Entry]
X-SnapInstanceName=postman
Name=Postman
#Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/postman_postman.desktop /snap/bin/postman
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/postman_postman.desktop /snap/bin/postman %U
Icon=/snap/postman/184/usr/share/postman/icons/icon_128x128.png
Categories=Development
MimeType=x-scheme-handler/postman
Terminal=false
Type=Application
StartupWMClass=Postman

I also changed the mime settings but no idea if it uses them in ~/.config/mimeapps.list

[Default Applications]
...
x-scheme-handler/postman=postman_postman.desktop
x-scheme-handler/Postman=postman_postman.desktop

[Added Associations]
....