Skip to content

Instantly share code, notes, and snippets.

@hauthorn
Last active October 20, 2024 10:50
Show Gist options
  • Save hauthorn/d1da427b16133776bd8c65db802bc6ad to your computer and use it in GitHub Desktop.
Save hauthorn/d1da427b16133776bd8c65db802bc6ad to your computer and use it in GitHub Desktop.
Postman desktop entry
[Desktop Entry]
Categories=Development;
Comment=Supercharge your API workflow
Exec="/home/hauthorn/Programs/Postman/Postman"
Icon=/home/hauthorn/Programs/Postman/app/resources/app/assets/icon.png
Name=Postman
Terminal=false
Type=Application
Version=1.0

Update in 2024: You'll probably want to install via Snap, now that it's available and working fairly well.

@luixal
Copy link

luixal commented Apr 22, 2021

Thanks!

@Msonko07
Copy link

Msonko07 commented Jul 7, 2021

root@mouhamedsonko-HP-ProBook-4540s:/home/mouhamedsonko/Bureau# cp postman.desktop /home/.local/share/applications
cp: impossible de créer le fichier standard '/home/.local/share/applications': Aucun fichier ou dossier de ce type
root@mouhamedsonko-HP-ProBook-4540s:/home/mouhamedsonko/Bureau# cd /home
root@mouhamedsonko-HP-ProBook-4540s:/home# ls
hero mouhamedsonko
root@mouhamedsonko-HP-ProBook-4540s:/home# ls -a
. .. hero mouhamedsonko
root@mouhamedsonko-HP-ProBook-4540s:/home# cd .local
bash: cd: .local: Aucun fichier ou dossier de ce type
root@mouhamedsonko-HP-ProBook-4540s:/home#

@hauthorn
Copy link
Author

hauthorn commented Jul 8, 2021

@Msonko07 you want to make sure the folder exists first. Are you using ubuntu?

I'm surprised it's not there, but maybe you are using a different distribution with a different folder structure.

You can try mkdir -p /home/.local/share/applications to create the folder, but I don't think that going to help much if you are using some other linux distribution.

@MamadouAlySy
Copy link

@RiansyahTohamba
Copy link

thanks for sharing. now, I can pin my postman on sidebar as favorite on my os-ubuntu.

@rodentskie
Copy link

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

@hauthorn
Copy link
Author

Hi @rodentskie Could you elaborate? What does the %U flag do?

@rodentskie
Copy link

Hi @rodentskie Could you elaborate? What does the %U flag do?

Please refer to this link.

@hauthorn
Copy link
Author

You'll probably want to install via Snap, now that it's available and working fairly well.

@anastabiti
Copy link

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment