octodash

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
octodash [23.12.2020 06:44] – [Display] Pascal Suteroctodash [23.12.2020 08:28] (current) Pascal Suter
Line 31: Line 31:
 in there go to ''system options'' --> ''S5 Boot / Auto Login'' and choose the ''B2 Console Autologin'' option in there go to ''system options'' --> ''S5 Boot / Auto Login'' and choose the ''B2 Console Autologin'' option
  
-go back to the main menu+go back to the main menu. don't exit yet if you want to add VNC as well. 
  
 ===== VNC ===== ===== VNC =====
Line 42: Line 42:
 now that this is done, you can exit raspi-config now that this is done, you can exit raspi-config
  
-if you are using the realvnc viewer, you may connect to your raspberry now, however, if you are using any other viewer, you might get an error that the encryption type is not supported or something similar. This is because the raspberry is using realvnc server which in turn defaults to some, i believe, proprietary encryption config to secure your vnc connectionyou can disable this, in order to allow any other viewers to be used as well. **this means though, that anything you type and also your password will be transferred over the network in plain text** so use this in your LAN only!+if you are using another vnc viewer than realvnc, you might need to disable encryption as your viewer might not support that. do this only on your LAN, otherwise use a ssh tunnel or similar to protect your VNC session
  
 to disable encryption create a new file in ''/etc/vnc/config.d/common.custom''  to disable encryption create a new file in ''/etc/vnc/config.d/common.custom'' 
Line 65: Line 65:
   sudo systemctl stop vncserver-x11-serviced.service   sudo systemctl stop vncserver-x11-serviced.service
  
 +===== Calibrate the screen =====
 +before we can setup octodash, we need to calibrate our touchscreen. 
 +
 +first, make sure there is a ''/etc/X11/xorg.conf.d'' directory in place, simply run 
 +  sudo mkdir -p /etc/X11/xorg.conf.d
 +which will create it for you if it doesn't exist yet
 +
 +in an ssh session, start the xinput calibrator: 
 +  export DISPLAY=:0.0
 +  sudo xinput_calibrator --output-filename /etc/X11/xorg.conf.d/99-calibration.conf
 +
 +for some reason, on my WaveShare 3.5 in display, the touch input was rotated 90° clockwise of what it should have been.. to solve this, i had to add the following line to the ''99-calibration.conf'' file. 
 +  Option "TransformationMatrix" "0 -1 1 1 0 0 0 0 1"
 +for more information, see [[https://github.com/swkim01/waveshare-dtoverlays|the waveshare driver github page]]
 +
 +sidenote: to get xinput you have to install it first using 
 +  sudo apt install xinput
 +also having xeyes really helps to debug touchscreen calibration: 
 +  sudo apt install x11-apps
 +  export DISPLAY=:0.0 
 +  xeyes
 +if they don't stare at your finger, your calibration is off :) 
 +
 +now reboot your raspberry and you should be able to go through the octodash setup using your touchscreen
  
  • octodash.1608702297.txt.gz
  • Last modified: 23.12.2020 06:44
  • by Pascal Suter