Postman - Failed to open URI

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
malagasy
Posts: 5
Joined: 4. Feb 2024, 01:15

Postman - Failed to open URI

Post by malagasy »

Hello All,
After I have installed postman, then when I click the "run in postman" button from the top right of this page, then the app doesn't launch.
I did the test by installing this app using slapt-get (postman version 9.19.0) and slapt-src (postman version 10.23.0) but none of them has a desktop app. In XFCE menu list, searching for postman doesn't give any result but "run postman".

Then, after I added "x-scheme-handler/postman=postman.desktop" into ~/.local/share/applications/mimeapps.list, as mentionned in postman support on github here, then the icons appears in XFCE menu.
cat /usr/share/applications/postman.desktop
[Desktop Entry]
Name=Postman
Comment=Postman API Platform
Exec=/usr/bin/postman %U
Icon=/opt/postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
The steps I followed:

1. Navigate to https://apidocs.imgur.com/
2. Click on the "Run in Postman" button on the top right
3. Select "Run in.." > "Postman for Linux"
4. Select "Open xdg-open" on the modal that appears (Open xdg-open? https://apidocs.imgur.com wants to open this application.)
5. Nothing happens but the error message below:
Failed to open URI.
The specified location is not supported.
postman://app/collections/import/xxxxxxx
I didn't get this issue in my ubuntu machine, but I am not sure what to check to compare why it's not working here.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Postman - Failed to open URI

Post by gapan »

It seems that the postman package does not have that .desktop file, so all desktop integration is missing. Ideally, it should, but this comes from SBo and it should be fixed there. But you seem to have fixed that part anyway.

What this is probably, is that firefox doesn't know what to do with the postman:// protocol. See if this helps: https://scribe.rip/@hackthebox/how-to-o ... d5d9cb990b
Image
Image
malagasy
Posts: 5
Joined: 4. Feb 2024, 01:15

Re: Postman - Failed to open URI

Post by malagasy »

Thanks a lot, that works
Post Reply