Skip to content

Instantly share code, notes, and snippets.

@tqyq
Last active June 1, 2016 07:11
Show Gist options
  • Save tqyq/2fbd378211887e8282c9169d8a58e109 to your computer and use it in GitHub Desktop.
Save tqyq/2fbd378211887e8282c9169d8a58e109 to your computer and use it in GitHub Desktop.
raspberry pi 3 使用
设置全屏(撑满不留黑框) https://www.raspberrypi.org/forums/viewtopic.php?f=46&t=47152
vi /boot/config.txt
disable_overscan=1
开机后自运行app
sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart
防黑屏
nano /etc/lightdm/lightdm.conf
[SeatDefaults]
xserver-command=X -s 0 -dpms
隐藏鼠标指针
apt-get install unclutter
unclutter -idle 0.1 -root
列出wifi ssid
iwlist wlan0 scan | grep ESSID
wifi 管理
apt-egt install network-manager
打开/关闭 nmcli radio wifi on/off
隐藏boot信息
vi /boot/cmdline.txt
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty3 loglevel=3 vi.global_cursor_default=0 logo.nologo root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
关闭usb
参考https://github.com/codazoda/hub-ctrl.c
注意在raspberry pi 3上:
./hub-ctrl -b 001 -d 001 -P 1 -p 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment