树莓派玩法总结
总结树莓派的一些玩法
~/.Xresources
,添加Xft.dpi: 125
dtoverlay=gpio-shutdown
或用PIN11关机:dtoverlay=gpio-shutdown,gpio_pin=17,active_low=1,gpio_pull=up
journalctl -b -p err
查看启动错误日志,发现是打印机驱动加载失败,编辑/etc/modules-load.d/cups-filters.conf
屏蔽打印机驱动即可/etc/systemd/system/bluetooth.target.wants/bluetooth.service
添加--noplugin=sap
(https://raspberrypi.stackexchange.com/questions/40839/sap-error-on-bluetooth-service-status)、修改/etc/bluetooth/main.conf
使mode=dualsudo raspi-config
->System Options
->Audio
->HDMI
ssh-keygen -C "mail@example.com"
,添加密钥到github/home/pi/.local/share/applications
~/.local/share/applications/mimeapps.list
,添加: