<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>prezzey.net * Bogi Takács &#187; linux</title>
	<atom:link href="http://www.prezzey.net/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.prezzey.net</link>
	<description></description>
	<lastBuildDate>Sun, 05 Feb 2012 01:49:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Short story reviews: Crosshill, Liu</title>
		<link>http://www.prezzey.net/2012/reviews-crosshill-liu/</link>
		<comments>http://www.prezzey.net/2012/reviews-crosshill-liu/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 00:00:48 +0000</pubDate>
		<dc:creator>prezzey</dc:creator>
				<category><![CDATA[sf]]></category>
		<category><![CDATA[asian_authors]]></category>
		<category><![CDATA[asian-american_authors]]></category>
		<category><![CDATA[asian-american_characters]]></category>
		<category><![CDATA[audiobook]]></category>
		<category><![CDATA[authors_of_color]]></category>
		<category><![CDATA[characters_of_color]]></category>
		<category><![CDATA[chinese_characters]]></category>
		<category><![CDATA[chinese-american_authors]]></category>
		<category><![CDATA[chinese-american_characters]]></category>
		<category><![CDATA[eastern_european_authors]]></category>
		<category><![CDATA[f&sf]]></category>
		<category><![CDATA[fantasy]]></category>
		<category><![CDATA[hard_sf]]></category>
		<category><![CDATA[immigration]]></category>
		<category><![CDATA[latvian_authors]]></category>
		<category><![CDATA[latvian-american_authors]]></category>
		<category><![CDATA[lightspeed]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[magical_realism]]></category>
		<category><![CDATA[russian_characters]]></category>
		<category><![CDATA[urban_fantasy]]></category>

		<guid isPermaLink="false">http://www.prezzey.net/?p=585</guid>
		<description><![CDATA[Mama, we are Zhenya, Your Son by Tom Crosshill (a Latvian-American man who is also an immigrant) from the April 2011 issue of Lightspeed Definitely one of the more memorable stories from this year&#8217;s Lightspeed. I&#8217;m also very happy to see fellow Eastern Europeans gain more exposure At first I thought this would be a [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><strong><a href="http://www.lightspeedmagazine.com/fiction/mama-we-are-zhenya-your-son/"><em>Mama, we are Zhenya, Your Son</em></a> by Tom Crosshill</strong> (a Latvian-American man who is also an immigrant)</p>
<p style="text-align: justify;"><em>from the April 2011 issue of Lightspeed</em></p>
<p style="text-align: justify;">Definitely one of the more memorable stories from this year&#8217;s <em>Lightspeed</em>. I&#8217;m also very happy to see fellow Eastern Europeans gain more exposure <img src='http://www.prezzey.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: justify;">At first I thought this would be a story set inside a computer running Linux:<em> &#8220;The gnomes live in the cellar. They’re short and green and wear big fluffy hats with their names on them, like GUI 1, GUI 2, GUI 3&#8243;.</em> Which isn&#8217;t really a novel idea, save for maybe the Linux part. But the story is about something completely different and ends up being much more ingenuous than just another virtual-reality tale, so keep on reading! Without giving away much, neuroplasticity is a keyword.</p>
<p style="text-align: justify;">Be sure to <a href="http://www.lightspeedmagazine.com/nonfiction/author-spotlight-tom-crosshill/">read the author interview as well</a> once you&#8217;re finished. All magazines should have similar extra features!</p>
<p style="text-align: justify;">To be honest I disagree with him (spoiler cut):</p>
<p style="text-align: justify;"><span style="color: #ffffff;"><em>&#8220;What if you took a very young human brain and placed it in a complex simulated quantum-like environment? Might it learn to adapt to this environment and predict its behavior in real time as accurately as we predict the behavior of the real world (for a quantum-mechanical, probabilistic meaning of “predict”)? If it did, that would be a very strong indication that the human brain does indeed rely on quantum phenomena to make sense of the world&#8221;</em></span></p>
<p style="text-align: justify;"><span style="color: #ffffff;">I think the human mind can model environments whose behavior has no real-world analog; there are some really far-out ideas in experimental gameplay etc. that IMO seem to show this&#8230; but I don&#8217;t know if this issue has ever been rigorously investigated.</span> Anyway, the story is great <img src='http://www.prezzey.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p style="text-align: justify;"><strong><a href="http://sf-fantasy.suvudu.com/2011/07/new-story-from-fantasy-science-fiction-magazine-2.html"><em>The Paper Menagerie</em></a> by <a href="http://kenliu.name/">Ken Liu</a></strong> (a Chinese-American man)</p>
<p style="text-align: justify;"><em>from the Mar/Apr 2011 issue of Fantasy &amp; Science Fiction (available as a free story from Del Rey&#8217;s website and <a href="http://podcastle.org/2011/07/12/podcastle-165-the-paper-menagerie/">as an audiobook from Podcastle</a>)</em></p>
<p style="text-align: justify;">This is a realy, really sad and beautiful story. Definitely one of the best in 2011 &#8211; if this keeps up, the hard problem will be deciding <em>which</em> Ken Liu story to nominate for the Hugos!</p>
<p style="text-align: justify;">Also, finally a story that deals with immigration. Even people who belong to a non-WASP ethnic group tend to write about &#8220;the <a href="http://deepad.dreamwidth.org/40204.html?#cutid1">sourceland</a>&#8221; as Deepa D put it, and not the immigrant or the ethnic-minority experience&#8230; at least in spec fic. (The trend is probably reversed when it comes to contemporary non-genre literature!)</p>
<p style="text-align: justify;">Some of it reminded me of the scene in Michael Ende&#8217;s <em>Momo</em> where the kids play with the new toys. Also very melancholy.</p>
<p style="text-align: justify;">You can say <em>The Paper Menagerie</em> is fantasy, or you can say it&#8217;s magical realism, it&#8217;s going to find its home anywhere. Go read it now.</p>
<p style="text-align: justify;">_________</p>
<p style="text-align: justify;"><em>Note: a big thank you to <a href="http://www.espanasheriff.com/">España Sheriff</a> who linked the audiobook version on <a href="http://hugo-recommend.livejournal.com/">hugo_recommend</a> &#8211; I would&#8217;ve missed the podcast release altogether if not for this notice.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.prezzey.net/2012/reviews-crosshill-liu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yay Inkscape</title>
		<link>http://www.prezzey.net/2011/yay-inkscape/</link>
		<comments>http://www.prezzey.net/2011/yay-inkscape/#comments</comments>
		<pubDate>Sun, 26 Jun 2011 00:49:05 +0000</pubDate>
		<dc:creator>prezzey</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[gfx]]></category>
		<category><![CDATA[gimp]]></category>
		<category><![CDATA[inkscape]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.prezzey.net/?p=336</guid>
		<description><![CDATA[I&#8217;ve been messing around with Inkscape for a new art project&#8230; Inkscape is a free and open-source vector drawing program that seems to be capable of pretty much everything I want from vector art software and with a minimum of hassle. (Though I have to say I haven&#8217;t tried to print from it with accurate [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">I&#8217;ve been messing around with Inkscape for a new art project&#8230; Inkscape is a free and open-source vector drawing program that seems to be capable of pretty much everything I want from vector art software and with a minimum of hassle. (Though I have to say I haven&#8217;t tried to print from it with accurate colors etc. I won&#8217;t really need that for this particular project.)</p>
<p style="text-align: justify;">I hate GIMP with a passion. (Yes, I do use it, I only have Linux on my laptop and I can&#8217;t live without a bitmap image editor &#8211; this is not a case of &#8220;I hate GIMP because it&#8217;s not Photoshop and I choose to ignore it&#8221;, I hate it as a regular user. <img src='http://www.prezzey.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  ) I have to admit that for a long while I did not even try Inkscape because I&#8217;ve heard recommendations from people that went like &#8220;Inkscape is essentially GIMP with vectors&#8221;. It&#8217;s not, and thank G-d for that. (<a href="http://home.ccil.org/~cowan/essential.html">Here have a few more essentialist explanations!</a>)</p>
<p style="text-align: justify;">Anyway, so far I really enjoy Inkscape, which has to count for something given my dislike of vector art in general&#8230; I thought it&#8217;d be interesting to point out a few things that seem to be missing from the usual documentation. (There is a lot of useful documentation, be sure to check out <a href="http://tavmjong.free.fr/INKSCAPE/MANUAL/html/">the free Inkscape book</a>!)</p>
<p style="text-align: justify;">You can actually use it as a freehand drawing program. At this point I think it&#8217;s the best there is for line-art sketching (especially at the great price point of zero <img src='http://www.prezzey.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ): your sketches can scale up indefinitely and they do not take up a lot of space in your hard disk because of the vector format. The downside is that erasing is not as easy as with a bitmap program.</p>
<p style="text-align: justify;">The built-in calligraphy tool looks completely useless for serious drawing at first glance, but if you play around with the settings, you can come up with something interesting.</p>
<p style="text-align: justify;">Here are my current tool presets:</p>
<p style="text-align: justify;">Width: 4-6<br />
Pressure sensitivity varies width but not opacity<br />
Thinning: 0.10<br />
Angle: 30 degrees<br />
No angle sensitivity (my portable device does not support this and I haven&#8217;t tried it on my desktop)<br />
Fixation: 0<br />
Caps: 2.50<br />
Tremor: 0<br />
Wiggle: 0<br />
Mass: 0.02</p>
<p style="text-align: justify;">Here is <a href="http://inkscape.org/doc/calligraphy/tutorial-calligraphy.html">a nice tutorial</a> that does a good job at explaining the options, but doesn&#8217;t really provide sample presets. I thought I had some of my presets from a different tutorial, but I can&#8217;t locate it anywhere (pointers would be appreciated, I&#8217;d like to offer some credit). Most of the presets people recommend &#8211; and indeed the defaults &#8211; I don&#8217;t really like and IMO they are not very well-suited to sketching. Give mine a spin if you are a predominantly bitmap artist like me <img src='http://www.prezzey.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: justify;">I have to thank <a href="http://wildgica.hu/">WildGica</a> whose enthusiasm for Inkscape proved sufficiently infectious <img src='http://www.prezzey.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.prezzey.net/2011/yay-inkscape/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interview with me &amp; writing update</title>
		<link>http://www.prezzey.net/2010/interview-with-me-writing-update/</link>
		<comments>http://www.prezzey.net/2010/interview-with-me-writing-update/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 03:40:31 +0000</pubDate>
		<dc:creator>prezzey</dc:creator>
				<category><![CDATA[game]]></category>
		<category><![CDATA[writing]]></category>
		<category><![CDATA[amesirun]]></category>
		<category><![CDATA[emerald_spires]]></category>
		<category><![CDATA[Friends]]></category>
		<category><![CDATA[interview]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[poetry]]></category>

		<guid isPermaLink="false">http://www.prezzey.net/?p=176</guid>
		<description><![CDATA[I&#8217;ve been very busy with Pesach preparations, so I haven&#8217;t had time to post here&#8230; just two small pieces of news: 1. My friend Sarina has recently co-founded a band, Legionaire Now, and they have a fan interviews feature on their website. (Sign up for their newsletter to become eligible!) They picked me this week [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">I&#8217;ve been very busy with Pesach preparations, so I haven&#8217;t had time to post here&#8230; just two small pieces of news:</p>
<p style="text-align: justify;">1. My friend Sarina has recently co-founded a band, <a href="http://www.legionairenow.com">Legionaire Now</a>, and they have a fan interviews feature on their website. (Sign up for their newsletter to become eligible!) They picked me this week and I did my best to answer their questions.<strong> <a href="http://www.legionairenow.com/index.php/featured-fan-2-bogi-t-vienna-austria/">Read the interview here!</a></strong> It includes, among other things, autism, pizza and David Bowie <img src='http://www.prezzey.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p style="text-align: justify;">2. This also has to do with Sarina in a sense. I was just about to respond to <a href="http://www.prezzey.net/2010/upcoming-fantasy-story/comment-page-1/#comment-320">her comment</a> to my previous entry with &#8220;sure, my English might be &#8216;correct&#8217; in the technical sense, but I always have this nagging feeling it&#8217;s not poetic enough&#8221;&#8230; I logged into my email&#8230; and I was <em>very</em> surprised to see an announcement from <a href="http://www.astropoetica.com/">Astropoetica</a> that they would like to run my poem I sent them (IIRC) sometime in December. It&#8217;s my first &#8211; and to date, the only -  English-language poem I submitted to any magazine, so this makes me really happy. <strong>The poem will probably be featured in the 2010 summer issue.</strong></p>
<p style="text-align: justify;">So I think I need to reevaluate my writing goals! <img src='http://www.prezzey.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  In Hungarian I have been published in professional venues, and now that I&#8217;ve managed to sell multiple pieces to English-language semi-pro markets, I should really set my sights higher and submit to pro markets. My last excuse was &#8220;my English is not poetic enough&#8221;, which has just been thoroughly demolished. If it&#8217;s poetic enough to sell an actual <em>poem</em>, it&#8217;s definitely poetic enough for <em>prose</em>!</p>
<p style="text-align: justify;">But, butbutbut, I have a brand new excuse at hand <img src='http://www.prezzey.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  namely that I don&#8217;t have time to write. Unfortunately this is more or less true&#8230; I didn&#8217;t write <em>any</em> fiction or poetry in February, and in March I only had time to do scripting for <em>Amesirun, </em>my upcoming video game. (FYI &#8211; I moved the release date to April because of the holidays. Right now I think I could sleep for a week straight.)</p>
<p style="text-align: justify;">I have to write more, and submit what I write. I also have two stories I want to revise, and a nonfiction piece on diversity in a recent spec fic video game (you&#8217;ll see which) that I need to finish ASAP.</p>
<p style="text-align: justify;">I&#8217;ll also have to update this site more often, since it has started to get much more traffic lately than usual, mostly due to 1.<em> Amesirun</em> 2. my Linux posts. So, more <em>Amesirun </em>or more Linux? <img src='http://www.prezzey.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.prezzey.net/2010/interview-with-me-writing-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Another small teaser for my NaNoRenO game</title>
		<link>http://www.prezzey.net/2010/another-small-teaser/</link>
		<comments>http://www.prezzey.net/2010/another-small-teaser/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 23:24:38 +0000</pubDate>
		<dc:creator>prezzey</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[amesirun]]></category>
		<category><![CDATA[artrage]]></category>
		<category><![CDATA[emerald_spires]]></category>
		<category><![CDATA[game_development]]></category>
		<category><![CDATA[gfx]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nanoreno]]></category>
		<category><![CDATA[wine]]></category>

		<guid isPermaLink="false">http://www.prezzey.net/?p=162</guid>
		<description><![CDATA[I have to admit it&#8230; the unwillingness to have an advertisement as my topmost update made me post a new teaser for the game. ^^; Here is a strange symbol! (I turned off floating images because the image size is quite big this time.) If you click on it, you can see a cryptic inscription [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">I have to admit it&#8230; the unwillingness to have an advertisement as my topmost update made me post a new teaser for the game. ^^;</p>
<p style="text-align: justify;"><strong>Here is a strange symbol!</strong> (I turned off floating images because the image size is quite big this time.)</p>
<p style="text-align: justify;">
<a href="http://www.prezzey.net/wp-content/gallery/emerald-spires/teaser03_0.jpg" title="" class="shutterset_singlepic155" >
	<img class="ngg-singlepic" src="http://www.prezzey.net/wp-content/gallery/cache/155__320x240_teaser03_0.jpg" alt="Amesirun teaser" title="Amesirun teaser" />
</a>
</p>
<p style="text-align: justify;">If you click on it, you can see a cryptic inscription in the top right corner. If you remember the previous teaser, that one also had similar elements&#8230; if you wait patiently, I might tell you where they come from and what they mean. <img src='http://www.prezzey.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p style="text-align: justify;">I finally had some time to try out ArtRage 3&#8230; I bought the new version with the upgrade discount when it came out, but I was just too busy to install it. Most of the time I draw stuff on my tablet PC, but I run Linux on it and that means I have to mess around with Wine to get ArtRage running (it&#8217;s worth it if you ask me). 2.5 is very stable right now, which is why I didn&#8217;t feel pressed to install 3.0 right away, even though I bought it and it was a bit more expensive than expected! I mention this because I just tried it out on my Windows desktop (easier install) and used the new watercolor emulation to produce the vertical lines seen in the image. So that was a new feature, and one I&#8217;ll be using excessively from now on, especially if I can get 3.0 working under Wine!</p>
<p style="text-align: justify;">In other news,<strong> the game is progressing nicely, more than half of the graphics and the script has been made</strong> (I think I should also post a story teaser&#8230;). This means 40k of script so far, so there will be about 80k of script altogether. You can look forward to lots of branches, points-based scoring and more endings than you&#8217;d expect <img src='http://www.prezzey.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  I hope I&#8217;ll manage to finish producing the assets and testing everything before Pesach!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prezzey.net/2010/another-small-teaser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian on the Lenovo X60T tablet PC</title>
		<link>http://www.prezzey.net/2009/debian-on-the-lenovo-x60t-tablet-pc/</link>
		<comments>http://www.prezzey.net/2009/debian-on-the-lenovo-x60t-tablet-pc/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 01:18:38 +0000</pubDate>
		<dc:creator>prezzey</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[lenovo]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tablet]]></category>

		<guid isPermaLink="false">http://gemeskut.net/prezzey/?p=125</guid>
		<description><![CDATA[KTamas asked for a post on this, so here we go! Some of the stuff that follows was written a long time ago, some right now, etc. it&#8217;s a big mess, but maybe there are some interesting bits in there. Just don&#8217;t expect a coherent treatise on the subject. Why Linux When I bought an [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://blog.ktamas.net/">KTamas</a> asked for a post on this, so here we go! Some of the stuff that follows was written a long time ago, some right now, etc. it&#8217;s a big mess, but maybe there are some interesting bits in there. Just don&#8217;t expect a coherent treatise on the subject.</p>
<p style="text-align: justify;"><span id="more-125"></span></p>
<p style="text-align: justify;"><span style="text-decoration: underline;">Why Linux<br />
</span></p>
<p style="text-align: justify;">When I bought an X60T, I thought I wouldn&#8217;t bother with Linux, everything was nicely preloaded with Windows XP and I saw no particular need to install Linux and suffer with the tablet features. However, I soon found that many of the drivers were really unstable and most of the extra features were really annoying. (Do you <em>really</em> want your screen to rotate based on motion sensor data?! I know <em>I</em> don&#8217;t!)</p>
<p style="text-align: justify;">A few months later, I experienced a series of hardware malfunctions (strangely, beginning with the fingerprint reader). Among a bunch of other things, my hard drive also needed to be replaced.  I turned in the laptop for a warranty replacement&#8230; and waiting some more&#8230; and more&#8230; now since I used this computer for work, I found this annoying to say the least. I called the service center and it turned out the new hard disk had arrived, but they hadn&#8217;t preloaded it with the OS yet because the new version had to be shipped from the UK [?!]. I told them &#8220;just leave it blank, I&#8217;ll put Linux on it&#8221;. I don&#8217;t think they <em>believed </em>me, but I had my X60T back the next day and with nothing on the hard drive. Yay!</p>
<p style="text-align: justify;">So, Debian Linux it was.</p>
<p style="text-align: justify;">I originally intended to write a really long howto which amassed information from several other howtos and my own experimentation, but I was short on time, and the notes I made were sparse to say the least. So<strong> this post will only include small bits and pieces of unsorted information.</strong> I still use Debian on this tablet, so you can ask me about my current configuration&#8230;</p>
<p style="text-align: justify;"><span style="text-decoration: underline;">Setup</span></p>
<p style="text-align: justify;"><strong>Make sure the hardware actually functions. </strong>This is not trivial. I was told by the service center that they had lots of problems with this tablet, it was produced in small quantities, etc. When I set out to install Linux, there was a testing CD available from Lenovo&#8230; in theory. In practice the disk image was completely broken. If they fixed it since then, great. If not, just get any rescue boot CD and run the usual tests.</p>
<p style="text-align: justify;">The laptop can boot via LAN, you have to set the BIOS to &#8220;Diagnostic mode&#8221; to get to the PXE interface (I did not find it at first). But I opted to install through USB using a memory stick so I did not actually test this. After you booted from the stick, net install is very easy, basically plug and play if your LAN uses DHCP.</p>
<p style="text-align: justify;">Video card works out of the box, but make sure it uses the correct driver (i810). See /etc/X11/xorg.conf. Sound card also works right away. Don&#8217;t forget to install appropriate mp3 etc. codecs and the Gnome ALSA mixer.</p>
<p style="text-align: justify;"><span style="text-decoration: underline;">Tablet stylus</span></p>
<p style="text-align: justify;">If memory serves right, I used <a href="http://www.thinkwiki.org/wiki/Installing_Gentoo_on_a_ThinkPad_X60_Tablet#Pen">this howto</a> adapted to Debian to set up the pressure sensitive stylus. I do have the same lines in my xorg.conf.</p>
<p style="text-align: justify;">Pressure sensitivity worked right away. IIRC, in <a href="http://www.gimp.org/">GIMP</a> you need to enable it  manually.</p>
<p style="text-align: justify;"><a href="http://www.artrage.com/">ArtRage</a> 2.5 is a great little piece of software for drawing on your tablet PC, the Windows version runs under Wine. (Pressure sensitivity works in Wine out of the box if you&#8217;ve done the above.) There is a free demo available, but I bought the full version for $20 after trying. Note that it has <a href="http://wiki.winehq.org/NativeMsi">an MSI installer</a>.</p>
<p style="text-align: justify;"><a href="http://xournal.sourceforge.net/">Xournal</a> is a journal program for Linux, also recommended for your tablet.</p>
<p style="text-align: justify;">I don&#8217;t use handwriting recognition so sorry, no info on that.</p>
<p style="text-align: justify;"><span style="text-decoration: underline;">Screen rotation</span></p>
<p style="text-align: justify;">Add the following line to /etc/X11/xorg.conf under Driver &#8220;i810&#8243;:<br />
Option &#8220;RandRRotation&#8221;</p>
<p style="text-align: justify;">Make sure xbase-clients and libxrandr2 are installed. I use Gnome, but I couldn&#8217;t get gnome-randr-applet to work, so you don&#8217;t need to install that. Also, none of the screen rotate scripts I found online worked for me (using the methods delineated there), so you&#8217;ll have to make your own, but it&#8217;s easy once you know the following:</p>
<p style="text-align: justify;">These commands rotate the screen AND the cursor to vertical position:<br />
xrandr &#8211;output LVDS &#8211;rotate right<br />
xsetwacom set stylus rotate 1</p>
<p style="text-align: justify;">These commands rotate to horizontal position:<br />
xrandr &#8211;output LVDS &#8211;rotate normal<br />
xsetwacom set stylus rotate 0</p>
<p style="text-align: justify;">(Note that despite the &#8220;left, right&#8221;, etc. <em>these are not relative rotations</em>, ie. if you repeatedly &#8211;rotate right, nothing will change instead of the screen rotating around all the way.)</p>
<p style="text-align: justify;">I do not recommend using other rotations. <strong>You should be very careful with &#8211;rotate left, because that way if you put the laptop in your lap in slate mode, the ventilation ducts are covered and your machine can overheat.</strong> I made this mistake under Windows and I was careful to set up Linux so that it doesn&#8217;t even try rotating that way. It doesn&#8217;t cause any serious problems &#8211; when it happened to me, the laptop simply shut down upon detecting excessive temperature after a while &#8211; but it definitely doesn&#8217;t improve your computer&#8217;s health.</p>
<p style="text-align: justify;">A very easy solution is to make two executables out of these, put them in /usr/local/bin (or wherever you desire as long as it&#8217;s in your path) and link them on the Gnome toolbar as a &#8216;horizontal&#8217; and a &#8216;vertical&#8217; button. You can also combine the two scripts so that the resultant script detects the current rotation and always rotates to the other position. And you can map it to your favorite keypress or the &#8216;rotate&#8217; button.</p>
<p style="text-align: justify;">The motion sensor can also be used to detect rotation and rotate the screen accordingly, I don&#8217;t like that feature so I haven&#8217;t set it up for myself. Just make sure it never rotates to the &#8216;left&#8217; position (see above).</p>
<p style="text-align: justify;">There is also a possibility to rotate the screen when you close the lid. It is detected as a keypress, so you just need to detect the keypress and make your script execute upon that. I haven&#8217;t set it up yet and I probably won&#8217;t because I prefer the manual rotate. I think it&#8217;s also possible to detect stylus ejection??</p>
<p style="text-align: justify;"><span style="text-decoration: underline;">CPU speedstepping and/or throttling</span></p>
<p style="text-align: justify;">I haven&#8217;t tried CPU throttling, and I don&#8217;t think you should, either, unless you are feeling adventurous and/or have some money to burn <img src='http://www.prezzey.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  I think Windows does some throttling in addition to speedstepping, but the settings aren&#8217;t public. Experiment at your own risk.</p>
<p style="text-align: justify;">As for speedstepping &#8211; the default settings by cpufreqd are that it should always run at max speed, which is bad because that&#8217;s really overkill. Be sure to enable &#8220;ondemand&#8221; everywhere and uncomment its lines in cpufreqd.conf!! Yeah, I know, my bad&#8230; but it took me an hour to notice they were still commented. Also, I think there is a typo <a href="http://rad.bioinfo.ulaval.ca/hardware/x60tablet">in the howto</a>, what you add to /etc/modules should be &#8220;cpufreq_ondemand&#8221; instead of &#8220;cpufreqd_ondemand&#8221;. For some obscure reason, cpufreqd.conf didn&#8217;t work for me with percentages (which is the default so I&#8217;m puzzled)&#8230; so you might wish to change those to actual speeds and also say <em>echo 1000000 &gt; /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq</em>.</p>
<p style="text-align: justify;">[note: I think the link to the howto is broken. <img src='http://www.prezzey.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  I wrote this paragraph two years ago or so.]</p>
<p style="text-align: justify;"><span style="text-decoration: underline;">Hard disk shock protection</span></p>
<p style="text-align: justify;">I had a lot of trouble getting hdapsd to work, unfortunately I did not make detailed notes, so all I have is this:</p>
<p style="text-align: justify;">You&#8217;ll need hdapsd and you&#8217;ll also need to compile thinkpad-source. To test if the laptop detects movement, install and run hdaps-gl (it&#8217;s in hdaps-utils). To check if it really suspends the HDD, simply run dmesg.</p>
<p style="text-align: justify;">Finally my brother came upon a solution, I&#8217;ll have to ask him if he still remembers it if anyone else has the same problem.</p>
<p style="text-align: justify;">Trust me, you need the shock protection. I&#8217;ve seen howtos where it was treated like an unnecessary feature. That&#8217;s NOT true, the HDD is vulnerable, and if you boot under XP (Vista, whatever), you can see that the HDD is <em>very often</em> suspended by the protection system. Because you&#8217;ll use this laptop in slate mode a lot, it will run for prolonged times at odd orientations, you&#8217;ll often turn it around to turn the lid to slate mode, etc. My first HDD died in months even when I used Windows with the factory settings, so there is a lot of wear and tear&#8230; (now that it&#8217;s working under Debian, I haven&#8217;t had any problems in years B&#8221;H).</p>
<p style="text-align: justify;"><span style="text-decoration: underline;">Missing</span></p>
<p style="text-align: justify;">A lot, I will try to add more as I chance upon it (if that happens&#8230;), feel free to ask questions&#8230; I think the only thing I did not set up on it myself was hdapsd (I admit I gave up in utter exasperation after three days&#8230; then it took about the same amount of time for my brother to get it to work but he actually succeeded).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prezzey.net/2009/debian-on-the-lenovo-x60t-tablet-pc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A very quick presentation solution for journal clubs</title>
		<link>http://www.prezzey.net/2009/presentation-for-journal-clubs/</link>
		<comments>http://www.prezzey.net/2009/presentation-for-journal-clubs/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 18:25:19 +0000</pubDate>
		<dc:creator>prezzey</dc:creator>
				<category><![CDATA[sci]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[presenting]]></category>

		<guid isPermaLink="false">http://gemeskut.net/prezzey/?p=123</guid>
		<description><![CDATA[Have you ever been to a journal club where someone wanted to present an article, didn&#8217;t feel like making a a set of slides, but still had to show something (after all, someone had to lug the projector all the way&#8230;)? If you are a grad student, you probably have Here is a very easy [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><strong>Have you ever been to a journal club where someone wanted to present an article, didn&#8217;t feel like making a a set of slides, but still had to show<em> some</em>thing </strong>(after all, someone had to lug the projector all the way&#8230;)<strong>?</strong></p>
<p style="text-align: justify;">If you are a grad student, you probably have <img src='http://www.prezzey.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Here is a very easy solution that beats putting your average pdf reader on screen and suffering around with the scrollbars! (Scrollbars on an unfamiliar laptop can annoy the heck out of even the most patient presenter. Trust me on that.)</p>
<p style="text-align: justify;">I talked about making complicated zooming presentations with Impress!ve <a href="http://gemeskut.net/prezzey/2009/how-to-make-a-printable-zooming-presentation/">in the previous entry</a>, but this versatile little piece of open-source software can be used for this purpose too, and you don&#8217;t need to do anything taxing.</p>
<p style="text-align: justify;">Just <a href="http://impressive.sourceforge.net/">install Impress!ve</a> (it should run on Windows, Linux and Mac OS X, but I only tried the first two) and run it on the article pdf! <strong>Absolutely no configuration necessary</strong>, though you might want to launch it with the -e parameter if zoomed-in pages are low resolution (depending on your video card and drivers).</p>
<p style="text-align: justify;">That&#8217;s it! <strong>You immediately have the article on your screen and converted into a nice presentation.</strong> Useful commands:</p>
<p style="text-align: justify;">* Left/right arrow to move forward/backward</p>
<p style="text-align: justify;">* Tab to create an overview (choose between pages)</p>
<p style="text-align: justify;">* Enter to create a spotlight (really spiffy! You don&#8217;t need that laser pointer)</p>
<p style="text-align: justify;">* Z to zoom in on the page (it zooms where the cursor is placed)</p>
<p style="text-align: justify;">Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prezzey.net/2009/presentation-for-journal-clubs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to make a printable zooming presentation under Linux</title>
		<link>http://www.prezzey.net/2009/how-to-make-a-printable-zooming-presentation/</link>
		<comments>http://www.prezzey.net/2009/how-to-make-a-printable-zooming-presentation/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 23:05:32 +0000</pubDate>
		<dc:creator>prezzey</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[comp]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[presenting]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://gemeskut.net/prezzey/?p=116</guid>
		<description><![CDATA[I had to make a presentation and I wondered if I should try using a zooming presentation editor &#8211; I usually don&#8217;t use them because most of the time I don&#8217;t need flashy visuals, and they can be quite distracting if your content doesn&#8217;t lend itself to a spatial metaphor. But this time was different. [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">I had to make a presentation and I wondered if I should try using a zooming presentation editor &#8211; I usually don&#8217;t use them because most of the time I don&#8217;t need flashy visuals, and they can be quite distracting if your content doesn&#8217;t lend itself to a spatial metaphor. But this time was different.</p>
<p style="text-align: justify;">However, I was faced with an obstacle. None of the major zooming presentation editors like <a href="http://prezi.com/">Prezi</a> (no relation to me despite the name! Though I worked together with one of their founders on a research project, Hungary is a small place&#8230;) or <a href="http://ahead.com">Ahead</a> offer easy printing. Maybe there&#8217;s one which does, but I was in a hurry and didn&#8217;t find anything. Also, my laptop only has Linux, so Windows and (especially) Mac solutions like Keynote were also out.</p>
<p style="text-align: justify;">I came up with a solution that worked quite well for my purposes, though it probably wouldn&#8217;t work for you if you expect full Prezi-like functionality like the rotating virtual camera, etc., and it only offers three levels of zoom, so I don&#8217;t claim it&#8217;s perfect. But since several people have been asking about it, here is the howto beyond the cut! Note that it assumes that you can make a regular presentation, and you have some computer proficiency. (If you have specific questions, comment away and I&#8217;ll do my best to answer!)<strong><span id="more-116"></span><br />
</strong></p>
<p style="text-align: justify;"><strong>1. Make a slide background that is easily tiled</strong></p>
<p style="text-align: justify;">Since I needed to talk about four areas of interest in my presentation, I drew a petal-like shape and flipped it horizontally and vertically until I ended up with a &#8220;flower&#8221; composed of four separate slides fitting together. I filled the background with a uniform color.</p>
<p style="text-align: justify;"><strong>2. Create your slides with <a href="http://www.openoffice.org/product/impress.html">OpenOffice Impress</a></strong></p>
<p style="text-align: justify;">Alternately, you can use any editor which outputs a PDF file with slides on separate pages. (<a href="http://latex-beamer.sourceforge.net/">LaTeX Beamer</a>, etc.) Maybe you can even use Powerpoint &#8211; I confess have no idea whether Powerpoint can export to PDF (if you buy me a copy I can check, but it would be quite pointless to buy me a copy just for that, since I prefer Impress).</p>
<p style="text-align: justify;"><strong>3. Download and set up <a href="http://impressive.sourceforge.net/">Impress!ve</a> (includes editing the source)<a href="http://impressive.sourceforge.net/"><br />
</a></strong></p>
<p style="text-align: justify;">Impress!ve (formerly known as KeyJnote) is a  ~150kb Python script created by Martin J. Fiedler, we will be using this script to create the presentation. Its website explains how to download it and get it to run. I had some minor trouble with it &#8211; I ran into a bug where files exported from OpenOffice (but not from LaTeX) would crash it upon drawing the slide titles, I solved it simply by removing the reference to slide titles from the source code. Since the error message told me exactly which line was the culprit, it took just a few seconds to fix it. (If anyone is interested, I can try to replicate the bug, but it&#8217;s not too relevant here and strangely it only occurred on my laptop and nowhere else. I just mention it here for historical accuracy <img src='http://www.prezzey.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  )</p>
<p style="text-align: justify;">Now you will need to edit the source code (impressive.py). Don&#8217;t run away! It will not hurt!</p>
<p style="text-align: justify;">&#8230;Seriously. You just need a text editor, any text editor will do, because the settings you will have to change are right at the top of the file. Open impressive.py. Right under the title and license information, there are a bunch of variables prefaced by this comment: <em># You may change the following lines to modify the default settings</em></p>
<p style="text-align: justify;">Let <em>OverviewBorder = 0</em> and <em>OverviewLogoBorder = 0</em>. (Maybe it is possible to change these settings using a command line parameter, but I didn&#8217;t find it in the documentation and just changing the Python script seemed easier.) Save, quit.</p>
<p style="text-align: justify;"><strong>4. Configure your presentation</strong></p>
<p style="text-align: justify;">Configuration is very straightforward, but first you need to understand how the two zoom levels are set up. What we just did above means that the Impress!ve overview page (which is a feature that the script offers, it shows thumbnail images of each slide) does not have black borders any longer. So you can make a reasonably seamless image out of four (or more!) slides which fit together (which you made in sections 1-2 above). In my case I had four &#8220;petals&#8221; of a strange flowerlike thing for the four areas I intended to cover in my presentation. (If I end up having a lot of time at some unspecified point in the future, I might make a video and upload it to Youtube to make this explanation clearer.)</p>
<p style="text-align: justify;">Of course there are slides you don&#8217;t want to see on the top-level zoom result, breaking your carefully crafted layout! You probably have a title slide, a bunch of extra slides and whatnot. To solve this, launch Impress!ve, go through your stack of slides, and use the &#8220;o&#8221; button on your keyboard to toggle &#8220;visible on overview&#8221;. In my case, each petal had several slides explaining the topic, and only the first slide of each topic was set to display on the overview. When you&#8217;re finished, press &#8220;s&#8221; to save your configuration! It will be loaded automatically when you start the presentation (unless you moved it to another directory).</p>
<p style="text-align: justify;">So by now you should have the top-level zoom set up. You can trigger it with the Tab key during your presentation. Your medium-level zoom is the default, it just displays one slide on the screen.</p>
<p style="text-align: justify;">What to do about the bottom-level zoom? This is also very straightforward. Impress!ve offers a zooming tool by pressing the &#8220;z&#8221; key. It zooms to where the cursor is positioned on the slide that is currently displayed. Also, if you press Tab while zoomed in, you will be moved to the top level in two steps, automatically and very smoothly. A further charming feature is triggered with Enter, &#8220;this is left as an exercise to the reader&#8221; <img src='http://www.prezzey.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p style="text-align: justify;">Make sure you don&#8217;t make the text overly small (resist the temptation of the zoom!), because after all, the whole purpose of this is to have slides which can be easily printed!</p>
<p style="text-align: justify;"><strong>5. Print out the PDF</strong></p>
<p style="text-align: justify;">See, that was easy!</p>
<p style="text-align: center;">***</p>
<p style="text-align: justify;">To be honest, when I first tried this, I thought I would mix up Tab, Z, Enter and all that during my live presentation and it would go horribly wrong. But I did not do more test runs than with my usual plain vanilla OpenOffice presentations, and everything went without hitches.</p>
<p style="text-align: center;">***</p>
<p style="text-align: justify;">Ein großes Dankeschön to Martin J. Fiedler who made Impress!ve. Keep up the great work!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prezzey.net/2009/how-to-make-a-printable-zooming-presentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux/Windows system rescue ramblings</title>
		<link>http://www.prezzey.net/2009/systemrescue/</link>
		<comments>http://www.prezzey.net/2009/systemrescue/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 01:46:53 +0000</pubDate>
		<dc:creator>prezzey</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[hdd]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://gemeskut.net/prezzey/?p=76</guid>
		<description><![CDATA[Sorry for the lack of updates lately &#8211; both of my main computers (laptop &#38; desktop) decided they&#8217;ve had enough of life, within 24 hours of each other. Read the scary story including meowing hard disks, laptops breaking in half, software named after huge trees, and actual useful tips on system rescue &#8211; click on [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Sorry for the lack of updates lately &#8211; both of my main computers (laptop &amp; desktop) decided they&#8217;ve had enough of life, within 24 hours of each other.</p>
<p style="text-align: justify;">Read the scary story including meowing hard disks, laptops breaking in half, software named after huge trees, and actual useful tips on system rescue &#8211; click on the cut!</p>
<p style="text-align: justify;"><span id="more-76"></span></p>
<p style="text-align: justify;">So let&#8217;s take it one step at a time&#8230; in my desktop computer, one of the hard disks started meowing &#8211; honest! I&#8217;ve never heard such a peculiar sound coming from a hard disk before &#8211; and spinning down at random but invariably very inconvenient intervals, refusing to spin up again.</p>
<p style="text-align: justify;">This was an old IDE hard disk, so I bought a SATA HDD and promptly ran out of SATA ports. I had to reorganize <em>all </em>of my data to fit on my hard disks, swap disks with my brother, etc. This is <em>not</em> what you want to do in your spare time, trust me.</p>
<p style="text-align: justify;">As for my laptop, it simply broke in half. Seriously &#8211; the screen hinge just snapped, and now nothing holds up the screen. (I didn&#8217;t do anything! I was sitting and typing!) I will need to take it back for warranty replacements &#8211; it seems like a simple repair, just replace the hinge and that&#8217;s it, but warranty on my laptop still holds so I don&#8217;t want to tamper with it.</p>
<p style="text-align: justify;">Random things which might be useful for you (they were certainly useful for me!):</p>
<p style="text-align: justify;">* <a href="http://www.marzocca.net/linux/baobab/">Gnome Baobab</a>, a Linux tool which shows you how much space your stuff takes up in a nice visual way,  is extremely useful for reorganizing your data&#8230;. unless some of it is on NTFS partitions. Then its performance becomes erratic at best. (To be honest, this is a known issue and a fix is on its way.)</p>
<p style="text-align: justify;">* <a href="http://www.sysresccd.org/Main_Page">System Rescue CD</a> can save <span style="text-decoration: line-through;">your life</span> your sanity. Always keep a copy around. Always. Go and burn one right now. You know you want to!</p>
<p style="text-align: justify;">* If you have more than one hard disk and more than one operating system, keep them on separate disks. If a disk decides to croak, you&#8217;ll hopefully still have a working OS&#8230; and hopefully it will be Linux and not the other way round! ;] I wouldn&#8217;t even have put this here because I thought it was common sense, but someone just expressed complete puzzlement over me organizing my data this way.</p>
<p style="text-align: justify;">* If there is a good solution to burning Blu-ray disks under Linux which does not involve trial and error and ruining expensive media in the process, I haven&#8217;t found it yet. I haven&#8217;t ruined any disks, but I was extra cautious, and for good reason&#8230; most burners &#8211; like <a href="http://k3b.plainblack.com/">k3b</a> &#8211; do not recognize the drive or the media correctly, <a href="http://www.nero.com/eng/linux3.html">Nero</a> does but it also crashes often and refuses to burn at speeds over 1x.  This is a pity because I would actually have bought Nero if it functioned properly, I was so surprised to see a Linux version! (Burning works under Windows &#8211; so it&#8217;s not the drive at fault &#8211; but it&#8217;s hard to do that, having just been deprived of your Windows partition. Whoops!)</p>
<p style="text-align: justify;">So, is there a nice utility with a nice GUI which burns you Blu-ray disks under Linux and just does what it&#8217;s told? Somehow I don&#8217;t feel like burning stuff from the command line. (I know, I know, I could make an ISO and&#8230; but&#8230; but&#8230;)</p>
<p style="text-align: justify;">Also, I find these new spiffy 1-TB hard disks disquieting&#8230; hard disks die so often, and if one of <em>these </em>dies, that&#8217;s a lot of data! &#8230;so what I&#8217;m doing right now is a mix of mirroring and backing stuff up to Blu-ray. I would love to have my data just floating around in &#8220;the Cloud&#8221;, but I work with a lot of image data and video which take up a lot of space, so it&#8217;s not feasible to upload everything somewhere and download as needed. Yet.</p>
<p style="text-align: justify;">BTW I bought <a href="http://www.wdc.com/en/products/Products.asp?DriveID=559">this HDD</a> (found one for a great price in a local shop) and it&#8217;s surprisingly quiet. Much more quiet than the meowing disk which it replaced&#8230; even when it wasn&#8217;t meowing!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prezzey.net/2009/systemrescue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>luvcview for fun and for profit</title>
		<link>http://www.prezzey.net/2009/luvcview0/</link>
		<comments>http://www.prezzey.net/2009/luvcview0/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 00:19:35 +0000</pubDate>
		<dc:creator>prezzey</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[eyetracking]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[webcam]]></category>

		<guid isPermaLink="false">http://gemeskut.net/prezzey/?p=43</guid>
		<description><![CDATA[(I&#8217;m moving random Linux stuff from my private journal to here, it&#8217;s a bit chaotic at present, but bear with me. And yes, there will be artwork, I know everyone wants the artwork and not random juicy bits of Linux! ) This entry is about using luvcview under Linux for some very simplistic video recording [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">(I&#8217;m moving random Linux stuff from my private journal to here, it&#8217;s a bit chaotic at present, but bear with me. And yes, there will be artwork, I know everyone wants the artwork and not random juicy bits of Linux! <img src='http://www.prezzey.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  )</p>
<p style="text-align: justify;">This entry is about using luvcview under Linux for some <strong>very simplistic video recording for your eye tracker</strong>, or any other purpose. I discovered these things while I was trying to set up the <a href="http://thirtysixthspan.com/openEyes/software.html">visible spectrum Starburst algorithm</a>, but after trying out several algorithms I decided to use a different one&#8230;  so I don&#8217;t know if these will be of any use to anyone! Still, here goes.</p>
<p style="text-align: justify;"><span id="more-43"></span></p>
<p style="text-align: justify;">Once you&#8217;ve bought a webcam (which will be the subject of a different post) you can test it out using luvcview, a very simple video app. (Remember, you want to test with something simple, and if it works, you can move on to something more complicated.) This little Linux app is even suited to recording two concurrent video streams for your eyetracker, try this:</p>
<p style="text-align: justify;"><em>luvcview -d /dev/video1 -i 30 -o videoA.avi<br />
luvcview -d /dev/video0 -i 30 -o videoB.avi</em></p>
<p style="text-align: justify;">luvcview saves <strong>config</strong> with F1, loads with F2! To say this is underdocumented is an understatement &#8211; it&#8217;s not in the help or any of the obvious places, it took me half an hour to find it.</p>
<p style="text-align: justify;">Here is a sample config file. I confess I have no idea where I found it &#8211; Google only brings me up the source code for luvcview.</p>
<p style="text-align: justify;"><em>id         value      # luvcview control settings configuration file<br />
9963776    128        # name:Brightness                       type:1 min:0     max:255   step:1     def:128<br />
9963777    32         # name:Contrast                         type:1 min:0     max:255   step:1     def:32<br />
9963778    32         # name:Saturation                       type:1 min:0     max:255   step:1     def:32<br />
9963788    1          # name:White Balance Temperature, Auto  type:2 min:0     max:1     step:1     def:1<br />
9963795    255        # name:Gain                             type:1 min:0     max:255   step:1     def:0</em></p>
<p style="text-align: justify;">Unfortunately there is no way (that I could find) to save<strong> exposure settings</strong> in luvcview. This is really annoying, because one of the webcams I used required the exposure to be set to a nonstandard setting to capture at 30 fps.</p>
<p style="text-align: justify;">I tried and tried and tried to get <strong>two streams</strong> to start recording at the very same time (either with luvcview or something more complicated) and I couldn&#8217;t find a good solution &#8211; I wasted a whole day with this, but then I realized Joel Clemens who made <a href="http://joelclemens.colinr.ca/eyetrack/software.html">the Windows version of Starburst </a>couldn&#8217;t find one either:</p>
<blockquote>
<p style="text-align: justify;">- While recording your eye tracking videos, be sure to flash the user with a camera flash or equivalent strobe to allow a spot where you can see where to sync the videos. (this is because it is not reasonable to assume that we can start recording from the 2 cameras at exactly the same time)</p>
</blockquote>
<p style="text-align: justify;">So I was a bit relieved <img src='http://www.prezzey.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  His solution worked very well for me in practice. I simply used my cell phone camera to produce a <strong>flash</strong>, and then found the first frame and cut both video streams there. (I haven&#8217;t tried his Windows port of Starburst because I only have Matlab for Linux &#8211; but I have to say his documentation was very useful even for the Linux version!)</p>
<p style="text-align: justify;">Simply using the camera flash method and luvcview to record two streams produces two nice streams which can be input to Starburst&#8230; but Starburst will be the subject of a separate post, IY&#8221;H.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prezzey.net/2009/luvcview0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bandwidth issues that might arise when building an eye tracker</title>
		<link>http://www.prezzey.net/2009/bandwidth-usbeyetracker/</link>
		<comments>http://www.prezzey.net/2009/bandwidth-usbeyetracker/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 20:54:51 +0000</pubDate>
		<dc:creator>prezzey</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[eyetracking]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[webcam]]></category>

		<guid isPermaLink="false">http://gemeskut.net/prezzey/?p=33</guid>
		<description><![CDATA[Maybe I&#8217;m just unlucky, but I ran into this problem head-on a few months back, and it took me a while to figure out exactly what was wrong, as none of the online howtos seemed to have any relevant information&#8230; so I&#8217;m posting a bit about that. I wanted to fit some of this on [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Maybe I&#8217;m just unlucky, but I ran into this problem head-on a few months back, and it took me a while to figure out exactly what was wrong, as none of the online howtos seemed to have any relevant information&#8230; so I&#8217;m posting a bit about that. I wanted to fit some of this on the conference poster I&#8217;m presenting this Friday (before Shabbes) but I couldn&#8217;t shoehorn everything into 90 x 150 cm and still keep it reasonably readable from a distance!</p>
<p style="text-align: justify;">What to do if you experience framedropping, glitches, etc. while recording from two USB webcams at the same time which are not present when you&#8217;re only recording from one of them? 1. Don&#8217;t panic 2. read this quick howto!<br />
<span id="more-33"></span>Basically you have two webcams taking images at a resolution of at least 640 x 480 at 30 frames per second. If you&#8217;re unlucky like me, then you end up in a situation where both cams work fine when used individually, but when both are plugged in, the video seems to stutter and drop frames, even though you have USB 2.0 slots. Unfortunately this situation was not covered on any of the low-cost eyetracking websites I came across. I was really stumped, at first I thought it was a driver issue with my Logitech webcams, but it arose both under Linux and under Windows, so eventually had to I rule that out.</p>
<p style="text-align: justify;">The real reason is that on some laptops (maybe even desktop computers&#8230;), all of the USB slots are assigned to the same USB bus. An USB bus is inside your computer, so normally you can&#8217;t tell by inspecting your laptop visually. <strong>Even slots on different sides of your laptop can be assigned to the same bus!<br />
</strong><br />
This is how to tell:</p>
<p style="text-align: justify;">1. Unplug all of your USB devices.<br />
2. Run the command &#8220;lsusb&#8221; under Linux. This shows you all of your USB buses.<br />
3. Plug one of your devices into one of the slots.<br />
4. Run lsusb again. The device should appear on the list, assigned to a specific bus.<br />
5. Unplug the device.<br />
6. Repeat 3-5 until you&#8217;ve found out which USB slots on your laptop connect to which buses. I have 3 slots, all of which belong to the same bus! (There might even be internal buses you can&#8217;t access without taking the laptop apart &#8211; in my laptop there is a built-in fingerprint reader which has its own bus all to itself, as you&#8217;ll see in the sample image below.)<br />
7. Connect both cams to USB slots which belong to different buses.<br />
8. Record!</p>
<p style="text-align: justify;">This is an example of what you should see when you&#8217;re finished &#8211; both cameras plugged in, each on a different bus (click to enlarge):</p>
<p style="text-align: justify;"><a href="http://gemeskut.net/prezzey/wp-content/uploads/2009/06/differentbuses2.png"><img class="size-medium wp-image-34 aligncenter" title="differentbuses2" src="http://gemeskut.net/prezzey/wp-content/uploads/2009/06/differentbuses2-300x124.png" alt="differentbuses2" width="300" height="124" /></a></p>
<p style="text-align: justify;">If you&#8217;re unlucky, all of the available slots belong to the same bus. Or maybe you have slots where your device does not fit (some laptops have slots in really unwieldy locations) or you just don&#8217;t want to unplug something. What to do now?</p>
<p style="text-align: justify;">The solution is to buy a PCMCIA to USB converter. These are reasonably cheap and most laptops have a PCMCIA slot where you can put them (or even two). Put the PCMCIA card into your laptop, boot up, plug one of your cams into a free USB slot and the other into the card. This way the data flow from both cameras won&#8217;t be directed through the same USB bus and you will hopefully experience smooth video on both.</p>
<p style="text-align: justify;"><span style="text-decoration: underline;">Disclaimer:</span><br />
This worked for me and is a cheap solution to a persistent problem I had when building my eye tracker. Still, no guarantees! It might not work for you. Try it at your own risk.</p>
<p style="text-align: justify;">Unfortunately there is a nasty followup to this, namely that the bandwidth required is quite a lot &#8211; take a look at <a href="http://en.wikipedia.org/wiki/List_of_device_bandwidths">device bandwidths on Wikipedia</a> and you can see that USB ranks quite high on the list. So if you want to make your head-mounted rig wireless, then Bluetooth is probably not an option, having much less bandwidth than USB (though I haven&#8217;t tried yet, but it looks futile). The ideal solution would be WUSB or the new third-generation Bluetooth protocol, but these are really &#8220;emerging technology&#8221; in the worst sense of the word &#8211; expensive, easy to break, hard to find, etc. Still, in a few years you will probably be able to do that in a relatively cheap and painless way, so keep this in mind!</p>
<p style="text-align: justify;">For the time being, if you really need to make your recording rig portable, you can mount your laptop on your back&#8230; I have an ultraportable, so this works for me! One might think Eee PCs or similar netbooks would also be suitable, but unfortunately video recording is quite processor-intensive, so you want a powerful computer (or some custom-built setup). And powerful ultraportables are really expensive (I didn&#8217;t buy mine for eye tracking either&#8230;). Anyway, most eye tracking these days is aimed at people sitting in front of a screen, not wandering around and interacting with random objects, so it&#8217;s probably not a problem if your rig is not wireless (it&#8217;s quite portable anyway). I just think it would be cool.</p>
<p style="text-align: justify;">Also, lots of eye trackers only use one camera, but I don&#8217;t like those setups &#8211; compensating for head movements is much easier if you have a scene camera in addition to the eye camera. Of course, I&#8217;m doing offline measurements&#8230; a lot depends on exactly what you want to do, and there is a tradeoff between accuracy and online processing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prezzey.net/2009/bandwidth-usbeyetracker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

