My python script fails to run after sign-in
Hi, My name is Degraft. I new to python and I am developing a python application which retrieves dictionary definitions. In this app, my users have to copy the word to the clipboard, then press control+alt+1 to get the definitions of the word copied. I have made this app executable with pyinstaller and have also made it an installer with inno setup. I tested the app and realized it works with the keyboard command. I use the task scheduler to make the app run continuously. but when I restarted my computer and tested the app again, it didn't work. So please I need help. what should I do for my app to run even after restart?
2 comments · 76% upvoted · other discussions
I put it in the ~/.config/autostart/StartXterm.desktop file. Not sure though if you have to put it in that file or if any file in that directory will do. This is on an XFce desktop. Other desktop managers use other files/directories to execute something on startup.