Line 30:
Line 30:
[[File:Screenshot 2020-07-03 17-33-23.png|660px|center]]
[[File:Screenshot 2020-07-03 17-33-23.png|660px|center]]
+
+
+
----
+
The following is a list of operations to be performed but the actual location of the script seems to vary between different installations.
+
+
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 38:
Line 48:
−
{|
+
{| class="wikitable"
! style="text-align:left;"| Step
! style="text-align:left;"| Step
! Action
! Action
Line 60:
Line 70:
|-
|-
|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
|-
|-
|}
|}