Author: spectregadget (page 1 of 2)

Setting up Raspberry Pi as a Kiosk

Octoprint LogoI run a 3D printer at home, and to control it I use the excellent OctoPrint (written by the awesome Gina Häußge), distributed as a ready-to-go SD image OctoPi.  I use port forwarding and can control and check in on the printer visually through OctoPrint.

At work I now have a Lulzbot TAZ 6 printer, but not the network control to port forward, etc., so I am trying Astroprint, which is based on top of OctoPrint and offers a web-based service to manage and monitor your 3D printer.   I will soon find out if that will work correctly behind the corporate firewall.  Locally, Astroprint offers a web-based interface, which should be convenient for me and others to work with the printer.

Astroprint LogoAt the printer itself, I wanted more than just the built in ‘full graphic controller’ with wheel and click to control it.  To add to the Astroprint Raspberry Pi, I bought the official Raspberry Pi 7″ LCD and a nice bamboo case/stand, which makes a much nicer control ability; both direct and remote.   

The Astroprint image is meant to run ‘head-less’, so took a bit of work to set up as a kiosk interface to the controller.  After digging around the not-so-seedy parts of the interwebs, I was finally able to gather the information I needed to make this happen.  I will try to post links to all articles to which I referred, at the end of the post.

Step 1 – Install GUI

The GUI is not installed on the Astrobox image to save space, but we need it.  Sign into your RPi as the standard pi user and run these commands, which will install the files needed:

sudo apt-get install lxde lightdm xinit xserver-xorg

Step 2 – Install chromium browser

The chromium browser is easy to configure for a kiosk mode.  Still as the local pi user, run these commands to install the browser:

# Make sure everything installed is up-to-date
sudo apt-get update
# Download public key and install source to get chromium browser
wget -qO - | sudo apt-key add -
echo "deb jessie main" | sudo tee -a /etc/apt/sources.list
# Make sure (again) that everything is up-to-date
sudo apt-get update
# Install the browser, x11-xserver-utils, and unclutter (hides mouse when no movement) 
sudo apt-get install chromium-browser x11-xserver-utils unclutter

Step 3 – Setup chromium kiosk mode

# The lines are added to the autostart file for user pi  
# Stop the screensaver from running on startup
sudo sed -i.bak -e 's/@xscreensaver -no-splash/#@xscreensaver -no-splash/' ~/.config/lxsession/LXDE/autostart
# Turn off power savings and timeouts
sudo sed -i.bak -e "$a@xset s off" ~/.config/lxsession/LXDE/autostart
sudo sed -i.bak -e "$a@xset -dpms" ~/.config/lxsession/LXDE/autostart
sudo sed -i.bak -e "$a@xset s noblank" ~/.config/lxsession/LXDE/autostart
# Checks and clears flag that is created on a crash or unexpected restart
sudo sed -i.bak -e "$a@sed -i 's/"exited_cleanly": false/"exited_cleanly": true/' ~/.config/chromium/Default/Preferences" ~/.config/lxsession/LXDE/autostart
# Start the chromium browser with desired URL. "--enable-offline-auto-reload" will help with network disconnects
sudo sed -i.bak -e "$a@chromium-browser --noerrdialogs --disable-infobars --incognito --enable-offline-auto-reload --kiosk http://localhost" ~/.config/lxsession/LXDE/autostart

Step 4 – Setup Raspian to boot into GUI

If you haven’t done this step already, run these commands to tell the Raspberry Pi to boot into GUI versus command line.

sudo raspi-config

In the version I am using (

Getting Raspbian to boot GUI

I found this good article about getting Raspbian Jessie Lite to boot with GUI.   I found that I also had to run

sudo apt-get install xorg

to finally get it to work.

[SOLVED] Controlling Astroprint directly from installed Pi?

Been looking around and can’t seem to find an answer. I have Astroprint installed and working on a Raspberry Pi on my Taz5 printer. I’m wondering if it’s possible to control the astroprint software directly from the Pi, with a monitor, keyboard and mouse connected to the Raspberry Pi that’s running the Astroprint software.


Multiple printers with one RPi and OctoPrint…

I will have to remember this if I need to run more than one…


Control Multiple 3D Printers Using A Single Raspberry Pi and Octoprint

When they asked me to run the 3D-printing department over at makerspace, I knew right away that we had to use OctoPrint. I’ve been using OctoPrint to run my MakerFarm Prusa i3 printer at home, and I have been very pleased with it.

Head Mounted Display

I’m going to create a head mounted display (HMD).  (Think Google Glass, but much cheaper, and much less capable).  

Why? Not sure yet, but I figure I will create and come up with use cases as I go.  

Inspired by this talented guy who graciously posted his creation of a HMD for use with his bluetooth multimeter.  After seeing the arduino and bluetooth module he used, I found Adafruit’s Feather with Bluetooth, which is a single board design and is nice and small.  It also has a built-in lipo charging circuit so you can run it off a battery and charge it through the micro-usb port.

Lots of variations in the Feather Line, so I’m looking forward to playing around with them.

Using the Adafruit Feather M0 Bluefruit LE

Just bought one of these to do a head mounted display (HMD).  Should be fun!

Pinouts | Adafruit Feather M0 Bluefruit LE | Adafruit Learning System

Adafruit will not be shipping orders Monday January 2, 2017. Any orders placed after 11am EST Friday December 30 will go out Tuesday January 3.

iTunes can make ‘radio stations’

I know, I’m slow sometimes.  Finally figured out how to create a ‘station’ in iTunes Music so I can get a variety without having to directly pick albums, etc.

‘Styx Radio’

A Radio Station on Apple Music: Styx Radio

Hear where your music takes you. Listen to Styx Radio, a radio station available with an Apple Music membership.

Rear brake job

Now the rears.  This is an older car, but it’s very similar in mine.

Changing Pads and Rotors

This is a good video for the C7 platform.  I like how he just pulls the whole caliper off and then replaces the rotor and pads in the caliper.  For the fronts at least

Why have I never seen this jack/stand before today?

I need this to work on my car!  I have special adapters for my jack that work with my Audi A7, but jacking up the car and then placing a jack stand means putting one of the other in a spot that Audi doesn’t like.  This would solve the problem…

No Title

No Description


Cheer on our compatriots in the AT-AT corp as they take on the rebellion scum!

AT_AT Imperial Walker by ebross

This design is an AT_AT Imperial Walker. It was printed at a total length of 2ft long and 2ft tall. It took about 160 hrs to print. The original model was taken from the internet. I optimized it to be 3d printed. I also, redesigned the neck and made the legs, feet and neck articulated.

Older posts