Line 1:
Line 1:
+
'''There may be some historic interest here but Zynthian now provides touchscreen calibration from the admin menu so you shouldn't need to read this.
+
'''
+
<br clear=all>
+
[[File:IMG 20200208 161425.jpg|150px|center]]
[[File:IMG 20200208 161425.jpg|150px|center]]
Line 54:
Line 58:
|-
|-
|1.
|1.
−
|SSH into zynthian (root/raspberry)
+
|SSH into zynthian (root/opensynth)
|Ok
|Ok
|-
|-
Line 70:
Line 74:
|-
|-
|5.
|5.
−
|> cp 99-calibration.conf 99-calibration.conf.backup
−
|backup your current config
−
|-
−
|6.
|> apt-get install -y xinput-calibrator
|> apt-get install -y xinput-calibrator
|A generic touchscreen calibration program for X.Org —I’ve already got it but I’ve played around a bit
|A generic touchscreen calibration program for X.Org —I’ve already got it but I’ve played around a bit
|-
|-
−
|7.
+
|6.
|> > apt-get install -y bc GNU bc
|> > apt-get install -y bc GNU bc
|3. copy and paste bash script from link above, create this as “calib” script (using vi [grrrr]… nano is a much easier windows like tool for people who have issues with vi . . . :-). Type nano calib, cut and paste the code into it. Cntrl O to write it Cntrl X to exit …)add this as first line on script:
|3. copy and paste bash script from link above, create this as “calib” script (using vi [grrrr]… nano is a much easier windows like tool for people who have issues with vi . . . :-). Type nano calib, cut and paste the code into it. Cntrl O to write it Cntrl X to exit …)add this as first line on script:
|-
|-
−
|8.
+
|7.
|add export DISPLAY=:0.0 to script first line
|add export DISPLAY=:0.0 to script first line
|Easy withing nano . . . :slight_smile:
|Easy withing nano . . . :slight_smile:
|-
|-
−
|9.
+
|8.
|> chmod 755 calib
|> chmod 755 calib
|make it executable; I agree with @Baggypants
|make it executable; I agree with @Baggypants
|-
|-
−
|10.
+
|9.
|> ./calib
|> ./calib
|6. calibration will popup on screen, follow instructions and Play tap the dot :smiley:
|6. calibration will popup on screen, follow instructions and Play tap the dot :smiley:
|-
|-
−
|11.
+
|10.
|> nano 99-calibration.conf
|> nano 99-calibration.conf
|7. calibration script will end up with output which should go into /etc/X11/xorg.conf.d/99-calibration.conf [BEWARE! script recommends different file names, IDK if will work then] i already had details for this in the file so I overwrote them
|7. calibration script will end up with output which should go into /etc/X11/xorg.conf.d/99-calibration.conf [BEWARE! script recommends different file names, IDK if will work then] i already had details for this in the file so I overwrote them