Hi I'm working on a Panasonic Toughbook CF-31S MK3 and am working to get the Touchscreen to Calibrate automatically on startup. I have a script that works when run by itself, however I need to be able to have it run automatically on reboot/startup so that I don't have to manually run the script every time I boot up to Ubuntu.
Here is my script:
I myself am quite new to linux, and have been using many different guides to try to get this to work, however to no avail, all my efforts have been fruitless. I've tried making it a Cron Job, Adding it using Systemd services, adding the xinput_calibrator output into /usr/share/xorg.conf.d/99-calibrations.conf file, generating a rc.local file and trying to startup using that, probably other things I can't particularly remember. All of these things, I am not entirely sure I am even doing correctly with my current linux experience. If someone knows a sure fire way to get this working or any suggestions, please leave a reply and in detail let me know what I need to do to get this thing to work so I don't need to run this every time I boot up please!
Thanks for any helpful input in advance!
Here is my script:
#!/bin/sh
# Coordinate touch panel to screen
xinput set-prop "Fujitsu Component USB Touch Panel" "Coordinate Transformation Matrix" 1.075, 0, -.03, 0, 1.1, -0.07, 0, 0, 1
I myself am quite new to linux, and have been using many different guides to try to get this to work, however to no avail, all my efforts have been fruitless. I've tried making it a Cron Job, Adding it using Systemd services, adding the xinput_calibrator output into /usr/share/xorg.conf.d/99-calibrations.conf file, generating a rc.local file and trying to startup using that, probably other things I can't particularly remember. All of these things, I am not entirely sure I am even doing correctly with my current linux experience. If someone knows a sure fire way to get this working or any suggestions, please leave a reply and in detail let me know what I need to do to get this thing to work so I don't need to run this every time I boot up please!
Thanks for any helpful input in advance!