Raspberry

lftp ftp.epos.cz
cd obis/firebird-clients
mget arm-client.tgz obis-arm.tgz lualib51.tgz
apt-get install liblua5.1-0

/root/xobis.sh

#!/bin/sh
#xinit /usr/local/bin/xmobis.sh start
 
# disable DPMS (Energy Star) features.
xset -dpms
 
# disable screen saver
xset s off
 
# don't blank the video device
xset s noblank
 
# disable mouse pointer (-use_cursor no ve stretchi nejak nefunguje)
unclutter &
 
# run window manager
matchbox-window-manager -use_cursor no -use_titlebar no &
 
#virt. klavesnice na monitoru
#/usr/local/bin/matchbox-keyboard --daemon &
 
#multitouch scroll emulator, protoze uzbl multitouch nezvlada
#/usr/local/bin/ginn /etc/ginn/wishes.xml >/dev/null 2>&1 &  #>/tmp/ginn.log 2>&1 &
 
#jen kvuli klavesnicove ctecce RFID karet
#/usr/bin/xmodmap /root/xmodmap.rfid
 
/root/obis5/bin/obis.arm -debug 3  -noconsolelog -notrigger -documentdir /root/obis5/obisdoc/ -log /tmp/obis.log -user Doch1 -pass obis -data data -mainluaform v_dochazka_dochazka

/root/xobis.service

Unit]
Description=xobis
After=systemd-user-sessions.service
After=rc-local.service

[Service]
Type=simple
User=root
Group=root
Environment="HOME=/root"
ExecStart=/usr/bin/xinit /root/xobis.sh
Restart=always
RestartSec=5

[Install]
WantedBy=default.target
ln -s /root/xobis.service /etc/systemd/system/xobis.service
systemctl status xobis.service
systemctl start xobis.service
ln -s /etc/systemd/system/xobis.service /etc/systemd/system/default.target.wants/xobis.service
reboot
 
progs/raspberry_pi.txt · Poslední úprava: 2020/01/22 11:08 autor: Karel Petrů
 
Kromě míst, kde je explicitně uvedeno jinak, je obsah této wiki licencován pod následující licencí:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki