I have wrote this .desktop file

[Desktop Entry]
Name=Terminal autostart
Coment=Start terminal
Exec=xterm -e python "/root/myscript.py"

Looks "good" but when i restart my OS this code open 4 xterm instead just 1.

I'm trying to open my xterm and run my python script on system startup.

Someone can help me?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.