Article 53RKK How to lunch a python file from desktop

How to lunch a python file from desktop

by
hnasr2001
from LinuxQuestions.org on (#53RKK)
Hello;

I have an application written in python. I can execute this file by using the following command;

python3 /path/python.py

I want to create an icon in the desktop to do this.
I made a .dektop file with the following contents and have it on the ~/.local/application directory but no icon appeared on the desktop.

Name=backup
Exec=python3 /path/python.py
Icon=/usr/share/pixmaps/jawas.png
Path=/path
Terminal=false
Type=Application
StartupNotify=true

I am getting lunching on the application if I click on the file.

Would you please guide me on what changes do I need to make?latest?d=yIl2AUoC8zA latest?i=Z2qnGLYQ90w:n76eCsR1DJ4:F7zBnMy latest?i=Z2qnGLYQ90w:n76eCsR1DJ4:V_sGLiP latest?d=qj6IDK7rITs latest?i=Z2qnGLYQ90w:n76eCsR1DJ4:gIN9vFwZ2qnGLYQ90w
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments