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
Shawn
Posts: 2960
Joined: Fri Jan 18, 2013 11:35 am

Re: Calibration from a single terminal.

#11 Post 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...
Life will beat you into submission.

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

Re: Calibration from a single terminal.

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

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

Re: Calibration from a single terminal.

#13 Post 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
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
mklym
Posts: 907
Joined: Fri Feb 22, 2013 3:10 pm
Location: Edmonton, Alberta

Re: Calibration from a single terminal.

#14 Post 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.
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.

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

Re: Calibration from a single terminal.

#15 Post 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
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

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

Re: Calibration from a single terminal.

#16 Post 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:
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.

#17 Post 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?
Daily drives a CF-31

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

Re: Calibration from a single terminal.

#18 Post 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.
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.

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

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

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

Re: Calibration from a single terminal.

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

Post Reply

Return to “The LINUX forum!!!”