Skip to content

meowmeowahr/KevinbotV3-Remote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kevinbot v3 Remote

Setup

  • Configure Wi-Fi and Serial Port

    sudo raspi-config

    1. Navigate to System Options > Wireless LAN
    2. Configure your SSID and Password
    3. Navigate to Interface Options > Serial Port
    4. Select No to the first option
    5. Select Yes to the second option
    6. Exit raspi-config and reboot
  • Update System

    sudo apt update && sudo apt upgrade

  • Install required packages
    sudo apt install openbox python3-pyqt5 python3-pyqt5.qtwebengine udiskie lightdm lxterminal python3-pip onboard

  • Enable Auto Login

    Add the following to /etc/lightdm/lightdm.conf

    [SeatDefaults]
    autologin-user=<YOUR USER>
    
  • Configure LightDM to start on boot

    sudo raspi-config

    1. Navigate to System Options > Boot / Auto Login > B4 Desktop Autologin
    2. Select Finish
    3. Reboot
  • Set Theme

    1. Right-click to open the Root Menu
    2. Select "ObConf"
    3. Select Appearance
    4. Set Button Order to "LIMC" (without quotes)
    5. Set all font sizes to 14px
    6. Close ObConf
  • Setup On-scren Keyboard

    1. Navgate to Root Menu > Applications > Settings > Onboard Settings
    2. Under "Auto-show", enable "Auto show when editing text" and enable accessibility
    3. Disable "Hide when typing on physical keyboard"
    4. Under "Theme", select "Blackboard"
    5. Under "Window", enable "Force window to top"
    6. Close Onboard Settings
  • Configure Auto Start

    1. Open the Root Menu and navigate to Terminal emulator

    2. Edit "/etc/xdg/openbox/autostart"

      sudo nano /etc/xdg/openbox/autostart

      Then, add

       udiskie -a &
       onboard &
       onboard &
      
    3. Save

    4. Reboot sudo reboot

  • Install Kevinbot Remote

    1. Open a Terminal

    2. Create Kevinbot Directory

      mkdir ~/KbotV3
      cd ~/KbotV3
      
    3. Insert a USB Drive with the 1.0-b40.tar.gz update file

    4. Check USB device name

      ls /media/<YOUR USER>

    5. Extract Remote Software

      tar -xvf /media/<YOUR USER>/<DRIVE NAME>/1.0-b40.tar.gz

    6. Install Requirements

      pip install -r requirements.txt

    7. Remove mouse cursor

      Add the following to /etc/lightdm/lightdm.conf under [SeatDefaults]

      xserver-command = X -nocursor

  • Autostart Kevinbot Runner

    1. Edit "/etc/xdg/openbox/autostart"

      sudo nano /etc/xdg/openbox/autostart

      Then, add

      cd ~/KbotV3
      python3 ~/KbotV3/runner.py &
      
    2. Save

    3. Reboot sudo reboot