# create file with python or desired programming language (eg. python.py) # create (pythonfile).desktop file [Desktop Entry] Name=(Custome_Progams_Name) Comment=(comment) Exec=(your commands, eg. bash -c "cd /directory/of/custPython_program && (Environment)python3 -m venv myenv && source (/dir/of/env) && pip install (modules) && python3 (pythonfile).py") Icon=/dir/of/(pythonfile)/icon.ico Terminal=true Type=Application categories=Utility; # Copy (pythonfile).desktop to local application database cp ~/dir/of/(pythonfile).desktop ~/.local/share/applications # Ensure Permissions chmod +x ~/.local/share/applications/(pythonfile).desktop # Update system application database update-desktop-database ~/.local/share/applications
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter