<?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>Distractions &#187; ubuntu</title>
	<atom:link href="http://corky.net/dotan/log/tag/ubuntu/feed" rel="self" type="application/rss+xml" />
	<link>http://corky.net/dotan/log</link>
	<description>Ammo for your Dreams</description>
	<lastBuildDate>Mon, 09 Nov 2009 22:06:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The recurring [K]ubuntu TV-out video saga</title>
		<link>http://corky.net/dotan/log/2009/05/the-recurring-kubuntu-tv-out-video-saga.html</link>
		<comments>http://corky.net/dotan/log/2009/05/the-recurring-kubuntu-tv-out-video-saga.html#comments</comments>
		<pubDate>Tue, 05 May 2009 23:59:50 +0000</pubDate>
		<dc:creator>Dotan Dimet</dc:creator>
				<category><![CDATA[Software and Programming]]></category>
		<category><![CDATA[hardware tales of woe]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://corky.net/dotan/log/?p=2127</guid>
		<description><![CDATA[Upgrading my OS to Jaunty broke TV output, because the proprietary driver doesn&#8217;t work anymore. However, I eventually found how to get output to my TV. I set up the following script:

#!/bin/sh
xrandr -s 800x600 # resize so that cloning goes smoothly
xrandr --output S-video --set load_detection 1
xrandr --addmode S-video 800x600
xrandr --output S-video --mode 800x600
# xvattr -a [...]]]></description>
			<content:encoded><![CDATA[<p>Upgrading my OS to Jaunty broke TV output, because the proprietary driver doesn&#8217;t work anymore. However, I eventually found how to get output to my TV. I set up the following script:</p>
<blockquote><p><code><br />
#!/bin/sh<br />
xrandr -s 800x600 # resize so that cloning goes smoothly<br />
xrandr --output S-video --set load_detection 1<br />
xrandr --addmode S-video 800x600<br />
xrandr --output S-video --mode 800x600<br />
# xvattr -a XV_CRTC -v 1<br />
vlc -f $*<br />
echo Done playing $*<br />
xrandr -s 1024x768<br />
</code></p></blockquote>
<p><em>xrandr</em> is a program that modifies your display dynamically. I guess this is all doable with configuration, but the infamous X conf file appears to be deprecated, so whatever. I use xrandr anyway to change resolution, because the output of the screen is duplicated onto the TV, and I want it to fit without being cropped.</p>
<p>So, first the script sets the resolution to the TV-compatible 800 width by 600 height; next the S-video commands tell the OS to look for the TV and set it up &#8211; and then my script passes its arguments (my movies) to the <em>vlc</em> media player. Once vlc quits, the resolution is restored.</p>
<p>There&#8217;s a commented out command that uses an utility called <em>xvattr</em> to change whether the X-Video extension (XV) should apply to the default output (the computer screen) or the TV &#8211; with when you see video on one, you just get a blank window on the other. Thankfully, I can tell vlc to show video using regular X server video instead of the XV extension, so nevermind that. I don&#8217;t see any noticable difference in the display behavior, which is pretty bad in either case &#8211; whenever windows appear in a shot, I see blocky video boxes on the TV. I think the proprietary driver didn&#8217;t have this problem.</p>
<p>And because my LCD screen burnt out this Saturday (a year beyond its warranty), I&#8217;m using a huge and scratchy-screened old CRT, which makes old-school <em>oomph</em> noises whenever it switches resolution.</p>
]]></content:encoded>
			<wfw:commentRss>http://corky.net/dotan/log/2009/05/the-recurring-kubuntu-tv-out-video-saga.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Nokia, Linux &#8211; talk amongst yourselves</title>
		<link>http://corky.net/dotan/log/2008/08/nokia-linux-talk-amongst-yourselves.html</link>
		<comments>http://corky.net/dotan/log/2008/08/nokia-linux-talk-amongst-yourselves.html#comments</comments>
		<pubDate>Wed, 13 Aug 2008 15:38:18 +0000</pubDate>
		<dc:creator>Dotan Dimet</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[Software and Programming]]></category>
		<category><![CDATA[cellphone]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[obex]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://corky.net/dotan/log/2008/08/nokia-linux-talk-amongst-yourselves.html</guid>
		<description><![CDATA[I got a new phone a month ago, a Nokia 6120 or something like that, with internet and shit. This involved finally crossing the line between having an electronic device and having a portable, under-powered computer. An UI that&#8217;s fancier but less ergonomic, a power-hungry screen and a laptop&#8217;s male-sterility-inducing level of heating-up (one of [...]]]></description>
			<content:encoded><![CDATA[<p>I got a new phone a month ago, a Nokia 6120 or something like that, with internet and shit. This involved finally crossing the line between having an electronic device and having a portable, under-powered computer. An UI that&#8217;s fancier but less ergonomic, a power-hungry screen and a laptop&#8217;s male-sterility-inducing level of heating-up (one of the first links I found about my specific model was a petition to have it recalled because of overheating issues). Also, this whole &#8220;internet&#8221; connectivity thing, while pretty impressive and fast (yo! I&#8217;m on the street, looking at my blog! Hey! I&#8217;m sitting in Dixie, browsing Google reader!), is actually a money-grubbing scheme to charge you exhorbitantly for bandwidth. The phone feels like a platform for Orange to spam me with pointless ads and downloads.</p>
<p>Also, there&#8217;s the issue of transfering stuff between the phone and my computer. There&#8217;s a USB cable, but the phone doesn&#8217;t simply mount as another drive, like any USB drive should. There&#8217;s actually some ornate synchronization protocol and some remarkably user-unfriendly tools for using it, which I haven&#8217;t managed to get to work. Also, many tools expect you to use a Bluetooth-enabled computer.</p>
<p>I found a good step-by-step tutorial on setting something up here: <a href="http://www.smokinglinux.com/tutorials/nokia-pc-suite-for-linux-with-obextool-on-ubuntu-gutsy">Nokia PC Suite for Linux with ObexTool on Ubuntu Gutsy</a>. It&#8217;s actually not equivalent to the PC Suite thing, because it doesn&#8217;t synchronize calenders and contacts, which are hidden away on the phone in some arcane corner. But it works for transfering files (MP3s, photos). So, whatever.</p>
]]></content:encoded>
			<wfw:commentRss>http://corky.net/dotan/log/2008/08/nokia-linux-talk-amongst-yourselves.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
