update
This commit is contained in:
parent
fe7a2277ae
commit
5922c4e8f6
@ -1,8 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
Name=Car UI
|
|
||||||
Comment=Automotive Interface
|
|
||||||
Exec=/opt/car_ui/car_ui
|
|
||||||
Icon=applications-system
|
|
||||||
Terminal=false
|
|
||||||
Categories=Utility;
|
|
||||||
@ -1,40 +0,0 @@
|
|||||||
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
|
|
||||||
|
|
||||||
|
|
||||||
# ярлык
|
|
||||||
# 1
|
|
||||||
cp Return_to_Car_UI.desktop ~/Desktop/Return_to_Car_UI.desktop
|
|
||||||
chmod +x ~/Desktop/Return_to_Car_UI.desktop
|
|
||||||
gio set ~/Desktop/Return_to_Car_UI.desktop metadata::trusted true
|
|
||||||
|
|
||||||
|
|
||||||
# 2
|
|
||||||
mkdir -p ~/.local/share/applications
|
|
||||||
cp car-ui.desktop ~/.local/share/applications/car-ui.desktop
|
|
||||||
chmod +x ~/.local/share/applications/car-ui.desktop
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user