User Tools

Site Tools


atmos:meteorological_observations_trailer:data

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
atmos:meteorological_observations_trailer:data [2025/10/03 01:54] – [Raspberry Pi: Set Time Zome] ashley.vosatmos:meteorological_observations_trailer:data [2026/05/28 22:18] (current) ashley.vos
Line 55: Line 55:
  
 The December 2023 MetTrailer /etc/xdg/lxsession/LXDE-pi/autostart file include the following at the end: The December 2023 MetTrailer /etc/xdg/lxsession/LXDE-pi/autostart file include the following at the end:
 +
 +==== Raspberry Pi: Running Python Programs on Start ====
 +If you want to run python programs upon startup and show the output of each program in a separate terminal:
 +
 +Sources: 
 +  * [[https://gist.github.com/kristianpedersen/9c8e3dc6501070eecd1431e0d585b781|GitHub Link]]
 +  * [[https://learn.sparkfun.com/tutorials/how-to-run-a-raspberry-pi-program-on-startup#method-2-autostart|How to Run a Raspberry Pi Program on Startup: Method 2]]
 +
 +1. If Xterm isn't installed, use the following command
 +  
 +  sudo apt install xterm -y
 +  
 +2. Make the following directory using the following command
 +  
 +  mkdir /home/pi/.config/autostart
 +
 +3. Create and edit a .desktop file
 +  
 +  sudo nano /home/pi/.config/autostart/PROGRAM_NAME.desktop
 + 
 +4. In the file, copy and paste the following
 +  
 +  [Desktop Entry]
 +  Type=Application
 +  Name=PROGRAM_NAME
 +  Exec=xterm -hold -e '/usr/bin/python3 /home/ABSOLUTE_PATH_TO_PROGRAM/PROGRAM_NAME.py'
 +  
 +5. Save and exit
 +
 +6. The Xterm application should now begin upon booting.
  
 ==== Raspberry Pi: Running Python Programs Headless ==== ==== Raspberry Pi: Running Python Programs Headless ====
atmos/meteorological_observations_trailer/data.1759456486.txt.gz · Last modified: 2025/10/03 01:54 by ashley.vos