<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.webos-internals.org/index.php?action=history&amp;feed=atom&amp;title=Vala_Terminal</id>
	<title>Vala Terminal - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.webos-internals.org/index.php?action=history&amp;feed=atom&amp;title=Vala_Terminal"/>
	<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Vala_Terminal&amp;action=history"/>
	<updated>2026-04-11T12:53:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Vala_Terminal&amp;diff=3315&amp;oldid=prev</id>
		<title>Hopspitfire: fixed links</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Vala_Terminal&amp;diff=3315&amp;oldid=prev"/>
		<updated>2009-07-31T20:54:58Z</updated>

		<summary type="html">&lt;p&gt;fixed links&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:54, 31 July 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Update 2009-07-04''': Note that until http://trac.freesmartphone.org/ticket/446 is implemented or someone gets the touchscreen working under [[directfb]], I'm working on [[DFBTerm]] again since there is no way to specify the startup geometry of vala-terminal, and the default is unusable.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Update 2009-07-04''': Note that until http://trac.freesmartphone.org/ticket/446 is implemented or someone gets the touchscreen working under [[directfb]], I'm working on [[DFBTerm &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;DirectFB Terminal Emulator&lt;/ins&gt;]] again since there is no way to specify the startup geometry of vala-terminal, and the default is unusable.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;------&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;------&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;I'm working on getting vala-terminal working under [[DirectFB]]; after looking at [[DFBTerm]] for a while it became obvious that it would make sense to try to get something already optimized for a smart phone to work, rather than trying to hack dfbterm to have those features.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;I'm working on getting vala-terminal working under [[DirectFB]]; after looking at [[DFBTerm &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;DirectFB Terminal Emulator&lt;/ins&gt;]] for a while it became obvious that it would make sense to try to get something already optimized for a smart phone to work, rather than trying to hack dfbterm to have those features.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;1. Get GTK on DirectFB to work: http://www.directfb.org/wiki/index.php/Projects:GTK_on_DirectFB&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;1. Get GTK on DirectFB to work: http://www.directfb.org/wiki/index.php/Projects:GTK_on_DirectFB&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l68&quot; &gt;Line 68:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 68:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* /dev/input/event1 = volume and silver keys (aka /dev/input/keypad1)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* /dev/input/event1 = volume and silver keys (aka /dev/input/keypad1)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* /dev/input/event2 = keyboard (aka /dev/input/keypad0)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* /dev/input/event2 = keyboard (aka /dev/input/keypad0)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* /dev/input/event3 = ? - someone theorized it's when phone is close to your head, but haven't been able to get any output from it via hexdump (aka /dev/input/proximity0) - may be [[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ir-proximity-sensor&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* /dev/input/event3 = ? - someone theorized it's when phone is close to your head, but haven't been able to get any output from it via hexdump (aka /dev/input/proximity0) - may be [[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;IR Proximity Sensor&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* /dev/input/event4 = ? - something that has slow continuous output (aka /dev/input/light0)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* /dev/input/event4 = ? - something that has slow continuous output (aka /dev/input/light0)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* /dev/input/event5 = ? - something that has fast continuous output (aka /dev/input/accelerometer0)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* /dev/input/event5 = ? - something that has fast continuous output (aka /dev/input/accelerometer0)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l92&quot; &gt;Line 92:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 92:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;So looks like we need to wait for someone to write code to make directfb, gpm - http://unix.schottelius.org/gpm/ - (directfb can use gpm via the mouse-gpm-source configuration option), or perhaps tslib (also usable by directfb) - http://tslib.berlios.de/ , http://www.opentom.org/Tslib - or linux-input - http://linuxconsole.sourceforge.net/input/hardware.html , http://www.mjmwired.net/kernel/Documentation/input/ - work with this new device.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;So looks like we need to wait for someone to write code to make directfb, gpm - http://unix.schottelius.org/gpm/ - (directfb can use gpm via the mouse-gpm-source configuration option), or perhaps tslib (also usable by directfb) - http://tslib.berlios.de/ , http://www.opentom.org/Tslib - or linux-input - http://linuxconsole.sourceforge.net/input/hardware.html , http://www.mjmwired.net/kernel/Documentation/input/ - work with this new device.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;8. Figure out virtual kvm switch method that works (see [[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;dfbterm&lt;/del&gt;]])&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;8. Figure out virtual kvm switch method that works (see [[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;DFBTerm DirectFB Terminal Emulator&lt;/ins&gt;]])&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;9. Make nice debian packages. Note that for some of the compiles, if gcc complained about X stuff not being there, I just edited the .c file and removed the stuff referencing X (this was always in some #ifdef type block, so can probably just use -D or something...)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;9. Make nice debian packages. Note that for some of the compiles, if gcc complained about X stuff not being there, I just edited the .c file and removed the stuff referencing X (this was always in some #ifdef type block, so can probably just use -D or something...)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Hopspitfire</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Vala_Terminal&amp;diff=1636&amp;oldid=prev</id>
		<title>Hopspitfire: New page: '''Update 2009-07-04''': Note that until http://trac.freesmartphone.org/ticket/446 is implemented or someone gets the touchscreen working under directfb, I'm working on DFBTerm aga...</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Vala_Terminal&amp;diff=1636&amp;oldid=prev"/>
		<updated>2009-07-22T17:32:55Z</updated>

		<summary type="html">&lt;p&gt;New page: &amp;#039;&amp;#039;&amp;#039;Update 2009-07-04&amp;#039;&amp;#039;&amp;#039;: Note that until http://trac.freesmartphone.org/ticket/446 is implemented or someone gets the touchscreen working under &lt;a href=&quot;/wiki/Directfb&quot; class=&quot;mw-redirect&quot; title=&quot;Directfb&quot;&gt;directfb&lt;/a&gt;, I&amp;#039;m working on &lt;a href=&quot;/index.php?title=DFBTerm&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;DFBTerm (page does not exist)&quot;&gt;DFBTerm&lt;/a&gt; aga...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Update 2009-07-04''': Note that until http://trac.freesmartphone.org/ticket/446 is implemented or someone gets the touchscreen working under [[directfb]], I'm working on [[DFBTerm]] again since there is no way to specify the startup geometry of vala-terminal, and the default is unusable.&lt;br /&gt;
&lt;br /&gt;
------&lt;br /&gt;
&lt;br /&gt;
I'm working on getting vala-terminal working under [[DirectFB]]; after looking at [[DFBTerm]] for a while it became obvious that it would make sense to try to get something already optimized for a smart phone to work, rather than trying to hack dfbterm to have those features.&lt;br /&gt;
&lt;br /&gt;
1. Get GTK on DirectFB to work: http://www.directfb.org/wiki/index.php/Projects:GTK_on_DirectFB&lt;br /&gt;
&lt;br /&gt;
2. Compile vala-terminal: http://git.freesmartphone.org/?p=vala-terminal.git;a=summary (screenshots at http://wiki.openmoko.org/wiki/Vala-terminal and http://vala-terminal.garage.maemo.org/)&lt;br /&gt;
&lt;br /&gt;
3. Compile gtk for directfb (rough notes - WORKING):&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install libglib2.0-0 libglib2.0-dev libatk1.0-0 libatk1.0-dev \&lt;br /&gt;
        libdirectfb-1.2-0 libdirectfb-bin libdirectfb-dev libdirectfb-extra&lt;br /&gt;
&lt;br /&gt;
export PREFIX=/usr/gtkdfb&lt;br /&gt;
export LD_LIBRARY_PATH=$PREFIX/lib&lt;br /&gt;
export PKG_CONFIG_PATH=$LD_LIBRARY_PATH/pkgconfig&lt;br /&gt;
export CFLAGS=&amp;quot;-g&amp;quot;&lt;br /&gt;
&lt;br /&gt;
apt-get build-dep libcairo2&lt;br /&gt;
apt-get source libcairo2&lt;br /&gt;
./configure --prefix=$PREFIX --enable-directfb --disable-xlib --disable-win32&lt;br /&gt;
&lt;br /&gt;
apt-get build-dep libpango1.0-0&lt;br /&gt;
apt-get source libpango1.0-0&lt;br /&gt;
./configure --prefix=$PREFIX --without-x&lt;br /&gt;
&lt;br /&gt;
apt-get build-dep libgtk-directfb-2.0-0&lt;br /&gt;
apt-get source libgtk-directfb-2.0-0&lt;br /&gt;
./configure --prefix=$PREFIX --with-gdktarget=directfb --without-x&lt;br /&gt;
&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/gtkdfb/lib&lt;br /&gt;
(initctl stop LunaSysMgr from root shell outside of chroot)&lt;br /&gt;
/usr/gtkdfb/bin/gtk-demo&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Compile vala-terminal's deps and vala-terminal (rough notes - WORKING):&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get build-dep valac&lt;br /&gt;
apt-get source valac&lt;br /&gt;
./configure  --prefix=$PREFIX&lt;br /&gt;
&lt;br /&gt;
apt-get build-dep libvte-dev&lt;br /&gt;
apt-get source libvte-dev&lt;br /&gt;
./configure --prefix=$PREFIX --with-gdktarget=directfb --without-x&lt;br /&gt;
&lt;br /&gt;
# Get vala-terminal 1.1.1 tag:&lt;br /&gt;
lynx &amp;quot;http://git.freesmartphone.org/?p=vala-terminal.git;a=snapshot;h=94117f453ce884e9c30b611fae6fc19f85f98f2b;sf=tgz&amp;quot;&lt;br /&gt;
./autogen.sh --prefix=$PREFIX --with-gdktarget=directfb --without-x&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Figure out how to bring up vala-terminal with good settings for the palm pre&lt;br /&gt;
&lt;br /&gt;
6. Figure out keyboard remapping&lt;br /&gt;
 &lt;br /&gt;
7. Get mouse to work in [[directfb]]&lt;br /&gt;
Note that something called &amp;quot;hidd&amp;quot; (not related to the bluetooth hidd) uses I/O, so to avoid possible issues might as well stop it as well as LunaSysMgr when playing with this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
initctl stop LunaSysMgr&lt;br /&gt;
initctl stop hidd&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Find out what device the touchpad is, for each device in /dev/input:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
hexdump /dev/input/event0&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* /dev/input/event0 = insert and remove of headphones (aka /dev/input/keypad2)&lt;br /&gt;
* /dev/input/event1 = volume and silver keys (aka /dev/input/keypad1)&lt;br /&gt;
* /dev/input/event2 = keyboard (aka /dev/input/keypad0)&lt;br /&gt;
* /dev/input/event3 = ? - someone theorized it's when phone is close to your head, but haven't been able to get any output from it via hexdump (aka /dev/input/proximity0) - may be [[ir-proximity-sensor]]&lt;br /&gt;
* /dev/input/event4 = ? - something that has slow continuous output (aka /dev/input/light0)&lt;br /&gt;
* /dev/input/event5 = ? - something that has fast continuous output (aka /dev/input/accelerometer0)&lt;br /&gt;
So touchpad looks like it's probably not /dev/input/* related...&lt;br /&gt;
&lt;br /&gt;
It looks like it's actually (duh) /dev/touchscreen - which is normally open by hidd (which also has the /dev/input/event* files open). LunaSysMgr then uses the /var/tmp/hidd/TouchpanelEventSocket file. https://fedorahosted.org/d-feet/ may be useful in figuring out the output that goes to that file, although should try the included &amp;quot;dbus-util --capture&amp;quot; first.&lt;br /&gt;
&lt;br /&gt;
It looks like touchscreen is: CONFIG_TOUCHSCREEN_CY8MRLN=y (cypress touchscreen). No useful google hits, so probably a new driver included in http://palm.cdnetworks.net/opensource/1.0.1/linux-2.6.24-patch.gz - it is there:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
+config TOUCHSCREEN_CY8MRLN&lt;br /&gt;
+        tristate &amp;quot;Cypress PSoC capacitive touchscreen &amp;quot;&lt;br /&gt;
+        depends on SPI_MASTER &lt;br /&gt;
+          help&lt;br /&gt;
+          Say Y here if you have a Cypress PSoC touchscreen/controller.&lt;br /&gt;
+&lt;br /&gt;
+         If unsure, say N (but it's safe to say &amp;quot;Y&amp;quot;).&lt;br /&gt;
+&lt;br /&gt;
+          To compile this driver as a module, choose M here: the&lt;br /&gt;
+          module will be called cy8mrln.&lt;br /&gt;
+&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So looks like we need to wait for someone to write code to make directfb, gpm - http://unix.schottelius.org/gpm/ - (directfb can use gpm via the mouse-gpm-source configuration option), or perhaps tslib (also usable by directfb) - http://tslib.berlios.de/ , http://www.opentom.org/Tslib - or linux-input - http://linuxconsole.sourceforge.net/input/hardware.html , http://www.mjmwired.net/kernel/Documentation/input/ - work with this new device.&lt;br /&gt;
&lt;br /&gt;
8. Figure out virtual kvm switch method that works (see [[dfbterm]])&lt;br /&gt;
&lt;br /&gt;
9. Make nice debian packages. Note that for some of the compiles, if gcc complained about X stuff not being there, I just edited the .c file and removed the stuff referencing X (this was always in some #ifdef type block, so can probably just use -D or something...)&lt;/div&gt;</summary>
		<author><name>Hopspitfire</name></author>
	</entry>
</feed>