X-Git-Url: http://git.rohieb.name/stratum0-wiki.git/blobdiff_plain/f0396a34b9c1c46187abe60429e37d3c9a2e4b3b..95d33992c8c6afe7539e08c2787dfaeef5b30704:/Infodisplay.mw diff --git a/Infodisplay.mw b/Infodisplay.mw index 7b93d7364..788fb5258 100644 --- a/Infodisplay.mw +++ b/Infodisplay.mw @@ -32,9 +32,21 @@ Pakete installieren: curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - # oder was mittlerweile nach https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions aktuell ist - sudo apt -y install git firefox-esr xserver-xorg-legacy xserver-xorg x11-xserver-utils cec-utils python3-rpi.gpio npm xinit libicu-dev nodejs + sudo apt -y install git firefox-esr xserver-xorg-legacy xserver-xorg x11-xserver-utils python3-rpi.gpio npm xinit libicu-dev nodejs unattended-upgrades # oder auch 'firefox', je nach Verfügbarkeit +Libcec mit RPI build system fix bauen: + git clone https://github.com/Emantor/libcec + cd libcec && mkdir build && cd build + cmake -DRPI_INCLUDE_DIR=/opt/vc/include -DRPI_LIB_DIR=/opt/vc/lib .. + +Darauf achten das nach dem cmake die Zeile + -- Raspberry Pi support: yes +auf yes steht. Dann: + make + sudo make install + sudo ldconfig + s0infodisplay macht lokal einen HTTP-Server und baut die HTML-Seite: git clone https://gitli.stratum0.org/kasalehlia/s0infodisplay/ cd s0infodisplay/ @@ -49,7 +61,7 @@ infopoint-html startet einen Firefox im Vollbild: echo 'URL="http://localhost:8000/"' | sudo tee /etc/default/infopoint-html systemd-logind session activation für den X-Server umgehen: - echo "allowed_users = anybody" | sudo tee /etc/X11/Xwrapper.config + sudo dpkg-reconfigure xserver-xorg-legacy # hier dann die dritte Option, "Anybody", auswählen systemd-Services installieren: sudo cp s0infodisplay/s0infodisplay.service s0infodisplay/pirscreencontrol.service infopoint-html/infopoint-html.service /etc/systemd/system/