473,379 Members | 1,335 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Desktop icon

2
Hi,
I want to create a desktop shortcut/icon for python file. How to make this?
Aug 20 '20 #1
5 2893
dev7060
636 Expert 512MB
Right click on desktop -> New -> Shortcut

Create a shortcut of a batch file instead if things need to be automated.
Aug 20 '20 #2
sadash
2
Can you provide, for ubuntu
Aug 20 '20 #3
madankarmukta
308 256MB
Right click on desktop -> New -> Shortcut

Create a shortcut of a py file instead if things need to be automated.You can also put it to the taskbar for quick access.

Let me know if this doesnt help.
Aug 20 '20 #4
dev7060
636 Expert 512MB
Can you provide, for ubuntu
I'm afraid I don't work with this OS.

Right click on desktop -> New -> Shortcut

Create a shortcut of a py file instead if things need to be automated.You can also put it to the taskbar for quick access.

Let me know if this doesnt help.
Nice copy paste. But it sure didn't help.
Aug 20 '20 #5
Ishan Shah
47 32bit
Following Steps are useful for create a desktop shortcut/icon for python file in Ubuntu OS :

1. Right click on your desktop and create a new empty document.
2. Set the document file type by Renaming the document that ends with .desktop
3. Drag the document into a text editor and edit the document with the example code below

Expand|Select|Wrap|Line Numbers
  1. [Desktop Entry]
  2. Name=Pupil Capture
  3. Version=v0.8.5
  4. Icon=pupil-capture
  5. X-Icon-Path=/path/to/icon/file/
  6. Exec=python /path/to/py/file/main.py
  7. Terminal=false
  8. Type=Application
  9.  
Aug 21 '20 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Eskimo Joe | last post by:
I am trying to create a desktop icon using VB6. is this possible? -p
1
by: Bodi | last post by:
Hello, Could someone please tell me if there is a way, or how do I change my html/javascript so that if I drag and drop a link from a webpage to the desktop in such a way that the name of the...
3
by: Bodi | last post by:
Hello, Could someone please tell me if there is a way, or how do I change my html so that if I drag and drop a link from a webpage to the desktop in such a way that the name of the shortcut...
4
by: blagdam | last post by:
Is it possible to launch a functional Access 2000 db switchboard by clicking on a desktop icon? I have searched the Microsoft Knowlege Base but, apparently I'm not phrasing my search in the...
1
by: | last post by:
I need to let the user know what state a certain property had the last time the program was run. Is there a way to have the application itself change the desktop icon used to start the program. I...
2
by: Rob R. Ainscough | last post by:
I've setup a Windows Installer Setup Project for my VS 2005 VB.NET app -- it installs find, but my Desktop icon and Programs Menu icon do not run the app ..exe when I click on them -- I can't...
0
by: Steve | last post by:
After installing my application (which I developed using Visual Studio 2005) on a target desktop, the desktop icon shows the icon that is assigned to the application exe - which is what I want. ...
1
by: Steve Richter | last post by:
can a desktop icon, used to launch an application window like windows explorer, be a child control in a window form? I checked the windows forms controls in VS2005 and did not see any such...
2
by: Lysander | last post by:
This is a strange one. I am running MS-Access 2003, under Windows XP and have many desktop shortcuts, used to pick up the correct mdw file. An example would be called "Champion System" and have...
1
by: kiransmore07 | last post by:
Encoding=UTF-8 Name=Accountz Comment=Launch Accountz Exec=wamp/www/Experiments/icon.desktop Icon=utilities-terminal Type=Application
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.