Skip to content

MuhammadMooazam/Opening-Tkinter-GUI-on-RaspberryPi-Startup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Worried, how to start a Tkinter based Python GUI on Raspberry PI Startup

Follow the steps below

  1. Open Terminal in Raspberry PI.
  2. Write the following commands:
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart

You will see a text file.

  1. At the end add a line:
@lxterminal -e python3 /home/pi/<your_directory>/<your_file>.py
  1. Press "ctrl+x" and then press "y" and press "Enter Key" twice.
  2. Type "sudo reboot" to reboot your pi.
    Note: Use your own directory and program replacing <your_directory> and <your_file> respectively.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published