Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| octodash [23.12.2020 06:44] – [Display] Pascal Suter | octodash [23.12.2020 08:28] (current) – Pascal Suter | ||
|---|---|---|---|
| Line 31: | Line 31: | ||
| in there go to '' | in there go to '' | ||
| - | 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 | + | if you are using another vnc viewer |
| to disable encryption create a new file in ''/ | to disable encryption create a new file in ''/ | ||
| 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 ''/ | ||
| + | sudo mkdir -p / | ||
| + | which will create it for you if it doesn' | ||
| + | |||
| + | in an ssh session, start the xinput calibrator: | ||
| + | export DISPLAY=: | ||
| + | sudo xinput_calibrator --output-filename / | ||
| + | |||
| + | 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 '' | ||
| + | Option " | ||
| + | for more information, | ||
| + | |||
| + | 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=: | ||
| + | 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 | ||