projekte:hausautomatisierung:openhab:display

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung
Nächste Überarbeitung
Vorherige Überarbeitung
Nächste ÜberarbeitungBeide Seiten, nächste Überarbeitung
projekte:hausautomatisierung:openhab:display [2018/10/06 20:07] nobyprojekte:hausautomatisierung:openhab:display [2020/06/29 20:28] noby
Zeile 1: Zeile 1:
- • Kopieren des Rasbian Lite Images auf SD Karte +    * Kopieren des Rasbian Lite Images auf SD Karte 
- • Erster Login mit USB Tastatur mit "pi" und "raspberry" +    Erster Login mit USB Tastatur mit "pi" und "raspberry" 
- • $ sudo -i + 
- • $ systemctl enable ssh + $ sudo -i 
- • $ systemctl start ssh + $ systemctl enable ssh 
- • $ adduser thomas + $ systemctl start ssh 
- • $ addgroup thomas sudo + $ adduser thomas 
- • $ logout + $ addgroup thomas sudo 
- • Login via ssh und dem Benutzer thomas + $ logout 
- • $ sudo -i + 
- • $ deluser pi +    * Login via ssh und dem Benutzer thomas 
- • $ apt-get install vim + 
- • $ update-alternatives --set editor /usr/bin/vim.basic + $ sudo -i 
- • $ dpkg-reconfigure tzdata + $ deluser pi 
- • Root Shell farbig machen:+ $ apt-get install vim 
 + $ update-alternatives --set editor /usr/bin/vim.basic 
 + $ dpkg-reconfigure tzdata 
 + 
 +    * Root Shell farbig machen: 
  $ vi ~/.bashrc  $ vi ~/.bashrc
  >>> PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$ '  >>> PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$ '
- Ebenfalls aliase und export einkommentieren +    Ebenfalls aliase und export einkommentieren 
- Mit User thomas anmelden und in .bashrc force_ color_prompts=true einkommentieren +    Mit User thomas anmelden und in .bashrc force_ color_prompts=true einkommentieren 
- • Falls der Bildschirm um 180Grad gedreht ist, die Zeile+ 
 +    * Falls der Bildschirm um 180Grad gedreht ist, die Zeile
  lcd_rotate=2  lcd_rotate=2
- An die Datei "/boot/config.txt" anfügen +      An die Datei "/boot/config.txt" anfügen 
- • $ apt-get install xserver-xorg-core xserver-xorg-video-fbdev xserver-xorg-input-libinput x11-xserver-utils slim + 
- • Remove the mouse cursor + $ apt-get install xserver-xorg-core xserver-xorg-video-fbdev xserver-xorg-input-libinput x11-xserver-utils slim 
- $ apt-get install unclutter + 
- • Chromium Browser+    * Remove the mouse cursor 
 + 
 +        $ apt-get install unclutter 
 + 
 +    * Chromium Browser 
  $ apt-get install chromium-browser libgtk-3-0  $ apt-get install chromium-browser libgtk-3-0
- • Add user and configure Auto Login+ 
 +    * Add user and configure Auto Login 
  $ adduser --disabled-login openhab  $ adduser --disabled-login openhab
  $ vi /etc/slim.conf  $ vi /etc/slim.conf
Zeile 32: Zeile 45:
  auto_login yes  auto_login yes
  $ vi /home/openhab/.xsession  $ vi /home/openhab/.xsession
- #!/bin/bash + #!bin/bash 
- /usr/bin/xscreensaver -no-splash & +                /usr/bin/xscreensaver -no-splash & 
- /usr/bin/chromium-browser --window-size=1920,1080 --noerrdialogs --disable --disable-translate --disable-infobars --disable-suggestions-service --disable-save-password-bubble --disable-internal-flash --disable-plugins-discovery --kiosk --app=http://pizza/basicui/app?sitemap=mainroom +                /usr/bin/redshift -l49.1:12.6 -b 0.5 & 
- • Blank Screen after timeout+                /usr/bin/xterm -e true 
 +                sleep 1 
 +                /usr/bin/chromium-browser --window-size=1910,1080 --noerrdialogs --disable --disable-translate --disable-infobars --disable-suggestions-service --disable-save-password-bubble --disable-internal-flash --disable-plugins-discovery --kiosk --touch-devices=6 --app=http://pizza/basicui/app?sitemap=mainroom 
 + 
 +    * Blank Screen after timeout 
  $ apt-get install xscreensaver  $ apt-get install xscreensaver
- Run as root:+ 
 +    * Run as root: 
  $ export DISPLAY=:0  $ export DISPLAY=:0
  $ sudo -u openhab xscreensaver-demo  $ sudo -u openhab xscreensaver-demo
 +
  And configure the screensaver with  And configure the screensaver with
- ○ Mode: Blank Screen Only +        * Mode: Blank Screen Only 
- ○ Blank after: 1 Minute +        Blank after: 1 Minute 
- ○ Power Management Enabled +        Power Management Enabled 
- ○ Standby After 1 minutes +        Standby After 1 minutes 
- ○ Suspend after 1 minutes +        Suspend after 1 minutes 
- ○ Off After 1 minutes+        Off After 1 minutes
   
  
  • projekte/hausautomatisierung/openhab/display.txt
  • Zuletzt geändert: 2021/09/04 17:39
  • von noby