Live data from Hacker News

FullPageOS – A RaspberryPi distro to display a full page browser on boot

github.com

1–10 of 42 posts

Re: FullPageOS – A RaspberryPi distro to display a full page browser on boot

#3
I've achieved this with a few lines of bash on the default Pi distro. I don't really see the benefit unless there's added advantage of Chromium being accelerated? (Last time I checked it was not. Not only that HTML5 Audio was missing too).

For anyone interested heres a dirty bash script I had:

1. Auto Login & Disable Screen Blanking: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=66&t=18200, http://elinux.org/RPi_Debian_Auto_Login

3. Adjust Overscan and force HDMI hotplug: nano /boot/config.txt disable_overscan hdmi_force_hotplug

4. Install Chromium, Matchbox, unclutter: sudo apt-get -y install unclutter matchbox chromium-browser

5. Add a start up script:

unclutter & xset -dpms xset s off

matchbox-window-manager & while true; do sudo rm -r /etc/chromium su -c "chromium-browser --kiosk --incognito http://localhost" -s /bin/sh pi done

The script logs in and starts x with matchbox (better performance than LXDE default), opens Chromium to localhost (nginx would show a page).

I remember I added a few other things to 'sed' replace Pi config files to display a mp4 splash screen I made in AE (it looked marvelous). At one point I had a front end that could manage Wifi and do some other basic tasks. Using PHP and Nginx. Shamefully hackey.

Re: FullPageOS – A RaspberryPi distro to display a full page browser on boot

#5
post #2

1GB distro to display a full screen browser seems a bit excessive Edit: there is a lite version at 557MB, didn't notice at first due to it having two dates in the name

I don't understand the effort here. Making an image implies supporting it; does the author really think it's going to be worth his time to "support" what is surely a couple of bash scripts wrapped up in 600MB of OS?

It seems like a simple how-to blog post would have been more appropriate.

Re: FullPageOS – A RaspberryPi distro to display a full page browser on boot

#6
Oh wow. A while back I made a Raspi boot to Chromium full screen to load my Trello+Weather+StatusCake dashboard (https://gist.github.com/danroot/7610103). I felt it was way harder than it should have been, though to be fair much of the issue was that I had a line in the wrong place in some boot script. Still, I remember thinking at the time that I'd like a distro where I could easily put in Wifi and URLS, then boot directly to it. May have to revisit that now...

Re: FullPageOS – A RaspberryPi distro to display a full page browser on boot

#7
My company did something similar to this for our dashboards, great to see someone open source it. At the time the challenge was finding a new-ish version of Chromium, which at the time was years behind in the Raspbian distro. It looks like this one is Chromium 51?

Re: FullPageOS – A RaspberryPi distro to display a full page browser on boot

#8
post #2

1GB distro to display a full screen browser seems a bit excessive Edit: there is a lite version at 557MB, didn't notice at first due to it having two dates in the name

I don't understand the effort here. Making an image implies supporting it; does the author really think it's going to be worth his time to "support" what is surely a couple of bash scripts wrapped up in 600MB of OS? It seems like a simple how-to blog post would have been more appropriate.

It requires you provide it with a zipped Raspbian image. It takes that image, and injects a few scripts, and configures them to run at boot.

Here's the scripts:

https://github.com/guysoft/FullPageOS/blob/devel/src/fullpag...

https://github.com/guysoft/FullPageOS/blob/devel/src/common....

https://github.com/guysoft/FullPageOS/blob/devel/src/config

Re: FullPageOS – A RaspberryPi distro to display a full page browser on boot

#9

I've achieved this with a few lines of bash on the default Pi distro. I don't really see the benefit unless there's added advantage of Chromium being accelerated? (Last time I checked it was not. Not only that HTML5 Audio was missing too). For anyone interested heres a dirty bash script I had: 1. Auto Login & Disable Screen Blanking: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=66&t=18200 , http://elinux.org/RPi…

Sweet, I've been wanting to create an OS on a RasPi, and your project just made it easier. Thanks! I was going to use Electron, but I guess Chromium is good too. I'll have to change some things to make it work with my FeathersJS app.
Post reply on HN