07-19-2020 01:55 AM
Setting up Linux (CentOS) workstation as a development environment
As per page 7/10 @ https://developer.cisco.com/learning/modules/dev-setup/dev-centos/step/7,
Permission denied on creating application shortcut for Postman on the Desktop as sudo
Solved! Go to Solution.
07-19-2020 02:04 AM
As a root, I was able to echo to postman.desktop
echo "[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/opt/Postman/resources/app/assets/icon.png /opt/Postman/app/resources/app/assets.icon.png
Terminal=false
Type=Application
Categories=Development" > postman.desktop
07-19-2020 02:09 AM
there was a typo, '.' instead of '/'
Icon=/opt/Postman/app/resources/app/assets/icon.png
07-19-2020 02:04 AM
As a root, I was able to echo to postman.desktop
echo "[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/opt/Postman/resources/app/assets/icon.png /opt/Postman/app/resources/app/assets.icon.png
Terminal=false
Type=Application
Categories=Development" > postman.desktop
07-19-2020 02:09 AM
there was a typo, '.' instead of '/'
Icon=/opt/Postman/app/resources/app/assets/icon.png
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide