Raspberry Pi 3 工作研究用
Install chromium browser http://www.techrepublic.com/article/five-tips-for-getting-the-most-out-of-a-raspberry-pi-3-as-a-pc/
installChromiumBrowser.sh 1 2 3 4 5 6 wget http://ports.ubuntu.com/pool/universe/c/chromium-browser/chromium-browser-l 10n_48.0.2564.82-0ubuntu0.15.04.1.1193_all.deb wget http://ports.ubuntu.com/pool/universe/c/chromium-browser/chromium-browser_48.0.2564.82-0ubuntu0.15.04.1.1193_armhf.deb wget http://ports.ubuntu.com/pool/universe/c/chromium-browser/chromium-codecs-ffmpeg-extra_48.0.2564.82-0ubuntu0.15.04.1.1193_armhf.deb sudo dpkg -i chromium-codecs-ffmpeg-extra_48.0.2564.82-0ubuntu0.15.04.1.1193_armhf.deb sudo dpkg -i chromium-browser-l 10n_48.0.2564.82-0ubuntu0.15.04.1.1193_all.deb chromium-browser_48.0.2564.82-0ubuntu0.15.04.1.1193_armhf.deb sudo apt-get install chromium-browser
Turn On / Off Screen Ver 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 #!/bin/sh tvservice --off > /dev/null screen_on.sh: #!/bin/sh export DISPLAY=:0tvservice -p fbset -depth 8; fbset -depth 16; xrefresh crontab -e
Ver 2 1 2 3 4 5 6 7 8 9 10 apt-get install cec-util echo "on 0" | cec-client -s > /dev/nullsleep 5 echo "as" | cec-client -s > /dev/nullecho "standby 0" | cec-client -s
KIOSK chromium-browser Raspberry Pi Kiosk Screen Tutorial 關閉 Screensaver
1 sudo apt-get install chromium-browser x11-xserver-utils unclutter
修改 :
sudo nano /etc/xdg/lxsession/LXDE/autostart
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
/home/pi/.config/lxsession/LXDE-pi/autostart
目前使用的
/root/.config/lxsession/LXDE-pi/autostart
1 2 3 4 5 6 7 8 9 @xset s off @xset -dpms @xset s noblank @chromium-browser --noerrdialogs --disable-translate --kiosk --app=http://www.page-to.display
關閉 chromium-browser ctrl + alt + F4
1 sudo apt-get install epiphany-browser x11-xserver-utils xautomation unclutter
fullscreen.sh 1 2 3 sudo -u pi epiphany-browser -a -i --profile ~/.config [URL] --display=:0 & sleep 15s; xte "key F11" -x:0
cec-client 需要螢幕以及機器都支援 cec
。
1 2 3 4 5 6 7 8 echo h | cec-client -s -d 1echo scan | cec-client -s -d 1echo on 0 | cec-client -s -d 1echo standby 0 | cec-client -s -d 1
chromium-browser args
相關 Lib libcec python-cec
Load ko Compiling Kernel Modules for Raspberry Pi
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Copy your .ko module to /lib/modules/3.2.27+ Edit /etc/modules and append your module to the end of the list. Mine looks like: # /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. # Parameters can be specified after the module name. snd-bcm2835 spi-bcm2708 i2c-bcm2708 i2c-dev rpi-pwm Next, run: depmod -a Next, run: modprobe <yourmodulename>
Linux Kernel Modules - Load, Unload, Configure Kernel modules
GPU How to optimize Raspberry Pi code using its GPU Hacking the Raspberry Pi’s VideoCore IV GPU - Louis Howe
安裝中文字 在樹莓派上安裝中文字型 Install Chinese Fonts with Raspberry Pi
1 2 3 4 # 文泉驛正黑 sudo apt-get install ttf-wqy-zenhei # 教育部標準楷書 sudo apt-get install fonts-moe-standard-kai
kweb
1 2 3 4 wget http://steinerdatenbank.de/software/kweb-1.6.9.tar.gz tar -xzf kweb-1.6.9.tar.gz cd kweb-1.6.9 ./debinstall
sudo apt-get install uget tint2 vlc xterm