Changes

Jump to navigation Jump to search
no edit summary
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 37: Line 41:  
For instance on my own machine, /usr/share/X11/xorg.conf.d/98-screen-calibration.conf is the location that worked. Othere people have located it successfully in  /etc/X11/xorg.conf.d/99-calibration.conf. So a certain amount of adaption is required...
 
For instance on my own machine, /usr/share/X11/xorg.conf.d/98-screen-calibration.conf is the location that worked. Othere people have located it successfully in  /etc/X11/xorg.conf.d/99-calibration.conf. So a certain amount of adaption is required...
    +
[[File:Screenshot 2020-07-06 14-56-13.png|660px|center]]
      Line 47: Line 52:       −
{|
+
{| class="wikitable"
 
! style="text-align:left;"| Step
 
! style="text-align:left;"| Step
 
! Action
 
! Action
Line 69: 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
334

edits

Navigation menu