What is important when assigning an app to a .desktop launcher?

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

I have been learning Tkinter, so I took some of my Python programs and made them work in a window.
By chance, I saw this way of launching a Python program on Stack Overflow, so I tried it.
Then I made an icon and put this code in /home/pedro/.local/share/applications/
[Desktop Entry]
Type=Application
Terminal=false
Name=Mark CW and HW
Exec=/home/pedro/myPython/tkinter/answersToExcel2.py
Icon=/home/pedro/icons/icon4.png
StartupWMClass=myTkApp

I have never done anything like this before, but to my surprise, it works fine! I locked the icon to my launcher. Now I can start my Tkinter window anytime from the launcher.
My question is: Where can I get more information about what should, must or can be in this kind of [Desktop Entry]?
Also, if for some reason the python code fails (not happened yet, I test thoroughly in Idle first) will an error message be written somewhere?

X ITM Cloud News

Marisa

Leave a Reply

Next Post

Lubuntu 20.04 having trouble upgrading due to apparent "Hash Sum Mismatch"

Sun Aug 2 , 2020
Spread the love          I installed Lubuntu 20.04 today (I did checksum on the iso image and it was absolutely fine) and when I started updating and upgrading stuff, I found many things weren’t upgrading. Initially it showed that I had a problem with the internet, but my internet was fine. After […]
X- ITM

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware

.

X ITM