Page 2 of 10

Re: Calibration from a single terminal.

Posted: Tue Aug 19, 2014 2:13 pm
by Shawn
mklym wrote:..........
It seems that most of the guys that consider themselves, or come across as, linux gurus never bother to give proper details. They assume everyone reading their post are gurus as well. It has been one of the things that keeps me from running nothing but Linux.
......


I agree...

Re: Calibration from a single terminal.

Posted: Tue Aug 19, 2014 3:34 pm
by kode-niner
mklym wrote:
Sadlmkr wrote: Put it before End Section Morgan.
Thanks Jeff.

It would have been a better post if that info was included in kodes post.
It seems that most of the guys that consider themselves, or come across as, linux gurus never bother to give proper details. They assume everyone reading their post are gurus as well. It has been one of the things that keeps me from running nothing but Linux.
Thanks Jeff for being one of the few Linux gurus that takes the time to fully explain their posts about doing things in Linux. /end rant.
Sorry about that. I don't exactly assume everybody who reads me is a guru. I just wrongly assume that the meaning of what I am typing is obvious. I'm glad to help, anyway.

Re: Calibration from a single terminal.

Posted: Tue Aug 19, 2014 4:00 pm
by UNCNDL1
kode-niner wrote:Toss them in the same file under your other Option lines.
Great input, thank you Kode9er! I'll give it a try on my test box and report back. Best regards, Cleve

Re: Calibration from a single terminal.

Posted: Fri Aug 22, 2014 11:27 am
by mklym
kode-niner wrote:As a side note, I added these on my CF-19 touchscreen:

Code: Select all

Option "EmulateThirdButton"  "1"
Option "EmulateThirdButtonMoveThreshold" "50"
First line allows you to emulate a right-click by just keeping your pen in the same spot for one second. Otherwise it registers as a normal left-click tap or drag. The second line is to allow a few pixels movement while your pen is down so that it doesn't reset to normal left-click in case your hand isn't that of a surgeon and completely steady, or the touchscreen has a bit of fuzziness.

Very useful for me since I rely a lot on right clicking and context menus.
Thanks kode for posting this. It works okay on my CF-29MK4 running SolydX32.
Thank you Jeff for the clairification on where to paste the code.

Re: Calibration from a single terminal.

Posted: Fri Sep 05, 2014 3:46 pm
by UNCNDL1
I'm on the MK3 CF-28, and just followed these directions using Lubuntu 14.04.1 LTS (good till 2019):
twentyeight@28:~$ sudo mkdir /etc/X11/xorg.conf.d/ #creates a directory...only done once per machine
[sudo] password for twentyeight:
twentyeight@28:~$ sudo apt-get install xinput-calibrator
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
xinput-calibrator
0 upgraded, 1 newly installed, 0 to remove and 65 not upgraded.
Need to get 40.7 kB of archives.
After this operation, 195 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/universe xinput-calibrator i386 0.7.5+git20140201-1 [40.7 kB]
Fetched 40.7 kB in 0s (290 kB/s)
Selecting previously unselected package xinput-calibrator.
(Reading database ... 105212 files and directories currently installed.)
Preparing to unpack .../xinput-calibrator_0.7.5+git20140201-1_i386.deb ...
Unpacking xinput-calibrator (0.7.5+git20140201-1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up xinput-calibrator (0.7.5+git20140201-1) ...
twentyeight@28:~$ xinput_calibrator #minus sign became an underscore
Setting calibration data: 0, 4096, 0, 4096
Calibrating EVDEV driver for "LBPS/2 Fujitsu Lifebook TouchScreen" id=10
current calibration values (from XInput): min_x=0, max_x=4096 and min_y=0, max_y=4096

Doing dynamic recalibration:
Setting calibration data: 194, 3810, 335, 3865
--> Making the calibration permanent <--
copy the snippet below into '/etc/X11/xorg.conf.d/99-calibration.conf' (/usr/share/X11/xorg.conf.d/ in some distro's)
Section "InputClass"
Identifier "calibration"
MatchProduct "LBPS/2 Fujitsu Lifebook TouchScreen"
Option "Calibration" "194 3810 335 3865"
Option "SwapAxes" "0"
EndSection
twentyeight@28:~$
This little P3 is running like a champ, and the touchscreen is now calibrated too!
Thanks Jeff

Re: Calibration from a single terminal.

Posted: Mon Oct 13, 2014 9:58 pm
by UNCNDL1
I use this thread all the time, and so I needed to bump it up closer to the top of the page, although I never could figure out how to do this in one terminal, I still use two... :pat:

Re: Calibration from a single terminal.

Posted: Tue Oct 14, 2014 6:22 am
by kode-niner
UNCNDL1 wrote:I use this thread all the time, and so I needed to bump it up closer to the top of the page, although I never could figure out how to do this in one terminal, I still use two... :pat:
Can I ask why?

Re: Calibration from a single terminal.

Posted: Tue Oct 14, 2014 12:23 pm
by UNCNDL1
Mainly because I'm crazy, and can NOT remember code. I'd rather cut and paste and just get it over with. The real reason is because I don't have a regular system with bookmarks in the browser. Every day's a new day.

Re: Calibration from a single terminal.

Posted: Tue Oct 14, 2014 6:06 pm
by SHEEPMAN!
The trick is to right click Copy the calibration data then do your nano /etc/X11/......99.....conf and then right click to paste. With nano you can right click P any place in the editor and it automagically lines up.
Do 30 or 40 more....you'll get it. :D

Re: Calibration from a single terminal.

Posted: Tue Oct 14, 2014 6:34 pm
by kode-niner
You could always redirect the output of xinput_calibrator directly into the file then clean it up afterwards. These commands are to create the xorg.conf.d directory and it will create the 99-calibration.conf file if it doesn't exist. Otherwise it will replace its contents with the new text.

Code: Select all

sudo mkdir /etc/X11/xorg.conf.d
sudo xinput_calibrator > /etc/X11/xorg.conf.d/99-calibration.conf
Then edit the file to remove the few extra lines of nonsense on top and keep the config data. No more copy-paste. ;)