Executable file

The Desktop doesn't launch Python files directly. Instead, the Desktop launches the executable specified with the Execkey in the .desktop file. This executable is usually a simple shell script that does two things:

Here are details:

Run time location: /usr/bin

File name extension: Can be anything

Example: /usr/bin/pyglade

Type: For Python applications, this is generally an executable shell script.

Sample:

#!/bin/sh
cd /usr/share/pyglade
python main.py

Key points: