Calibration from a single terminal.

Due to overwhelming demand, we have created a forum just dedicated to Toughbook users who use Linux!
Message
Author
User avatar
SHEEPMAN!
Posts: 2239
Joined: Thu Oct 14, 2010 1:13 pm
Location: TDR-HQ California

Calibration from a single terminal.

#1 Post 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
Fair for you/ Fair for me.
I chose to NOT be organized.

-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/

UNCNDL1
Posts: 509
Joined: Wed Nov 16, 2011 8:01 pm
Location: New England

Re: Calibration from a single terminal.

#2 Post 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.
CF-53 MX-Linux 21 Wildflower
CF-30 MK2 SSD MX-21 Betsy, MK2 Navigatrix, Fundraiser for TbT
CF-52 GUN SSD MX-19
(NICE) Thanks Sadlmkr
CF-M34 MicroWattR8 Thanks Sadlmkr
CF-M33 MicroWattR8 Thanks Springfield

User avatar
SHEEPMAN!
Posts: 2239
Joined: Thu Oct 14, 2010 1:13 pm
Location: TDR-HQ California

Re: Calibration from a single terminal.

#3 Post 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.
Attachments
nano.png
nano.png (199.01 KiB) Viewed 386264 times
Fair for you/ Fair for me.
I chose to NOT be organized.

-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/

User avatar
SHEEPMAN!
Posts: 2239
Joined: Thu Oct 14, 2010 1:13 pm
Location: TDR-HQ California

Re: Calibration from a single terminal.

#4 Post 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...
Attachments
calib.png
calib.png (68.41 KiB) Viewed 386264 times
Fair for you/ Fair for me.
I chose to NOT be organized.

-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/

UNCNDL1
Posts: 509
Joined: Wed Nov 16, 2011 8:01 pm
Location: New England

Re: Calibration from a single terminal.

#5 Post by UNCNDL1 »

This all makes sense after yesterday's telephone consultation.
:salute: Yes, the screenshots really DO help
CF-53 MX-Linux 21 Wildflower
CF-30 MK2 SSD MX-21 Betsy, MK2 Navigatrix, Fundraiser for TbT
CF-52 GUN SSD MX-19
(NICE) Thanks Sadlmkr
CF-M34 MicroWattR8 Thanks Sadlmkr
CF-M33 MicroWattR8 Thanks Springfield

User avatar
kode-niner
Posts: 700
Joined: Sat Jun 07, 2014 7:39 am
Location: Canada

Re: Calibration from a single terminal.

#6 Post 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.
Daily drives a CF-31

User avatar
mklym
Posts: 907
Joined: Fri Feb 22, 2013 3:10 pm
Location: Edmonton, Alberta

Re: Calibration from a single terminal.

#7 Post 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.
CF-29LTQ,CF-31SBM,CF-52youngGUN,

Life's Journey is not to arrive safely at the grave in a well preserved body, but rather to skid in sideways totally worn-out shouting 'Woo Hoo! What a ride!

Motorsports - the only real sport. If it doesn't have a motor, it is just a game.

There is always something waiting at the end of the road, if you are not willing to see what it is, you probably shouldn't be out there in the first place.

User avatar
kode-niner
Posts: 700
Joined: Sat Jun 07, 2014 7:39 am
Location: Canada

Re: Calibration from a single terminal.

#8 Post by kode-niner »

Toss them in the same file under your other Option lines.
Daily drives a CF-31

User avatar
SHEEPMAN!
Posts: 2239
Joined: Thu Oct 14, 2010 1:13 pm
Location: TDR-HQ California

Re: Calibration from a single terminal.

#9 Post 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.
Fair for you/ Fair for me.
I chose to NOT be organized.

-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/

User avatar
mklym
Posts: 907
Joined: Fri Feb 22, 2013 3:10 pm
Location: Edmonton, Alberta

Re: Calibration from a single terminal.

#10 Post 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.
CF-29LTQ,CF-31SBM,CF-52youngGUN,

Life's Journey is not to arrive safely at the grave in a well preserved body, but rather to skid in sideways totally worn-out shouting 'Woo Hoo! What a ride!

Motorsports - the only real sport. If it doesn't have a motor, it is just a game.

There is always something waiting at the end of the road, if you are not willing to see what it is, you probably shouldn't be out there in the first place.

Post Reply

Return to “The LINUX forum!!!”