Update in 2024: You'll probably want to install via Snap, now that it's available and working fairly well.
-
-
Save hauthorn/d1da427b16133776bd8c65db802bc6ad to your computer and use it in GitHub Desktop.
[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 |
Thanks @JochemKuijpers
Awesome... Thanks @JochemKuijpers
I'm using version 6.7.4
, the icon path changed to
/opt/Postman-linux-x64-6.7.4/Postman/app/resources/app/assets/icon.png
Or use alacarte
package and add a new element with the following parameters:
name: Postman
command: /opt/Postman/Postman
icon: /opt/Postman/app/resources/app/assets/icon.png
where to put this file?
where to put this file?
You can add this to ~/.local/share/applications
if you are using Ubuntu @Ajithkumarsekar
The Complete Process with Latest Postman
- Check where your postman is installed, in my case it was
/opt/Postman
- Create a postman.desktop file anywhere.
touch postman.desktop
Paste the Following into that file (Adjust paths according to directory where your Postman is installed )
[Desktop Entry]
Type=Application
Version=1.0
Name=Postman
Comment=Supercharge your API workflow
Icon=/opt/Postman/app/resources/app/assets/icon.png
Exec="/opt/Postman/Postman"
Terminal=false
Copy this file to /home/.local/share/applications
or ~/.local/share/applications
Thanks!
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#
@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.
Thanks @JochemKuijpers
thanks for sharing. now, I can pin my postman on sidebar as favorite on my os-ubuntu.
[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;
Hi @rodentskie Could you elaborate? What does the %U
flag do?
Hi @rodentskie Could you elaborate? What does the
%U
flag do?
Please refer to this link.
You'll probably want to install via Snap, now that it's available and working fairly well.
thanks
Thanks!
If you installed in
/opt/Postman/
=>