Giter Site home page Giter Site logo

devoxx-signage's Introduction

Devoxx Digital Signage

Digital signage used at the Devoxx conference with Raspberry PIs.

How to install on a PI?

  1. In case you use a standard Raspian Jessie distribution, you don't need to install Java yourself, as Jessie ships with Java. Otherwise, install JDK 8 using 'sudo apt-get install oracle-java8-jdk'

  2. Install OpenJFX. Download JavaFX Embedded SDK from http://gluonhq.com/open-source/javafxports/downloads/ and install it in the home directory (for example /home/pi/armv6hf-sdk)

  3. Copy the JavaFX JAR file and the native libraries to the Java SDK installation directory, e.g.

sudo cp /home/pi/armv6hf-sdk/rt/lib/ext/jfxrt.jar /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/lib/ext
sudo cp /home/pi/armv6hf-sdk/rt/lib/arm/* /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/lib/arm/
sudo cp armv6hf-sdk/rt/lib/javafx.platform.properties  /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/lib/
  1. Build the application on a desktop system, using ant

  2. Transfer the jar file (dist/Devoxx.jar to the pi) and do the same with the gson-1.4.jar file and the signage.properties

  3. Run app on the pi, using

java -cp gson-1.4.jar:Devoxx.jar devoxx.Devoxx room8 signage.properties

Start Digital Signage automatic on PI

You can create an /etc/rc.local file to start the signage app automatically.

#!/bin/sh -e
#
# /etc/rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

ROOM=room9

#
# Start the Devoxx display screen app with the right room
#
echo Starting Devoxx room display for $ROOM
cd /home/devoxx
/opt/jdk8/bin/java -Xmx256m -Dfile.encoding=UTF-8 -Djava.util.logging.SimpleFormatter.format='%4$s: %5$s%6$s%n' -jar Devoxx.jar $ROOM /home/devoxx/signage.properties > /tmp/signage.log 2>&1

exit 0

UI Controls

We've added some keyboard controls when the digital signage application is running.

  • Q = Quit application, gives you login prompt
  • U = Update display
  • D = Update schedule data
  • R = Refresh speaker cache
  • -> = Increment test time
  • <- = Decrement test time

devoxx-signage's People

Contributors

johanvos avatar sr29067 avatar stephanj avatar steveonjava avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

johanvos

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.