Git Product home page Git Product logo

device-scripts's Introduction

Device scripts

Handful of scripts for customers to run to setup devices quickly

Raspberry PI

The raspberry PI bash script helps get the raspbian Pi into a kiosk like mode, easing the setup that would normally be required by hand. By default it will

  • install the latest chromium browser from apt which I think is locked to version 60
  • install some mscore fonts
  • install google color emoji font for nicer emoji display
  • whether the user wants to do a full apt upgrade
  • whether to turn on overscaning
  • setup a login script to be called upon the GUI starting
    • which starts google chrome at Geckoboard fullscreen

Running

You can run the script with the following one liner

bash <(curl https://raw.githubusercontent.com/geckoboard/device-scripts/master/raspberrypi)

Read and follow the instructions

Desktop environment support

The bash script only works with LXDE-Pi desktop environment. This is because we hook in the LXDE startup hooks for when the GUI is started, to allow us to start Chromium browser automatically and remove the mouse cursor.

It will also validate before executing that the OS release is Raspbian and the hardware architecture is armv

When the script is completed it will restart the pi to complete the setup but not before the user has

Uninstall

If a user wants to put their Pi back to normal without formatting it they can do so using the uninstall script this will remove the LXDE bash script hook for starting chrome and remove some fonts and that.

bash <(curl https://raw.githubusercontent.com/geckoboard/device-scripts/master/uninstall_scripts/raspberrypi_uninstall)

Windows

The Windows script is written in VBScript just like bash its baked into the core of the Windows operating system and thus is supported on several versions. This again does some steps to help setup Geckoboard in kiosk like mode automatically

  • helps direct setup of auto login
  • ensures chrome browser is installed
  • installs a custom script to prevent the computer sleeping
  • installs a script which will start chrome at Geckoboard fullscreen

Running

Download via a browser by navigating to

https://github.com/geckoboard/device-scripts/releases/download/latest/windows_kiosk.vbs

Once it is downloaded - double click the vbscript it should prompt to allow admin accept this, it will display blackbox.

Read and follow the instructions

Uninstalling

If the user wants to not start Chrome automatically they can run the uninstall script which will delete the login hook scripts

https://github.com/geckoboard/device-scripts/releases/download/latest/windows_kiosk_uninstall.vbs

Once it is downloaded - double click the vbscript it should prompt to allow admin accept this, it will display blackbox.

Read and follow the instructions

device-scripts's People

Contributors

gblmarquez avatar jnormington avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.