Git Product home page Git Product logo

pi-star-gui's Introduction

Pi-star-GUI

Script to install a GUI and WebBrowser on Pi-Star

Orignal for ideas written by Andy Taylor (MW0MWZ)

MMDVM熱點安裝微雪7寸IPS電容觸控屏1024×600像素(DSI通信)後通過系統更新可以改為圖形化界面。 使用步驟
首先SSH登陸後開啟讀寫保護並取得管理權,然後擴展SD卡的空間
rpi-rw
sudo pistar-expand
擴展空間後需要重新啟動系統
sudo reboot
然後利用wget命令取得安裝腳本
#原始安裝腳本
wget http://pistar.uk/downloads/installGUI.sh
#修改後的安裝腳本
wget https://github.com/corallibra/Pi-star-GUI/blob/main/installGUI.sh
改變下載文件權限
chmod 755 installGUI.sh
運行該腳本
./installGUI.sh
安裝腳本執行時間較長,完成後會重新啟動系統,進入儀表板。 如果順利進入儀表板,需要SSH登陸,或通過儀表板專家模式的終端窗口完成pi-star文件編輯。 sudo nano /etc/nginx/sites-enabled/pi-star
在文中找到”location ^~ /admin {“語句
另起一行,粘貼如下內容
satisfy any;
allow 127.0.0.1;
然後保存退出。


如果屏幕需要旋轉,可以編輯config.txt,在文末添加一句
sudo nano /boot/config.txt

Default Orientation

display_rotate=0

Rotate 90° Clockwise

display_rotate=3

Rotate 180°

display_rotate=2

Rotate 270° Clockwise

display_rotate=1


更新过程中如遇到掉电可能会出现unable to acquire the dpkg frontend lock提示,可暴力杀死此进程。
sudo rm /var/cache/apt/archives/lock-frontend
sudo rm /var/lib/dpkg/lock-frontend


如果遇到触控屏幕失灵的解决方案。
1.sudo apt-get install xserver-xorg-input-evdev
2.create a directory /etc/X11//xorg.conf.d
3.create a file with named /etc/X11//xorg.conf.d/99-calibration.conf
4.With following entry:

Section "InputClass"
Identifier "calibration"
Driver "evdev"
MatchProduct "FT5406 memory based driver"
Option "InvertX" "1"
Option "InvertY" "1"
EndSection

5.Reboot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.