- Flash raspios; at various times, attempted ubuntu, ubuntu server, ubuntu mate, and arch arm; all froze or had package compatibility issues; raspios appears to be the best supported
- Update and install system packages
sudo apt update && sudo apt upgrade
sudo apt install handbrake handbrake-cli vlc libdvdcss2
sudo hostnamectl set-hostname <name>
-
if you get a persistent error in the Network Panel of the task bar that says, 'Set WiFi Country', you need to create two files in
/etc/wpa_supplicant/
calledwpa_supplicant-wlan0.conf
andwpa_supplicant-wlan1.conf
each with contents like:ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=US network={ ssid="<SSID>" psk="<password>" }
-
setting up
wlan0
as a local AP will also cause the network panel to showNo wireless interfaces found
(as of 2020-10-29); it will still work withnmcli
though
- Setup
fair-winds
repo
mkdir ~/.ssh && ssh-keygen && cat id_rsa.pub
- copy and paste to github
git clone [email protected]:danjenson/fair-winds.git
python3 -m venv ~/.venv/v && source ~/.venv/v/bin/activate
cd fair-winds && ./install-locally.sh
- add to end of
~/.bashrc
source ~/.venv/v/bin/activate
export PATH=~/.local/bin:$PATH
pip3 show fair-winds | grep Location
-><path>
sudo cp <path>/control_panel/control-panel.service /etc/systemd/system/
sudo vim /etc/systemd/system/control-panel.service
- replace
<python-path>
with the output ofwhich python
- replace
<control-panel-path>
with the output ofwhich control-panel
- note that the outputs of
which <program>
should be the same except the value after the last/
- note that the outputs of
- replace
systemctl enable control-panel.service
- [Optional] open browser/control-panel
- set browser home to
localhost:8000
vim ~/.config/lxsession/LDXE-pi/autostart
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
#@xscreensaver -no-splash
point-rpi
@chromium-browser
- useful script to have on pi in
~/update-fair-winds.sh
:cd fair-winds \ && git pull --rebase \ && ./install-locally.sh \ && sudo systemctl restart control-panel \ && systemctl status control-panel
- if bluetooth is acting up
systemctl status bluetooth
- if there are SAP errors
vim /etc/systemd/system/bluetooth.target.wants/bluetooth.service
..../bluetoothd --noplugin=sap
- new bthelper (2020-05-12)
wget https://raw.githubusercontent.com/RPi-Distro/pi-bluetooth/master/usr/bin/bthelper
chmod +755 bthelper && sudo cp bthelper /usr/bin
- if there are SAP errors
- if dvd playing is acting up:
sudo dpkg-reconfigure libdvd-pkg
- remap caps lock to control
sudo vim /etc/default/keyboard
XKBOPTIONS="ctrl:nocaps"
sudo dpkg-reconfigure keyboard-configuration