I have the following .desktop file to open a file in
Python , it is working, but every time before running it opens a dialog saying that the application launcher is not trustworthy, as shown below: / p>
[Desktop Entry] Name=Classificador Type=Application Exec=/home/projeto/app.py Terminal=false
Why does this happen?
This is because the shortcut does not have execute permissions, this holds for both Gnome and KDE by what I know
You can assign execution permission with
chmod and with the + x
chmod +x arquivo.desktop