I have created a desktop shortcut ‘Launch Datalogger.desktop’ to launch a python PYQT5 GUI.
When I double click the shortcut, a popup says this text file ‘Launch Datalogger.desktop’ seems to be an executable script what do you want to do with it? With buttons for Execute, Execute in Terminal, Open or Cancel. If I press ‘Execute’ or ‘Execute in Terminal’, the Terminal opens and the GUI opens as expected .How do I bypass the popup to launch the GUI directly preferably without even opening the Terminal .
The text in the short cut is:
When I double click the shortcut, a popup says this text file ‘Launch Datalogger.desktop’ seems to be an executable script what do you want to do with it? With buttons for Execute, Execute in Terminal, Open or Cancel. If I press ‘Execute’ or ‘Execute in Terminal’, the Terminal opens and the GUI opens as expected .How do I bypass the popup to launch the GUI directly preferably without even opening the Terminal .
The text in the short cut is:
Code:
[Desktop Entry]Encoding=UTF-8Name=Launch DataLoggerType=ApplicationStartupNotify=FalseTerminal=falseIcon=/home/pi/logo.pngExec=lxterminal -e python3 "/home/pi/MyProjects/Python/DataLogger/DataLogger.py"Categories=None;
Statistics: Posted by mikehZA — Wed Apr 24, 2024 12:52 pm