<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=1607&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Touchscreen Calibration in ASCII]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=1607</link>
		<description><![CDATA[The most recent posts in Touchscreen Calibration in ASCII.]]></description>
		<lastBuildDate>Mon, 25 Sep 2017 04:53:18 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Touchscreen Calibration in ASCII]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=5141#p5141</link>
			<description><![CDATA[<p>If you use a touchscreen and move from Devuan &quot;Jessie&quot; to Devuan &quot;ASCII&quot; you may notice that the xinput-calibrator command no long actually calibrates the screen (Currently this program is reported to calibrate for Toughbook CF-29 and Toughbook CF-30 devices), or doesn&#039;t calibrate it properly. </p><p>Now in order to get around this you can use a script created by Greg Toombs (reinderien) to calibrate your screen. Although it doesn&#039;t support all of the features that xinput-calibrator does, it does actually calibrate the touchscreens. The script is located <a href="https://github.com/reinderien/xcal" rel="nofollow">here</a>.</p><h5>Installing the Requirements</h5><p>The requirements are relatively small, Python 3 (provided by the python3 package), the tkinter module for python 3 (provided by python3-tk), and the numpy module for python 3 (provided by python3-numpy), I would also suggest installing git, so you can just get the code easier.</p><p>So to install these requirements do:</p><div class="codebox"><pre><code>apt-get install python3 python3-tk python3-numpy</code></pre></div><p>(for git, just add git at the end of the command)</p><h5>Getting the program</h5><p>Obtaining the program is relatively simple, if you have git just do the following:</p><div class="codebox"><pre><code>git clone https://github.com/reinderien/xcal.git</code></pre></div><p>if you don&#039;t have git, click <a href="https://github.com/reinderien/xcal" rel="nofollow">here</a>, and then click on: clone or download, and download the zip.<br />You will then have to extract it.</p><h5>Using the program</h5><p>Probably the simplest part of this, is just using the program, just go into the directory in which the program is, and do</p><div class="codebox"><pre><code>./xcal</code></pre></div><p>If this doesn&#039;t work do </p><div class="codebox"><pre><code>chmod +x xcal</code></pre></div><p> and then try again.</p><p>After that follow the prompts. However you must run this in a terminal in order for you to be able to really use this program.</p><p>Please note that I am unsure of how to actually save the calibration between reboots, so for now you will need to rerun the program after each reboot. However, other than that, this works relatively well.</p>]]></description>
			<author><![CDATA[dummy@example.com (Chanku)]]></author>
			<pubDate>Mon, 25 Sep 2017 04:53:18 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=5141#p5141</guid>
		</item>
	</channel>
</rss>
