Page 1 of 10

Calibration from a single terminal.

Posted: Mon Jun 09, 2014 8:12 pm
by SHEEPMAN!
Since Mint 17 MATE does not run the calibrator as I am used to I came up with this.
You need:
Fairly recent Linux version.
A text editor.
So here we go. ##Anything after the # is just notes. The way I did it before I had a text editor and two terminals open at the same time.

Code: Select all

sudo mkdir /etc/X11/xorg.conf.d/ #creates a directory...only done once per machine

Code: Select all

sudo apt-get install xinput-calibrator 

Code: Select all

xinput_calibrator #minus sign became an underscore
Copy and paste all of this to nano.....of course your numbers are different
Section "InputClass"
Identifier "calibration"
MatchProduct "Fujitsu Component USB Touch Panel"
Option "Calibration" "303 4000 258 3917"
Option "SwapAxes" "0"
EndSection

Code: Select all

sudo nano /etc/X11/xorg.conf.d/99-calibration.conf
[Ctrl][x]
[[Enter]

notes: Calibration,calibrator and calibrate are all seen here.
Watch the - sign and the _ .........they move. X11 is a capital letter.

Let me know.

Thanks,

J'd

Re: Calibration from a single terminal.

Posted: Thu Jun 12, 2014 5:44 am
by UNCNDL1
Looks good Jeff. I've NOT used an editor before, but will try this out on a spare CF-30 and report back.

Re: Calibration from a single terminal.

Posted: Thu Jun 12, 2014 5:03 pm
by SHEEPMAN!
I was used to gedit but it doesn't come "stock" in all distros. So I tried nano (editor) and it works in the same terminal.....hence the one terminal hack. :D

BTW gedit is found in package manager or

Code: Select all

sudo apt-get install gedit
.

BTW I was wrong :pat: . [Ctrl][k] kills single lines.

Re: Calibration from a single terminal.

Posted: Thu Jun 12, 2014 5:12 pm
by SHEEPMAN!
Here is what 99-calibration.conf looks like in nano.

If it does not look exactly like this, start over. :D The calibration numbers will be slightly different.

Cleve, If you run this on that wonky CF-30 let me know what happens. Don't you have a hdd with Mint on it?

Thanks,

Jeff...double poster...

Re: Calibration from a single terminal.

Posted: Tue Aug 19, 2014 6:56 am
by UNCNDL1
This all makes sense after yesterday's telephone consultation.
:salute: Yes, the screenshots really DO help

Re: Calibration from a single terminal.

Posted: Tue Aug 19, 2014 11:59 am
by kode-niner
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.

Re: Calibration from a single terminal.

Posted: Tue Aug 19, 2014 12:09 pm
by mklym
Nice. The right-click is what I miss in Linux.
Do the 2 lines go into the 99-calibration.conf file under the calibration numbers, or does it go into a file of their own?
Thank you.

Re: Calibration from a single terminal.

Posted: Tue Aug 19, 2014 1:26 pm
by kode-niner
Toss them in the same file under your other Option lines.

Re: Calibration from a single terminal.

Posted: Tue Aug 19, 2014 1:38 pm
by SHEEPMAN!
Good post kode. :)
Put it before End Section Morgan.

Cleve, Navigatris is fine. The issue is Debian..."run from a terminal" from the documentation. IOW the gui is non-functional in Debian as I understand it. More tomorrow. Training day.

Once terminal is your friend you will be fine.

Re: Calibration from a single terminal.

Posted: Tue Aug 19, 2014 2:07 pm
by mklym
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.