LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-21-2020, 11:34 AM   #1
hnasr2001
Member
 
Registered: Nov 2012
Posts: 89

Rep: Reputation: Disabled
How to lunch a python file from desktop


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?

Last edited by hnasr2001; 05-21-2020 at 11:42 AM.
 
Old 05-21-2020, 04:00 PM   #2
shruggy
Member
 
Registered: Mar 2020
Posts: 597

Rep: Reputation: Disabled
You probably misspelled the icon name: is it javaws.png?
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Python Python Python (aka Python 3) LXer Syndicated Linux News 0 08-05-2009 08:30 PM
LXer: MacOS and the Linux desktop lunch LXer Syndicated Linux News 0 01-23-2008 06:00 PM
System goes to lunch after about 24 hours EwanG Linux - General 6 11-01-2004 07:27 PM
UT2K4 doesn't lunch after fixed patch hyperion57070 Linux - Games 4 06-14-2004 10:44 AM
working lunch acid_kewpie General 2 04-17-2002 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration