title: Raspbian Run 4 commands from terminal window after desktop loads Python script?
body: <p>The following commands (to get a small screen working) execute just fine if I type them in from the LXTerminal window while running Raspian on a raspberry Pi once my desktop is loaded:</p>
  
  <ul>
  <li>sudo modprobe spi-bcm2708</li>
  <li>sudo modprobe fbtft_device name=adafruitts rotate=90</li>
  <li>export FRAMEBUFFER=/dev/fb1</li>
  <li>startx</li>
  </ul>
  
  <p>I'm new to Pi and Python, and after piecing together several forum posts, the best way I thought to do this would be to run a python script from the /etc/xdg/lxsession/LXDE/autostart config file- I just don't know what the python script should say to automaticlaly open a LXTerminal window and type in the commands?</p>
  
  <p>Any help would be much appreciated, thanks!</p>