Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
raspberry:streaming_client [2019/01/02 22:14]
admin [Streaming Client]
raspberry:streaming_client [2019/02/14 04:03]
admin
Line 22: Line 22:
  
 ---- ----
 +===== Autostart W3m =====
 +
 +To run a w3n on your Raspberry Pi at startup is to modify the .bashrc  file. With the .bashrc method, your python program will run on boot and also every time when a new terminal is opened, or when a new SSH connection is made. Put your command at the bottom of ‘/home/pi/.bashrc’. The program can be aborted with ‘ctrl-c’ while it is running!
 +   sudo nano /home/pi/.bashrc
 +
 +Go to the last line of the script and add:
 +   /home/pi/runw3n.sh
 +
 +Shell script:
 +   #!/bin/sh
 +   
 +   printf "runing w3m"
 +   sudo w3m http://entangledpixel.dernulleffekt.de/screenshot.html
 +
 +-----
 +
 +
 +
 ==== Links ==== ==== Links ====
 [[http://w3m.sourceforge.net|W3M web side]]\\ [[http://w3m.sourceforge.net|W3M web side]]\\