car_ui/qqqq
2026-01-08 04:21:46 +03:00

48 lines
995 B
Plaintext

export DISPLAY=:0
./.venv/bin/python3 ./main.py
sudo usermod -aG bluetooth cheykrym
rfkill list
sudo rfkill unblock bluetooth
cat ~/.cache/car_ui/bluetooth.log
sudo apt install fonts-noto
cd dist/car_ui
chmod +x car_ui
./car_ui
sudo mkdir -p /opt/car_ui
sudo cp -r car_ui/* /opt/car_ui/
sudo chown -R cheykrym:cheykrym /opt/car_ui
/opt/car_ui/car_ui
# сервис
sudo cp car-ui.service /etc/systemd/system/car-ui.service
sudo systemctl daemon-reload
sudo systemctl start car-ui
sudo systemctl enable car-ui
sudo systemctl set-default multi-user.target
sudo systemctl disable lightdm
sudo systemctl stop lightdm
# вкл
sudo systemctl start display-manager
sudo systemctl set-default graphical.target
sudo systemctl enable lightdm
sudo systemctl start lightdm
# блютуз разблокировка
sudo cp bt-unblock.service /etc/systemd/system/bt-unblock.service
sudo systemctl daemon-reload
sudo systemctl enable bt-unblock.service
sudo systemctl start bt-unblock.service