You just have to edit this file sudo nano .config/lxsession/LXDE-pi/autostart Add this command to run a script (in this example is called shboot.sh) @lxterminal -e /home/pi/shboot.sh Inside that script(shboot.sh) put what you want and make it executable with "sudo chmod 755 filename" I put those kin...