MilloMille
Posts: 24
Joined: Tue Oct 18, 2016 3:03 pm

Desktop shortcut: run python as application

Thu Oct 20, 2016 7:41 am

Hello I got a python application I frequently use so I created a desktop shortcut. I did so by creating a text file and typing

Code: Select all

[Desktop Entry]
Name=Printerface
Comment=Software for 3D printing
Icon=/home/pi/Printrun/Pronterface.png
Exec=/home/pi/Printrun/Pronterface.py
Terminal=true
Type=Application
Categories=Printing;
The Shortcut works just fine but it runs the python script by terminal which means the terminal opens and you get to see two ugly warnings. When i double click it I also have an option for running it as application

Return to “Beginners”