Advertisement
Fernando_Debian

desktop_packet_tracer

Nov 26th, 2024 (edited)
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.64 KB | None | 0 0
  1. #!/bin/bash
  2. # Download do ícone usado na área de trabalho
  3. wget https://i.postimg.cc/L5sGfWqy/pngwing-com.png -O \
  4. /home/$USER/.local/share/packet_tracer.png
  5.  
  6. # Criação do lançador .desktop
  7. [ -d /home/$USER/.local/share/applications/ ] || mkdir /home/$USER/.local/share/applications
  8. cat << EOF > /home/$USER/.local/share/applications/packet_tracer.desktop
  9. [Desktop Entry]
  10. Version=1.1
  11. Type=Application
  12. Name=Cisco Packet Tracer
  13. Comment=Um simulador de redes da empresa Cisco
  14. Icon=/home/$USER/.local/share/packet_tracer.png
  15. Exec=toolbox run --container packet_tracer_container /usr/local/bin/packettracer
  16. Actions=
  17. Categories=Network;
  18. EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement