<?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=3087&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / 'xinput test' produces no output when typing in xfwrite [SOLVED]]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3087</link>
		<description><![CDATA[The most recent posts in 'xinput test' produces no output when typing in xfwrite [SOLVED].]]></description>
		<lastBuildDate>Sun, 29 Sep 2019 04:08:28 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: 'xinput test' produces no output when typing in xfwrite [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18120#p18120</link>
			<description><![CDATA[<p>I found that <span class="bbc">xinput --test-xi2 --root</span> and <span class="bbc">xinput --test-xi2 --root &lt;keyboard_id&gt;</span> work.</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Sun, 29 Sep 2019 04:08:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18120#p18120</guid>
		</item>
		<item>
			<title><![CDATA['xinput test' produces no output when typing in xfwrite [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18119#p18119</link>
			<description><![CDATA[<p>I created a little shell script that uses a crude keylogger (<span class="bbc">xinput test &lt;keyboard_id&gt;</span>) and <span class="bbc">xdotool</span> to replace certain character combinations when they are typed. The script is <a href="https://github.com/bdantas/iksilo" rel="nofollow">here</a> but the particulars are not important.</p><p>The problem is that my script works well with all the GUI applications I&#039;ve tested except for (ironically) my preferred text editor, <span class="bbc">xfwrite</span>. It seems that <span class="bbc">xfwrite</span> is somehow immune to the keylogger.</p><p>To reproduce the issue, open up a terminal emulator then:</p><div class="codebox"><pre><code>$ sudo apt install xinput xfe
$ xinput test &lt;your_keyboard_id&gt; # mine is 9</code></pre></div><p>Leave the terminal emulator open then launch a different application (e.g., web browser) and type something; you&#039;ll notice that <span class="bbc">xinput test</span> detects your keystrokes. Now launch <span class="bbc">xfwrite</span> and type something; you&#039;ll notice that <span class="bbc">xinput test</span> does not seem to detect any keystrokes and produces no ouput.</p><p>I tried recompiling libfox and libfox-dev with the <span class="bbc">--with-xinput</span> flag to <em>configure</em> then recompiling xfe, but it made no difference. UNIX wizards who frequent this forum: Any idea what needs to be done so that <span class="bbc">xinput test</span> can detect keystrokes while typing in xfwrite?</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Sun, 29 Sep 2019 01:10:39 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18119#p18119</guid>
		</item>
	</channel>
</rss>
