I coded a simple Tkinter UI in python on my Raspberry Pi. By executing this python script the UI starts in full screen by using this code line.
Tk.attributes("-fullscreen", False)
Then I included an autostart of this script: For that reason I added the following line of code in the file "sudo nano /etc/profile"
sudo python /home/pi/myscript.py
Unfortunately, I forgot to program an "Exit-Button". Is there any way to close/kill this task?
sudo pkill -9 python- Joran Beasley