Xinput_calibrator

I’m trying to install this as part of my ongoing effort to get the touchscreen calibrated on my Panasonic cf-30 Toughbook. The only option I can find to install it is to use git hub from the aur but the package seems to be incomplete and contains only PKGBUILD but nothing else and fails to make. Can anyone help please.

xinput-calibrator is an orphaned package, it has not been updated in the last 7 years.

Try installing the xinput_calibrator-kreijack-git package instead:

yay -S xinput_calibrator-kreijack-git

It seems that you may not be familiar with AUR packages and their installation. When you run the above command, yay will build the package for you. Yay will ask you a series of questions during the install; just hit Enter at each one, to accept the default value.

(edited because I posted a different package by mistake :roll_eyes:)

1 Like

Many thanks. I’ll try the package you recommend when I get chance. You’re correct as I am fairly new to arch and follow the directions here https://youtu.be/h6UkjRl9dNE?si=3NYrDh2zZMH-9Tk-
for installing from git hub. I don’t understand the technicalities but it works, usually.

It’s very good that you are learning how to install packages manually. That knowledge is helpful in a variety of ways.

EndeavourOS has an AUR helper called “yay” installed by default. Yay automates the installation (and updating) of AUR packages, with options available for manual intervention.

You can install the xinput_calibrator-kreijack-git package (or any other AUR package) either by using the command yay -S xinput_calibrator-kreijack-git, or manually via the git clone method.

Yay can also be used to install repo packages and update your entire system (repo packages + AUR packages) if you wish.

You can learn a lot from the Arch wiki article on the AUR.

Here is a “cheat sheet” for Yay.

There’s also an Arch wiki page on AUR helpers.

3 Likes

I installed the ‘kreijack’ package and ran xinput_calibrator and I’m so happy as the screen calibrates perfectly. After many searches and attempts this is the solution at last so heartfelt thanks to Stagger_Lee.
I’ll print the very useful cheat sheet.
May I ask for your guidance on saving the calibration results to make the calibration permanent.
I have to copy the text below ( Section “InputClass” TO EndSection
into either ‘/etc/X11/xorg.conf.d/99-calibration.conf’ OR (/usr/share/X11/xorg.conf.d/ in some distro’s)
I dont’ know how to do this. Can you talk me through in simple terms how to do this (I’m still learning)
Thanks in anticipation.

1 Like

You will need to create a file called 99-calibration.conf in the /etc/X11/xorg.conf.d directory.

Open a terminal, and we’ll use nano as the text editor:

sudo nano /etc/X11/xorg.conf.d/99-calibration.conf

Then paste the text into the terminal.

Save the file:

Ctrl + o (that’s the letter o, not a zero)

Then press Enter

Then Ctrl + x to exit nano.

If you did it correctly, nano will close and you will be back at your terminal prompt. You can navigate to /etc/X11/xorg.conf.d with your file manager and double-check that the 99-calibration.conf file was created.

1 Like

All good. Many thanks for clear instructions.
Very much appreciated.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.