Skip to content
Snippets Groups Projects
Commit deed5008 authored by tobiglaser's avatar tobiglaser
Browse files

minor fixes

parent 6f04edb0
No related branches found
No related tags found
No related merge requests found
...@@ -22,13 +22,14 @@ ...@@ -22,13 +22,14 @@
sudo apt -qq upgrade -y -qq sudo apt -qq upgrade -y -qq
# Desktop Environment # Desktop Environment
echo "Installing Desktop Environment" echo "Installing Packages:"
echo " Desktop Environment"
sudo apt -qq install -qq -y lxde-core lxappearance sudo apt -qq install -qq -y lxde-core lxappearance
echo " Installing tightvnc." echo " tightvnc."
sudo apt -qq install -qq -y tightvncserver sudo apt -qq install -qq -y tightvncserver
echo "Installing Arduino IDE." echo " Arduino IDE."
sudo apt -qq install -qq -y arduino sudo apt -qq install -qq -y arduino
echo "Installing letsgoING ArduinoControl" echo " letsgoING ArduinoControl"
sudo apt -qq install -qq -y python3-pip python3-tk sudo apt -qq install -qq -y python3-pip python3-tk
sudo -H python3 -m pip install -q letsgoing-rpi-arduinocontrol sudo -H python3 -m pip install -q letsgoing-rpi-arduinocontrol
...@@ -52,9 +53,12 @@ ...@@ -52,9 +53,12 @@
sudo chmod 0600 /home/$myuser/.vnc/passwd sudo chmod 0600 /home/$myuser/.vnc/passwd
# thx https://askubuntu.com/questions/328240/assign-vnc-password-using-script # thx https://askubuntu.com/questions/328240/assign-vnc-password-using-script
echo " VNC Password: $mypasswd" echo " VNC Password: $mypasswd"
echo " copying configuration files" echo " copying configuration files"
echo " vnc"
sudo cp vnc/xstartup /home/$myuser/.vnc/xstartup sudo cp vnc/xstartup /home/$myuser/.vnc/xstartup
sudo chmod +x /home/$myuser/.vnc/xstartup sudo chmod +x /home/$myuser/.vnc/xstartup
echo " config"
sudo mkdir -p /home/$myuser/.config/
sudo cp -r config/* /home/$myuser/.config/ sudo cp -r config/* /home/$myuser/.config/
done done
...@@ -149,7 +153,7 @@ ...@@ -149,7 +153,7 @@
echo "Adding example Sketch." echo "Adding example Sketch."
for i in $(seq 1 $vncCount) for i in $(seq 1 $vncCount)
do do
mkdir -p /home/$vncBaseName$i/Arduino sudo mkdir -p /home/$vncBaseName$i/Arduino
sudo cp -r Arduino/* /home/$vncBaseName$i/Arduino/ sudo cp -r Arduino/* /home/$vncBaseName$i/Arduino/
done done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment