Monday, September 22, 2014

autorun

For the purpose of minimizing administrative procedures, I have to think of ways to smooth-en the setup of my works.

Currently I have three programs, my ideal mapping as follow:
  • Pi -> run python script > 
- need to make a launcher script http://www.instructables.com/id/Raspberry-Pi-Launch-Python-script-on-startup/
- edit http://www.slideshare.net/SeggySegaran/raspberry-pi-autostarting-a-python-program
- start on terminal: http://www.raspberrypi.org/forums/viewtopic.php?f=32&t=76653
- setting screen size: http://ubuntuforums.org/showthread.php?t=1888851
- edit configure file for full screen: http://forum.lxde.org/viewtopic.php?f=3&t=31566 
- more customization: http://bbs.archbang.org/viewtopic.php?id=355
- autorun when boot: http://www.raspberrypi.org/forums/viewtopic.php?f=91&t=65607
- note: can it do full screen automatically?
  • mac book -> run python script
- Download iTerm2 to replace original terminal (because with full screen feature)
- Then set the default command line (say: run a specific python path)
- Set the full screen mode and set as default window arrangement
- in iTerm2 preference, check for default window arrangement (means everytime will open in full screen)
- go to system preference > account > login > add in iTerms (to make sure whenever macbook login, it will automatically load iTerm2)
- SUCCESS!!

-> also need to do ssh to allow remote access-> just in case need to fix any issues

extra:

- autorun a PI with full screen browser and a specific address: http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/gui/auto-run-browser-on-startup

1 comment: