Page 10 of 10

Re: Calibration from a single terminal.

Posted: Sat Apr 13, 2019 10:38 am
by SHEEPMAN!
Bumping important bits. For those that only read the last post.

Run from terminal with one line.

I needed to use root terminal to run this. Possibly because it is on a LiveUSB. This was wrong, see next post.

Code: Select all

xinput_calibrator --output-type xorg.conf.d --output-filename /etc/X11/xorg.conf.d/99-calibration.conf


Whatever text editor you use, append the two lines exactly as shown. Viola! right click!

Code: Select all

Option "EmulateThirdButton"  "1"
Option "EmulateThirdButtonMoveThreshold" "50"

Re: Calibration from a single terminal.

Posted: Tue Apr 23, 2019 12:41 am
by SHEEPMAN!
Must be run from root as you are creating a file, whereas just calibrating the screen is acceptable as user input.

Re: Calibration from a single terminal.

Posted: Tue Apr 23, 2019 11:40 am
by kode-niner
Yeah, almost everything in /etc is owned by root. You don't want user processes mucking around X11 either, so it's only natural that everything in there is 100% owned by root.

Re: Calibration from a single terminal.

Posted: Fri Apr 26, 2019 10:51 am
by SHEEPMAN!
Speaking of root....

WHEN WRITING A .conf FILE FROM THE TERMINAL, HOW DO YOU MAKE THE BLESSED THING RUN THE FILE.

SO FAR I WROTE PSMOUSE.CONF WITH A ONE-LINER FROM TERMINAL

THEN I REBOOTED. DIDN'T TAKE EFFECT SO I EDITED FILE FROM FILE MANAGER GRANTING READ/WRITE ACCESS TO ALL USERS..
I haven't rebooted yet but what is the correct way (simple) to do this once?

Maybe do

Code: Select all

echo options psmouse resolution=400
Using su?

Thanks.

Re: Calibration from a single terminal.

Posted: Mon Apr 29, 2019 9:57 am
by kode-niner
Sorry I might have missed the beginning of this discussion, but what is in your psmouse.conf and in which directory did you put it in?

Re: Calibration from a single terminal.

Posted: Fri May 03, 2019 2:25 am
by SHEEPMAN!
To speed up draggy mouse permanently in a CF-29.

Contents:

Code: Select all

options psmouse resolution=400
The file is: /etc/modprobe.d/psmouse.conf with the other .conf files

putting it in /usr/share/X11/xorg.conf.d caused a system hang-up. I don't call it a crash because I figured it might happen. IOW my fault not the system.

I've used this for years on CF-29s. Something changed in MX18 (Debian Stretch?)

In lsmod psmouse says 0. (not used?)

It doesn't help that I am on four different computer models every day. :pat:

Re: Calibration from a single terminal.

Posted: Sun Jun 02, 2019 1:43 pm
by UNCNDL1
Working on the touchscreen 31 MK4, and put this into terminal:
mx@mx:~
$ sudo xinput_calibrator --output-type xorg.conf.d --output-filename /etc/X11/xorg.conf.d/99-calibration.conf
Calibrating EVDEV driver for "Fujitsu Component USB Touch Panel" id=9
current calibration values (from XInput): min_x=473, max_x=15694 and min_y=1129, max_y=15905

Doing dynamic recalibration:
Setting calibration data: 530, 15652, 1137, 15926
--> Making the calibration permanent <--
writing xorg.conf calibration data to '/etc/X11/xorg.conf.d/99-calibration.conf'
Section "InputClass"
Identifier "calibration"
MatchProduct "Fujitsu Component USB Touch Panel"
Option "Calibration" "530 15652 1137 15926"
Option "SwapAxes" "0"
EndSection
mx@mx:~
$
1. Situation is that nano editor is on the operating system, but can not get it to open up.
Is there another editor available to use?
2. Do I need to make calibration permanent, or has it already been saved?
I'm rusty at this and need some practice

Re: Calibration from a single terminal.

Posted: Tue Jun 04, 2019 3:47 pm
by kode-niner
Are you root or using sudo to edit the root-owned file?

Re: Calibration from a single terminal.

Posted: Tue Oct 22, 2019 6:58 pm
by UNCNDL1
So glad I book marked this posting. Using it on the MK2 CF-30 that I bought in an auction on this site way back when to fund some needed website goodies.
This is running an older version of Navigatrix 0.5 from 2015. It looks like I need to upgrade the browser (maybe) but other than that, touchscreen calibration as described above works just fine.
Funny Terminal:
_________________________________
/ When the sun shineth, make hay. \
| |
\ -- John Heywood /
---------------------------------
\
__,---.
/__|o )
`- / /
,) (,
// \\
{( )}
=======""===""===============
|||||
|||
|
/ New Year's Eve is the time of year when \
| a man most feels his age, and his wife |
| most often reminds him to act it. |
| |
\ -- Webster's Unafraid Dictionary /
-----------------------------------------
\
__,---.
/__|o )
`- / /
,) (,
// \\
{( )}
=======""===""===============
|||||
|||
|

tough@debian:~$ sudo apt-get install xinput-calibrator
[sudo] password for tough:
Reading package lists... Done
Building dependency tree
Reading state information... Done
xinput-calibrator is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
tough@debian:~$ xinput_calibrator #minus sign became an underscore
Setting calibration data: 0, 4095, 0, 4095
Calibrating EVDEV driver for "Fujitsu Component USB Touch Panel" id=9
current calibration values (from XInput): min_x=0, max_x=4095 and min_y=0, max_y=4095

Doing dynamic recalibration:
Setting calibration data: 282, 3929, 221, 3954
--> 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 "Fujitsu Component USB Touch Panel"
Option "Calibration" "282 3929 221 3954"
Option "SwapAxes" "0"