-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathautostart_setting.txt
67 lines (58 loc) · 1.78 KB
/
autostart_setting.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
RaspberryPi用自動起動ファイル
#RTKLIBインストールdir = /home/pi/RTKLIB/
git clone https://github.com/mnltake/RTKLIB.git
cd RTKLIB/app
chmod 755 makeall.sh
./makeall.sh -j8
cd rtkrcv/gcc/
chmod 755 rtkstart.sh
chmod 755 rtkshut.sh
#gpsnaviインストールdir = /home/pi/gpsnavi/
git clone https://github.com/mnltake/gpsnavi.git
cd /home/pi/gpsnavi/
sudo chmod 755 *.py
sudo chmod 755 *.sh
#(base)
nano str2str.sh #送りたいcasterとのIP,passwaord,port,mountpointを書き換える
sudo mv str2str.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl start str2str.service
sudo systemctl enable str2str.service
#(rover)
sudo mv str2str-in.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl start str2str-in.service
sudo systemctl enable str2str-in.service
mkdir -p ~/.config/lxsession/LXDE-pi
cp /etc/xdg/lxsession/LXDE-pi/autostart ~/.config/lxsession/LXDE-pi/
nano ~/.config/lxsession/LXDE-pi/autostart
+@/home/pi/gpsnavi/gpsnavi.sh
#(shutdownbutton)
sudo mv shutdownbuttond.service /etc/systemd/system
sudo systemctl daemon-reload
sudo systemctl start shutdownbuttond.service
sudo systemctl enable shutdownbuttond.service
#(rover gpsnavi import module)
sudo pip3 install pyshp
sudo apt-get install libgeos-dev -y
sudo pip3 install Shapely
sudo apt-get install python3-numpy -y
sudo pip3 install pymap3d
git clone https://github.com/jgarff/rpi_ws281x
sudo apt-get install scons -y
cd rpi_ws281x
scons
sudo pip3 install rpi_ws281x
#(reTerminal )
sudo pip3 install seeed-python-reterminal
sudo nano /etc/xdg/lxsession/LXDE/autostart
+@xset s off
@xset s noblank
@xset -dpms
nano /etc/lightdm/lightdm.conf
+[SeatDefaults]
xserver-command=X -s 0 -dpms
#(LXTerminal 設定)
Monospace Bold 54px
sudo mv lxtrminal.conf ~/.config/lxterminal/