Giter Club home page Giter Club logo

raspi2fb's Introduction

raspi2fb

Program to copy the Raspberry Pi display to a secondary framebuffer.

usage

raspi2fb <options>

--daemon - start in the background as a daemon
--device <device> - framebuffer device (default /dev/fb1)
--display <number> - Raspberry Pi display number (default 0)
--fps <fps> - set desired frames per second (default 10 frames per second)
--pidfile <pidfile> - create and lock PID file (if being run as a daemon)
--help - print usage and exit

build prerequisites

cmake

You will need to install cmake

sudo apt-get install cmake

libraries

You will need to install libbsd-dev

sudo apt-get install libbsd-dev

build

mkdir build
cd build
cmake ..
make

#install

Raspian Wheezy

sudo make install
sudo cp ../raspi2fb.init.d /etc/init.d/raspi2fb
sudo update-rc.d raspi2fb defaults
sudo service raspi2fb start

Raspian Jessie

sudo make install
sudo cp ../[email protected] /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable [email protected]
sudo systemctl start raspi2fb@1

#uninstall

Raspian Wheezy

sudo service raspi2fb stop
sudo update-rc.d -f raspi2fb remove
sudo rm /usr/local/bin/raspi2fb
sudo rm /etc/init.d/raspi2fb

Raspian Jessie

sudo systemctl stop raspi2fb@1
sudo systemctl disable [email protected]
sudo rm /etc/systemd/system/[email protected]
sudo rm /usr/local/bin/raspi2fb

raspi2fb's People

Contributors

andrewfrommelbourne avatar

Watchers

James Cloos avatar  avatar skyformat99 avatar

Forkers

skyformat99

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.