<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Mike's Linux Desktop Experiences</title>
	<atom:link href="http://mylinuxdesktop.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mylinuxdesktop.wordpress.com</link>
	<description></description>
	<lastBuildDate>Thu, 08 Jan 2009 10:42:12 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='mylinuxdesktop.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/ac2c5c5c0c3883a3ec489bc67e1a9688?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Mike's Linux Desktop Experiences</title>
		<link>http://mylinuxdesktop.wordpress.com</link>
	</image>
			<item>
		<title>Experimentation with Zenphoto</title>
		<link>http://mylinuxdesktop.wordpress.com/2009/01/08/experimentation-with-zenphoto/</link>
		<comments>http://mylinuxdesktop.wordpress.com/2009/01/08/experimentation-with-zenphoto/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 10:42:12 +0000</pubDate>
		<dc:creator>Mr. Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mylinuxdesktop.wordpress.com/?p=75</guid>
		<description><![CDATA[I&#8217;ve been doing some experimentation with Zenphoto.  Trying to create a  good php feed for Facebook so that I can be a bit more lazy about posting travel updates.  Right now I can transcode a bunch of videos and images on my machine, upload them to Zenphoto, visit the gallery and it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxdesktop.wordpress.com&blog=2808940&post=75&subd=mylinuxdesktop&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve been doing some experimentation with Zenphoto.  Trying to create a  good php feed for Facebook so that I can be a bit more lazy about posting travel updates.  Right now I can transcode a bunch of videos and images on my machine, upload them to Zenphoto, visit the gallery and it will generate the rss feeds and thumbs and everything on the fly.</p>
<p>The problem, or a problem, because there have been many, is that Facebook seems to mess up the RSS feeds.  I sent them a message to find out if they could do anything about it.  A URL like:</p>
<p><code>http://www.kallies.ca/photos/zp-core/i.php?a=080705-12%20Sudbury%20to%20Port%20Perry&amp;i=DSCN1110.JPG</code></p>
<p>Gets converted to</p>
<p><code>http://www.kallies.ca/photos/zp-core/i.php?a=080705-12%20Sudbury%20to%20Port%20Perry&amp;%3Bi=DSCN1110.JPG</code></p>
<p>So I did some searching about mod_rewrite and stuff, but instead found a nice idea to just replace some of the variables right off the bat.  This is much more precise and should not introduce gaping security holes&#8230; unless they&#8217;re already there.  At the top of i.php in zencore I added:</p>
<pre>&lt;?php
// Hack around a facebook bug where &amp; gets changed to &amp;amp%3B
if(isset($_GET['amp;i']))
{
  $_GET['i']=$_GET['amp;i'];
}
if(isset($_GET['amp;s']))
{
  $_GET['s']=$_GET['amp;s'];
}
if(isset($_GET['amp;ch']))
{
  $_GET['ch']=$_GET['amp;ch'];
}
if(isset($_GET['amp;t']))
{
  $_GET['t']=$_GET['amp;t'];
}
if(isset($_GET['amp;cw']))
{
  $_GET['cw']=$_GET['amp;cw'];
}
?&gt;</pre>
<p><code> </code></p>
<p>It seems to work.  I&#8217;m posting it here, because well, I need to have this somehwere so that when I eventually upgrade, I remember what I did.</p>
<p>What I&#8217;m not sure about is why the %3B is converted to a semicolon in the variable names.  I know %3B is a semicolon, but why is it *converted*?  I&#8217;m surprised that a semicolon is a valid array index in PHP.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mylinuxdesktop.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mylinuxdesktop.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mylinuxdesktop.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mylinuxdesktop.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mylinuxdesktop.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mylinuxdesktop.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mylinuxdesktop.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mylinuxdesktop.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mylinuxdesktop.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mylinuxdesktop.wordpress.com/75/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxdesktop.wordpress.com&blog=2808940&post=75&subd=mylinuxdesktop&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mylinuxdesktop.wordpress.com/2009/01/08/experimentation-with-zenphoto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dec7ed1a93e7a6d7d6b5f5338411866e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mr. Mike</media:title>
		</media:content>
	</item>
		<item>
		<title>Cinelerra is Working</title>
		<link>http://mylinuxdesktop.wordpress.com/2008/12/24/cinelerra-is-working/</link>
		<comments>http://mylinuxdesktop.wordpress.com/2008/12/24/cinelerra-is-working/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 10:26:29 +0000</pubDate>
		<dc:creator>Mr. Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mylinuxdesktop.wordpress.com/?p=69</guid>
		<description><![CDATA[Cinelerra is a bit annoying under the VMWare desktop and on top of that Gnome and junk wastes a lot of resources.  The ideal would be to strip Ubuntu down to text-only as a special purpose VMWare VM and run Cinelerra on the Windows desktop through X11 on the make-believe VMWare-Windows network.  
Another [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxdesktop.wordpress.com&blog=2808940&post=69&subd=mylinuxdesktop&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Cinelerra is a bit annoying under the VMWare desktop and on top of that Gnome and junk wastes a lot of resources.  The ideal would be to strip Ubuntu down to text-only as a special purpose VMWare VM and run Cinelerra on the Windows desktop through X11 on the make-believe VMWare-Windows network.  </p>
<p>Another thing which is very important is to ensure that mounting of filesystems is not a pain in the butt.  Having everything in the same place at the same time so that video (huge files) can be edited in-place without moving around all the time.  Mounting an SMB share is probably the best way to do this in this kind of config.  A bit wasteful on CPU resources, but I can&#8217;t think of any other method.</p>
<p>So here&#8217;s the attempt, some notes and a resultant screenshot.</p>
<p>(Sorry if this seems terse, it&#8217;s a dump of my own notes with some junk in here.)</p>
<blockquote><p><code><br />
root@Ubuntu-VMWare:~# apt-get install sysv-rc-conf<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
libcurses-perl libcurses-ui-perl<br />
The following NEW packages will be installed:<br />
libcurses-perl libcurses-ui-perl sysv-rc-conf<br />
0 upgraded, 3 newly installed, 0 to remove and 246 not upgraded.<br />
Need to get 383kB of archives.<br />
After unpacking 1421kB of additional disk space will be used.<br />
Do you want to continue [Y/n]? y<br />
Get:1 http://de.archive.ubuntu.com gutsy/universe libcurses-perl 1.13-1 [116kB]<br />
Get:2 http://de.archive.ubuntu.com gutsy/universe libcurses-ui-perl 0.95-6 [242kB]<br />
Get:3 http://de.archive.ubuntu.com gutsy/universe sysv-rc-conf 0.99-6 [24.2kB]<br />
Fetched 383kB in 8s (46.4kB/s)<br />
Selecting previously deselected package libcurses-perl.<br />
(Reading database ... 89401 files and directories currently installed.)<br />
Unpacking libcurses-perl (from .../libcurses-perl_1.13-1_i386.deb) ...<br />
Selecting previously deselected package libcurses-ui-perl.<br />
Unpacking libcurses-ui-perl (from .../libcurses-ui-perl_0.95-6_all.deb) ...<br />
Selecting previously deselected package sysv-rc-conf.<br />
Unpacking sysv-rc-conf (from .../sysv-rc-conf_0.99-6_all.deb) ...<br />
Setting up libcurses-perl (1.13-1) ...<br />
Setting up libcurses-ui-perl (0.95-6) ...<br />
Setting up sysv-rc-conf (0.99-6) ...<br />
root@Ubuntu-VMWare:~#<br />
</code></p></blockquote>
<p>Don&#8217;t need Bluetooth, don&#8217;t need X11, don&#8217;t need gdm, nvidea, usplash, acpi, acpid, apmd,<br />
rsync?  sshd isn&#8217;t default but rsync is?<br />
apport<br />
atd<br />
avahi?<br />
cinestart?<br />
consolekit<br />
cron/anacron?  Why both?<br />
dbus<br />
dhcdbd<br />
HAL<br />
hotkey-something<br />
laptop-thing<br />
powernowd</p>
<p>I don&#8217;t have time to read all those docs.  I&#8217;ll just disable everything I don&#8217;t recognise.  It&#8217;s probably all junk anyway.</p>
<p>I don&#8217;t need cron on the system either.</p>
<p>So why is sshd not on there?</p>
<p>Oh.  I need to install it.</p>
<blockquote><p><code><br />
root@Ubuntu-VMWare:~# apt-get install sshd<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
E: Couldn't find package sshd</code>
</p></blockquote>
<p>OH yeah, forgot.</p>
<blockquote><p><code><br />
root@Ubuntu-VMWare:~# apt-get install openssh-server<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
</code></p></blockquote>
<p>How are people supposed to know this?</p>
<p>oh right, the gui.  But I don&#8217;t need the GUI.</p>
<blockquote><p><code><br />
root@Ubuntu-VMWare:~# man vbesave<br />
No manual entry for vbesave<br />
root@Ubuntu-VMWare:~# less /etc/init.d/vbesave<br />
</code></p></blockquote>
<p>what is vbesave?</p>
<p>Technically don&#8217;t need vmware-tools, but I&#8217;ll leave them in there.</p>
<p>sysv-rc-conf is nice.  It&#8217;d be nicer if I had a doc describing the Distro-blessed method of doing the stuff manually.  No innittab, just a note in init.d to check the Debian policy manual.  The Debian policy manual says nothing about changing runlevels in the absence of /etc/inittab.  So blegh.  Short of manually editing /etc/event.d/rc-default, I can&#8217;t see a way to do it.</p>
<p>I can&#8217;t fathom why this script exists:</p>
<blockquote><p><code><br />
# rc - runlevel compatibility<br />
#<br />
# This task guesses what the "default runlevel" should be and starts the<br />
# appropriate script.</p>
<p>start on stopped rcS</p>
<p>script<br />
runlevel --reboot || true</p>
<p>if grep -q -w -- "-s\|single\|S" /proc/cmdline; then<br />
telinit S<br />
elif [ -r /etc/inittab ]; then<br />
RL="$(sed -n -e "/^id:[0-9]*:initdefault:/{s/^id://;s/:.*//;p}" /etc/inittab || true)"<br />
if [ -n "$RL" ]; then<br />
telinit $RL<br />
else<br />
telinit 2<br />
fi<br />
else<br />
telinit 2<br />
fi<br />
end script</p>
</blockquote>
<p></code></p>
<p>Okay. Let&#8217;s set up a line in the fstab to automagically mount the SMB share from Windows on boot.</p>
<blockquote><p><code><br />
//192.168.74.1/linux-shared     /home/mike/video        smb     uid=mike,gid=mike,credentials=/home/mike/.video-smbmountcred</p>
<p>mike@Ubuntu-VMWare:~$ ls -l .video-smbmountcred<br />
-r-------- 1 root root 33 2008-12-22 19:40 .video-smbmountcred<br />
</code></p></blockquote>
<p>Errors dont&#8217; seem to mean antyhing important, probably just warnings.</p>
<blockquote><p><code><br />
mike@Ubuntu-VMWare:~$ sudo mount /home/mike/video<br />
17571: session request to 192.168.74.1 failed (Called name not present)<br />
17571: session request to 192 failed (Called name not present)<br />
mike@Ubuntu-VMWare:~$<br />
</code></p></blockquote>
<p>Added an account to the Windows side of things.  The password is actually some random-generated string.  Note that on my wireless adapters file sharing is not attached to the network stack.  I only have to be careful when I plug in to a LAN, and even then, with cryptic passwords and junk like that, it&#8217;s okay.  I can&#8217;t get too fancy on the account though because this is XP home and they disabled a lot of the fancier account management <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>The MS Windows XP firewall blocks non-local subnet connections for file and printer sharing.  Seems to be the default.  Ditto for not allowing file and printer sharing.</p>
<p>Now we reboot to test it all out.  Hopefully, I won&#8217;t need to use VMWare console for anything.</p>
<p>&#8230;.</p>
<p>Surprising.  The mounts come up before the network.  Hmm.</p>
<p><a href="https://help.ubuntu.com/community/Fstab">https://help.ubuntu.com/community/Fstab</a></p>
<p>Looks pretty, even includes examples, pretty similar to what I already did.  Not helpful though.  _network is &#8220;nfs-only&#8221;.</p>
<p>Okay, setting the /etc/fstab to noauto for the smb filesystem.  I&#8217;m putting a command in /etc/rc.local :</p>
<blockquote><p><code><br />
/bin/mount /home/mike/video<br />
</code></p></blockquote>
<p>dhcdthing is required.  That&#8217;s back in there.</p>
<p>/boot/grub/menu.list, remove the splash option.  Reboot.</p>
<p>Hmph.  Still no net.  This is stupid.</p>
<p>Ripped out the DHCP daemon.  threw the following in /etc/rc.local before the smb mount.</p>
<blockquote><p><code><br />
/sbin/ifconfig eth0 192.168.74.128 up<br />
</code></p></blockquote>
<p>Reboot.  Works perfectly.</p>
<p>Not that I&#8217;d ever deploy a system like that in the field.  Not that I&#8217;d deploy a system in the field with Ubuntu.</p>
<p>Now I can launch Cygwin/X, ssh from Windows into my Linux VM, export the display, and run Cinelerra:</p>
<div id="attachment_71" class="wp-caption aligncenter" style="width: 950px"><img class="size-full wp-image-71" title="cinelerra-wmm2" src="http://mylinuxdesktop.files.wordpress.com/2008/12/cinelerra-wmm2.png?w=940&#038;h=560" alt="Cinelerra running next to WMM on Windows.  Kinda." width="940" height="560" /><p class="wp-caption-text">Cinelerra running next to WMM on Windows.  Kinda.</p></div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mylinuxdesktop.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mylinuxdesktop.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mylinuxdesktop.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mylinuxdesktop.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mylinuxdesktop.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mylinuxdesktop.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mylinuxdesktop.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mylinuxdesktop.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mylinuxdesktop.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mylinuxdesktop.wordpress.com/69/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxdesktop.wordpress.com&blog=2808940&post=69&subd=mylinuxdesktop&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mylinuxdesktop.wordpress.com/2008/12/24/cinelerra-is-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dec7ed1a93e7a6d7d6b5f5338411866e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mr. Mike</media:title>
		</media:content>

		<media:content url="http://mylinuxdesktop.files.wordpress.com/2008/12/cinelerra-wmm2.png" medium="image">
			<media:title type="html">cinelerra-wmm2</media:title>
		</media:content>
	</item>
		<item>
		<title>It&#8217;s Working!</title>
		<link>http://mylinuxdesktop.wordpress.com/2008/12/21/its-working/</link>
		<comments>http://mylinuxdesktop.wordpress.com/2008/12/21/its-working/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 21:45:35 +0000</pubDate>
		<dc:creator>Mr. Mike</dc:creator>
				<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://mylinuxdesktop.wordpress.com/?p=57</guid>
		<description><![CDATA[Scratch install.  Update the repositories (no actual system update or upgrade).  Add the repositories for Cinelerra.  Apt-get blah blah, execute the install instructions for VMWare tools (so as to get some reasonable performance)
Damned if I know why a year old distro wouldn&#8217;t have Cinelerra and requires you to compile VMware tools.  Strange too that VMWare-player [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxdesktop.wordpress.com&blog=2808940&post=57&subd=mylinuxdesktop&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Scratch install.  Update the repositories (no actual system update or upgrade).  Add the repositories for Cinelerra.  Apt-get blah blah, execute the install instructions for VMWare tools (so as to get some reasonable performance)</p>
<div id="attachment_61" class="wp-caption aligncenter" style="width: 649px"><img class="size-full wp-image-61" title="No Cinelerra" src="http://mylinuxdesktop.files.wordpress.com/2008/12/no-cinelerragif.png?w=639&#038;h=324" alt="Seems that Cinelerra is still not in the default repositories.  Same was true for VMWare tools." width="639" height="324" /><p class="wp-caption-text">Seems that Cinelerra is still not in the default repositories.  Same was true for VMWare tools.</p></div>
<p>Damned if I know why a year old distro wouldn&#8217;t have Cinelerra and requires you to compile VMware tools.  Strange too that VMWare-player is available in the repositories, but VMWare tools is not.</p>
<div id="attachment_63" class="wp-caption aligncenter" style="width: 684px"><img class="size-full wp-image-63" title="Smooth" src="http://mylinuxdesktop.files.wordpress.com/2008/12/smooth2.png?w=674&#038;h=466" alt="Cinelerra and VMWare Tools Successfully Installed" width="674" height="466" /><p class="wp-caption-text">Cinelerra and VMWare Tools Successfully Installed</p></div>
<p>Nearly picture perfect.   Of course apt-get install vmware-tools and the like didn&#8217;t work.  See the following for more info about installing VMWare Tools on Ubuntu 7.10</p>
<p><a href="http://www.linux.com/feature/119570/">http://www.linux.com/feature/119570/</a></p>
<p>Not too painful.  Quirky.  But not too painful.</p>
<div id="attachment_64" class="wp-caption aligncenter" style="width: 688px"><img class="size-full wp-image-64" title="VMWare tools working" src="http://mylinuxdesktop.files.wordpress.com/2008/12/vmware-tools1.png?w=678&#038;h=505" alt="VMWare tools is working!" width="678" height="505" /><p class="wp-caption-text">VMWare tools is working!</p></div>
<p>My only complaint is that my MP3 player skipped in Windows while rebooting Linux.  I guess that happens when you&#8217;re on a 6 year old machine with under a GB of RAM.</p>
<div id="attachment_65" class="wp-caption aligncenter" style="width: 727px"><img class="size-full wp-image-65" title="Cinelerra in VMWare." src="http://mylinuxdesktop.files.wordpress.com/2008/12/success.png?w=717&#038;h=538" alt="Success! Cinelerra on my VMWare environment" width="717" height="538" /><p class="wp-caption-text">Success! Cinelerra on my VMWare environment</p></div>
<p>I wonder if it actually works?</p>
<p>The next problem is that VMWare Server does not allow for shared folders.  It&#8217;s a marketing thing, they want you to buy VMWare Workstation.  The more secure way to do this would be to export an SMB Share on Linux and let it have raw access to the partition.  The Linux machine, with no bridged networking would be protected by NAT.  That and I&#8217;d trust Linux to do an SMB export a thousand times before I&#8217;d trust Windows.  Sometimes you just don&#8217;t have a lot of choices though and I&#8217;d rather maintain my screwed up, buggy BSOD-prone EXT2 megapartition native than to require 128 or so MB of RAM to access it through a Linux system under VMWare.  This system just doesn&#8217;t have the resources and short of soldering, it is at the hardware limit on RAM.</p>
<p>A good day, but I really need to get away from the computer.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mylinuxdesktop.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mylinuxdesktop.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mylinuxdesktop.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mylinuxdesktop.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mylinuxdesktop.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mylinuxdesktop.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mylinuxdesktop.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mylinuxdesktop.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mylinuxdesktop.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mylinuxdesktop.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxdesktop.wordpress.com&blog=2808940&post=57&subd=mylinuxdesktop&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mylinuxdesktop.wordpress.com/2008/12/21/its-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dec7ed1a93e7a6d7d6b5f5338411866e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mr. Mike</media:title>
		</media:content>

		<media:content url="http://mylinuxdesktop.files.wordpress.com/2008/12/no-cinelerragif.png" medium="image">
			<media:title type="html">No Cinelerra</media:title>
		</media:content>

		<media:content url="http://mylinuxdesktop.files.wordpress.com/2008/12/smooth2.png" medium="image">
			<media:title type="html">Smooth</media:title>
		</media:content>

		<media:content url="http://mylinuxdesktop.files.wordpress.com/2008/12/vmware-tools1.png" medium="image">
			<media:title type="html">VMWare tools working</media:title>
		</media:content>

		<media:content url="http://mylinuxdesktop.files.wordpress.com/2008/12/success.png" medium="image">
			<media:title type="html">Cinelerra in VMWare.</media:title>
		</media:content>
	</item>
		<item>
		<title>Okay.  I&#8217;m Cheating</title>
		<link>http://mylinuxdesktop.wordpress.com/2008/12/21/okay-im-cheating/</link>
		<comments>http://mylinuxdesktop.wordpress.com/2008/12/21/okay-im-cheating/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 17:40:39 +0000</pubDate>
		<dc:creator>Mr. Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mylinuxdesktop.wordpress.com/?p=53</guid>
		<description><![CDATA[I&#8217;m kind of lacking in video editing software on Windows.  I thought about buying a license for a cheapo commercial package, but I want to give Cinelerra one more shot.
The trouble is that I&#8217;m travelling.  My Ubuntu distro can no longer reach anything using the external wireless adapter (pppbfft.  Who knows, who cares).  The distro [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxdesktop.wordpress.com&blog=2808940&post=53&subd=mylinuxdesktop&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;m kind of lacking in video editing software on Windows.  I thought about buying a license for a cheapo commercial package, but I want to give Cinelerra one more shot.</p>
<p>The trouble is that I&#8217;m travelling.  My Ubuntu distro can no longer reach anything using the external wireless adapter (pppbfft.  Who knows, who cares).  The distro was handy for Cinelerra, but dual-booting is not an option.</p>
<p>I&#8217;ve reformatted one of my ext2 partitions to NTFS because, FOSS being so superior, the FOSS IFS driver for EXT2 causes BSODs under what seems to be certain system calls.  It&#8217;s pretty reproduceable under WoW, or under&#8230; you&#8217;ll never guess.  Oh no&#8230;</p>
<p>Truecrypt.</p>
<p>So the reason I wasn&#8217;t able to encrypt my Windows volume was because I had EXT2 drivers loaded.  Now, it just seems to BSOD when it indexes stuff, so until I totally blow the EXT2 stuff, I&#8217;m not going to be able to use Truecrypt at all (!).</p>
<p>I also think this was preventing me from using VMWare.</p>
<p>Now that VMWare is working, I can let Windows handle all the fancy stuff like my suspend/hibernate, network, video, audio, power management bla bla.  I can dedicate a VM specifically to Cinelerra, and because it is behind a NAT system (ironically Windows), it will not be so high a priority to keep the thing up on security updates.</p>
<p>Video performance under Linux was crud anyway, so throwing the CPU intensive work over to VMware, letting it chug out some video, then playing it under Windows is just fine.  Preferable even.  Just kinda wasteful on memory, but this is for something which is an overnight process anyway.</p>
<p>It may also solve the problem that Cinelerra would overheat my machine when running overnight on Ubuntu.  (aggghhh!)</p>
<p>For those who&#8217;ll tell me that running Ubuntu 7.10 is hopelessly out of date, I have to only say that I&#8217;m already stealing wireless.  Downloading gigabytes of new distros is not an option.  I have a 7.10 iso.  I shouldn&#8217;t need another.  My Windows distro is from 2002, and I&#8217;m quite sure the service packs don&#8217;t exceed a gig.  This should work just fine.</p>
<p>Hopefully the Linux mencode will let me ditch my HORRIFYING Windows mplayer script. Yes, I look forward to having a nice shell environment.  Yes, I still love Linux, but I have a hate-hate relationship with it on the desktop.</p>
<div id="attachment_54" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-54" title="ubuntuload-cinelerra" src="http://mylinuxdesktop.files.wordpress.com/2008/12/ubuntuload.gif?w=300&#038;h=215" alt="Loading Ubuntu in VMware" width="300" height="215" /><p class="wp-caption-text">Loading Ubuntu in VMware</p></div>
<p>You should see the video I created in Windows Movie Maker.  The thing is quite simple to use.  Not very capable, I mean, it gets the job done, and deters you from fiddling too much.  It&#8217;s got a serious weakness with input file types though.  It can only do AVI.  I don&#8217;t like converting everything just to use such a silly thing, but then again, my output medium (Youtube) is so low resolution that it doesn&#8217;t really matter I guess.</p>
<p><img src="/DOCUME%7E1/MIKEKA%7E1/LOCALS%7E1/Temp/moz-screenshot-5.jpg" alt="" />I do *want* to use Cinelerra though.  Despite being forced to use Linux on the Desktop to get it.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mylinuxdesktop.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mylinuxdesktop.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mylinuxdesktop.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mylinuxdesktop.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mylinuxdesktop.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mylinuxdesktop.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mylinuxdesktop.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mylinuxdesktop.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mylinuxdesktop.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mylinuxdesktop.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxdesktop.wordpress.com&blog=2808940&post=53&subd=mylinuxdesktop&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mylinuxdesktop.wordpress.com/2008/12/21/okay-im-cheating/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dec7ed1a93e7a6d7d6b5f5338411866e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mr. Mike</media:title>
		</media:content>

		<media:content url="http://mylinuxdesktop.files.wordpress.com/2008/12/ubuntuload.gif?w=300" medium="image">
			<media:title type="html">ubuntuload-cinelerra</media:title>
		</media:content>

		<media:content url="/DOCUME%7E1/MIKEKA%7E1/LOCALS%7E1/Temp/moz-screenshot-5.jpg" medium="image" />
	</item>
		<item>
		<title>Galleries, Dreamhost, mencoder and ImageMagick</title>
		<link>http://mylinuxdesktop.wordpress.com/2008/08/22/galleries-dreamhost-mencoder-and-imagemagick/</link>
		<comments>http://mylinuxdesktop.wordpress.com/2008/08/22/galleries-dreamhost-mencoder-and-imagemagick/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 06:11:29 +0000</pubDate>
		<dc:creator>Mr. Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mylinuxdesktop.wordpress.com/?p=51</guid>
		<description><![CDATA[Over the past couple months, I&#8217;ve been trying to create regular blog entries about travel.  The trouble is that I rarely have time to sit down and write, and writing does take time.
So one thought I had was that if I could post all my photos and videos in nearly-real time, they can supplement [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxdesktop.wordpress.com&blog=2808940&post=51&subd=mylinuxdesktop&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Over the past couple months, I&#8217;ve been trying to create regular blog entries about travel.  The trouble is that I rarely have time to sit down and write, and writing does take time.</p>
<p>So one thought I had was that if I could post all my photos and videos in nearly-real time, they can supplement the writing very well and very easily.  They&#8217;d also be a better way to blog&#8230; in a way.</p>
<p>A huge impediment to regularly posting photos and video is that the video files, or even just the photographs, are huge.  It&#8217;s rare that I come upon a high speed uplink, and it&#8217;s rude if I visit a cafe and upload a few hundred MB while sipping a coffee.</p>
<p>The trick here, is to compress the files on my machine, and not only that, because there are so many, it needs to be automated.  Manual processes are error-prone, tedious and difficult to tweak after the fact.</p>
<p>For automatic conversion, the graphic files are easy.  In the Windows world, Irfanview or even Cygwin with ImageMagick can do this without any trouble.  The video files are more complex.</p>
<p>During the LBW, a friend of mine, Andi, he tipped me off that mencoder from the Mplayer suite works fine to transcode video into smaller sizes from the command line and to convert video files into flv format.</p>
<p>Fortunately, mencoder, along with mplayer and ImageMagick are indeed all available on Windows.  Unfortunately, mencoder was compiled for the windows CMD shell, which means that the cygwin paths don&#8217;t work as parameters.  This makes life a little more complex, but not as complex as dual booting my Ubuntu distro just to convert photos and videos.</p>
<p>So here&#8217;s the 0.1 version of the conversion script.  Note the hardcoded paths and other awful things.  It works, but it&#8217;s not beautiful.  I need to create a posting script too, that might be hard because Zenphoto on Dreamhost does not seem to be all that inviting for automated posts.</p>
<p><tt><br />
<blockquote>
#!/bin/bash  </p>
<p>sourcedir=/cygdrive/g/Photos<br />
targetdir=/cygdrive/g/webgallery<br />
dostempdir=g:\\webgallerytemp<br />
mplayerconvertbat=/cygdrive/g/webgallerytemp/mplayerconvert.bat<br />
mencoderoptions="-of lavf -oac mp3lame -lameopts abr:br=56 -srate 22050 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3"</p>
<p>OFS=$IFS<br />
IFS='<br />
'</p>
<p>for i in `find $sourcedir -iname *.JPG`<br />
do<br />
	if [ ! -e "$targetdir/$i" ]<br />
	then<br />
		printf "$i"...<br />
		mkdir -p "$targetdir/`dirname $i`"<br />
		convert -resize 1024 -quality 80 "$i" "$targetdir/$i"<br />
		if [ "$?" -eq "0" ]; then echo ... done; fi<br />
	fi<br />
done</p>
<p>for i in `find $sourcedir -iname *.MOV`<br />
do<br />
	if [ ! -e "$targetdir/$i" ]<br />
	then<br />
		# create a batch file for each command<br />
		cat &lt;$mplayerconvertbat<br />
@ECHO OFF<br />
EOF<br />
		filepath=$i<br />
		dirname=`dirname $filepath`<br />
		basename=`basename $filepath`</p>
<p>		IFS="/"<br />
		set -- $dirname<br />
		# get rid of cygdrive and assign drive letter<br />
		shift; shift<br />
		dosdir="$1:"</p>
<p>		# replace slashes with backslashes<br />
		while [ "$1" != "" ]<br />
		do<br />
			shift<br />
			dosdir="$dosdir\\$1"<br />
		done</p>
<p>		echo "$i"...</p>
<p>		echo c:\\utils\\mplayer\\mencoder \"$dosdir\\$basename\" -o \"$dostempdir\\out.flv\" $mencoderoptions &gt;&gt; /cygdrive/g/webgallerytemp/mplayerconvert.bat<br />
		u2d /cygdrive/g/webgallerytemp/mplayerconvert.bat<br />
		cmd /c g:\\webgallerytemp\\mplayerconvert.bat</p>
<p>		mv /cygdrive/g/webgallerytemp/out.flv "$targetdir/$i"<br />
	fi</p>
<p>	IFS='<br />
'</p>
<p>done<br />
IFS=$OFS</p>
</blockquote>
<p></tt></p>
<p>Does anyone have any hints about mass-posts to Zenphoto on Dreamhost?  Particularly of files &gt;7MB?</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mylinuxdesktop.wordpress.com/51/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mylinuxdesktop.wordpress.com/51/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mylinuxdesktop.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mylinuxdesktop.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mylinuxdesktop.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mylinuxdesktop.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mylinuxdesktop.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mylinuxdesktop.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mylinuxdesktop.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mylinuxdesktop.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mylinuxdesktop.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mylinuxdesktop.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxdesktop.wordpress.com&blog=2808940&post=51&subd=mylinuxdesktop&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mylinuxdesktop.wordpress.com/2008/08/22/galleries-dreamhost-mencoder-and-imagemagick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dec7ed1a93e7a6d7d6b5f5338411866e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mr. Mike</media:title>
		</media:content>
	</item>
		<item>
		<title>Traveling, Wifi and USB</title>
		<link>http://mylinuxdesktop.wordpress.com/2008/06/11/traveling-wifi-and-usb/</link>
		<comments>http://mylinuxdesktop.wordpress.com/2008/06/11/traveling-wifi-and-usb/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 15:56:05 +0000</pubDate>
		<dc:creator>Mr. Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mylinuxdesktop.wordpress.com/?p=50</guid>
		<description><![CDATA[I set up my Thinkpad X24 as a dual-boot configuration.   Aside from some video experiments in Cinelerra, I haven&#8217;t done much with it.
While traveling, I noticed that nobody is using 802.11a/b.  They&#8217;re only using 802.11g.  So I picked up a little USB wireless adapter, to try to get wireless working.  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxdesktop.wordpress.com&blog=2808940&post=50&subd=mylinuxdesktop&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I set up my Thinkpad X24 as a dual-boot configuration.   Aside from some video experiments in Cinelerra, I haven&#8217;t done much with it.</p>
<p>While traveling, I noticed that nobody is using 802.11a/b.  They&#8217;re only using 802.11g.  So I picked up a little USB wireless adapter, to try to get wireless working.  I didn&#8217;t have a CDROM drive, so I figured that ensuring that it worked on Linux was important.  </p>
<p>So I went into BestBuy and did a search on the chipset&#8230;.  Bingo.  The Hawking HWUG1 adapter seems to be supported.  It even does promiscuous sniffing and stuff.</p>
<p>Anxiously, I take it back to my car, ready to try to get on to some free access points.  I plug the thing in to the back of my machine&#8230;</p>
<blockquote><p><code><br />
[  391.688000] usb 1-1: configuration #1 chosen from 1 choice<br />
[  392.172000] ieee80211_init: failed to initialize WME (err=-17)<br />
[  392.184000] iwlwifi_rc80211_simple: Unknown symbol iwlwifi_ieee80211_rate_control_unregister<br />
[  392.184000] iwlwifi_rc80211_simple: Unknown symbol iwlwifi_sta_info_put<br />
[  392.184000] iwlwifi_rc80211_simple: Unknown symbol iwlwifi_sta_info_get<br />
[  392.184000] iwlwifi_rc80211_simple: Unknown symbol iwlwifi_ieee80211_rate_control_register<br />
[  392.192000] wmaster0: Selected rate control algorithm 'simple'<br />
[  392.300000] usbcore: registered new interface driver rt2500usb<br />
[  392.304000] usbcore: registered new interface driver rt73usb<br />
[  392.600000] phy0 -&gt; rt2500usb_enable_radio: Error - Register initialization failed.<br />
</code></p></blockquote>
<p>Ugh.  Just try to figure that one out without an Internet connection.</p>
<p>So I boot Windows.  It seems to want that driver CD for which I have no CDROM drive.</p>
<p>Blegh.</p>
<p>A few days later I found a student who was able to transfer the contents of my CD to a USB keyfob where I was able to pull the drivers.</p>
<p>Ubuntu: 0<br />
Windows: 0</p>
<p>Windows is working fine with wireless now.  I have no time to figure it out in Linux.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mylinuxdesktop.wordpress.com/50/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mylinuxdesktop.wordpress.com/50/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mylinuxdesktop.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mylinuxdesktop.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mylinuxdesktop.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mylinuxdesktop.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mylinuxdesktop.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mylinuxdesktop.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mylinuxdesktop.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mylinuxdesktop.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mylinuxdesktop.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mylinuxdesktop.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxdesktop.wordpress.com&blog=2808940&post=50&subd=mylinuxdesktop&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mylinuxdesktop.wordpress.com/2008/06/11/traveling-wifi-and-usb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dec7ed1a93e7a6d7d6b5f5338411866e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mr. Mike</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux is a Tool and a Philosophy</title>
		<link>http://mylinuxdesktop.wordpress.com/2008/04/06/linux-is-a-tool-and-a-philosophy/</link>
		<comments>http://mylinuxdesktop.wordpress.com/2008/04/06/linux-is-a-tool-and-a-philosophy/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 16:08:15 +0000</pubDate>
		<dc:creator>Mr. Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[LUKS GRUB]]></category>

		<guid isPermaLink="false">http://mylinuxdesktop.wordpress.com/?p=48</guid>
		<description><![CDATA[I completely give up on the notion that Linux is superior on the desktop.
It&#8217;s not.
No advocate will be able to convince me otherwise.  Especially if they &#8220;haven&#8217;t used Windows in years&#8221;.  I&#8217;m not going to spend time trying to convey the vastly superior performance of my machine under Windows XP than under Ubuntu. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxdesktop.wordpress.com&blog=2808940&post=48&subd=mylinuxdesktop&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I completely give up on the notion that Linux is superior on the desktop.</p>
<p>It&#8217;s not.</p>
<p>No advocate will be able to convince me otherwise.  Especially if they &#8220;haven&#8217;t used Windows in years&#8221;.  I&#8217;m not going to spend time trying to convey the vastly superior performance of my machine under Windows XP than under Ubuntu.  I&#8217;ve encountered this problem for years under multiple versions of Windows and I&#8217;m not willing to compare it any further.  It&#8217;s not helpful to anyone.</p>
<p>Advocates do a huge disservice to Linux when they make broad claims of ease of use and performance.</p>
<p>That said.  Linux is useful to me because I administer Linux servers professionally.  It&#8217;s a tool.  It has particular characteristics and features which can help me.  It has many characteristics and features which hinder me.</p>
<p>Now on to getting Ubuntu to use LUKS on my X24.</p>
<p><a href="https://help.ubuntu.com/community/EncryptedFilesystemHowto7">https://help.ubuntu.com/community/EncryptedFilesystemHowto7</a></p>
<p>I Add/Removed gparted, created a /boot, did a cp -a to get stuff into the new /boot, did a little dance to get rid of the old /boot fired up grub-install.</p>
<p>I made some mistakes along the way, but I was able to fix them by:</p>
<ul>
<li>booting with the LiveCD,
<li>mounting on /mnt/root and /mnt/root/boot, then
<li>editing my /mnt/root/boot/grub/menu.lst
<li>running grub &#8211;root-directory=/mnt/root /dev/sda
</ul>
<p>My old menu options looked like this:</p>
<p><code><br />
 title           Ubuntu 7.10, kernel 2.6.22-14-generic<br />
root            (hd0,1)<br />
kernel          /boot/vmlinuz-2.6.22-14-generic root=UUID=5f0be2ea-329e-476b-91b5-2320b9f20f23 ro quiet splash<br />
initrd          /boot/initrd.img-2.6.22-14-generic<br />
quiet<br />
</code></p>
<p>My new ones look like this:</p>
<p><code><br />
title           Ubuntu 7.10, kernel 2.6.22-14-generic<br />
root            (hd0,3)<br />
kernel          /vmlinuz-2.6.22-14-generic root=UUID=5f0be2ea-329e-476b-91b5-2320b9f20f23 ro quiet splash<br />
initrd          /initrd.img-2.6.22-14-generic<br />
quiet<br />
</code></p>
<p>My partition table now looks like this:</p>
<p><code><br />
root@pigeon:~# fdisk -l /dev/sda</p>
<p>Disk /dev/sda: 250.0 GB, 250059350016 bytes<br />
255 heads, 63 sectors/track, 30401 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
Disk identifier: 0x00043c78</p>
<p>   Device Boot      Start         End      Blocks   Id  System<br />
/dev/sda1   *           1        2433    19543041    7  HPFS/NTFS<br />
/dev/sda2            2434        4866    19543072+  83  Linux<br />
/dev/sda3            4880       30401   205005465    5  Extended<br />
/dev/sda4            4867        4879      104422+  83  Linux</p>
<p>Partition table entries are not in disk order<br />
</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mylinuxdesktop.wordpress.com/48/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mylinuxdesktop.wordpress.com/48/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mylinuxdesktop.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mylinuxdesktop.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mylinuxdesktop.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mylinuxdesktop.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mylinuxdesktop.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mylinuxdesktop.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mylinuxdesktop.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mylinuxdesktop.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mylinuxdesktop.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mylinuxdesktop.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxdesktop.wordpress.com&blog=2808940&post=48&subd=mylinuxdesktop&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mylinuxdesktop.wordpress.com/2008/04/06/linux-is-a-tool-and-a-philosophy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dec7ed1a93e7a6d7d6b5f5338411866e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mr. Mike</media:title>
		</media:content>
	</item>
		<item>
		<title>Video Stablizing Filters, Advocacy and Feature Lists</title>
		<link>http://mylinuxdesktop.wordpress.com/2008/03/23/video-stablizing-filters-advocacy-and-feature-lists/</link>
		<comments>http://mylinuxdesktop.wordpress.com/2008/03/23/video-stablizing-filters-advocacy-and-feature-lists/#comments</comments>
		<pubDate>Sun, 23 Mar 2008 15:45:47 +0000</pubDate>
		<dc:creator>Mr. Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mylinuxdesktop.wordpress.com/?p=47</guid>
		<description><![CDATA[I was just experimenting with Premiere&#8217;s capabilities and I&#8217;m quite disappointed with the stabilizer.  It&#8217;s crap.


Top Left:  Adobe Premiere Elements (filling using background), 45 Minutes to process
Top Right: Deshaker through Virtualdub and AVI Synth:  about 50 minutes to process (2&#215;25 minute passes)
Bottom Left:  Power Director (hey, some website with a probably [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxdesktop.wordpress.com&blog=2808940&post=47&subd=mylinuxdesktop&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was just experimenting with Premiere&#8217;s capabilities and I&#8217;m quite disappointed with the stabilizer.  It&#8217;s crap.</p>
<p align="center"><code><span style="text-align:center; display: block;"><a href="http://mylinuxdesktop.wordpress.com/2008/03/23/video-stablizing-filters-advocacy-and-feature-lists/"><img src="http://img.youtube.com/vi/Qou2gtyNE6A/2.jpg" alt="" /></a></span></code></p>
<ul>
<li>Top Left:  Adobe Premiere Elements (filling using background), 45 Minutes to process</p>
<li>Top Right: Deshaker through Virtualdub and AVI Synth:  about 50 minutes to process (2&#215;25 minute passes)
<li>Bottom Left:  Power Director (hey, some website with a probably fake review suggested it), 3 minutes (!)
<li>Bottom Right: Unfiltered (as I say in the video, I think I was dehydrated)</ul>
<p>(The 4-way image was produced using AVI Synth&#8230; awesome program. )</p>
<p>It seems my expectations are set way too high by Deshaker.   As an example of when FOSS beats out the commercial apps, VirtualDub and AVISynth are GPL, although the filter appears to be closed but free for distribution and use.    For the Linux zelots, VirtualDub and AviSynth (2.x) are good examples of FOSS packages not available on Linux.</p>
<p>However&#8230; it seems that Cinelerra may have the Depan filter which can be used to track a fixed object and alter the borders of the image in order to remove motion from a clip.</p>
<blockquote><p>
<a href="http://avisynth.org.ru/depan/depan.html">http://avisynth.org.ru/depan/depan.html</a>
</p></blockquote>
<p>From the website, Depan is a half implementation of Deshake.  DePanEstimate is required to figure out how DePan will move the panning.  It&#8217;s unclear to me that Cinelerra has this aspect of the filter, but there&#8217;s an awesome demo out there of something slightly related:</p>
<div align="center"><span style="text-align:center; display: block;"><a href="http://mylinuxdesktop.wordpress.com/2008/03/23/video-stablizing-filters-advocacy-and-feature-lists/"><img src="http://img.youtube.com/vi/3jYFJw1dT18/2.jpg" alt="" /></a></span></div>
<p>Now that&#8217;s good advocacy.  Good documentation would be more useful, but good advocacy gives me some hope.. better than &#8220;do it yourself freeloader&#8221; or &#8220;try a 5-figure commercial package&#8221;</p>
<p>Unfortunately, this means means trying to install Cinelerra again.  I have to install Ubuntu on my notebook anyway, I may have to have a peek at this silly Ubuntu Studio distribution.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mylinuxdesktop.wordpress.com/47/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mylinuxdesktop.wordpress.com/47/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mylinuxdesktop.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mylinuxdesktop.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mylinuxdesktop.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mylinuxdesktop.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mylinuxdesktop.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mylinuxdesktop.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mylinuxdesktop.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mylinuxdesktop.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mylinuxdesktop.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mylinuxdesktop.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxdesktop.wordpress.com&blog=2808940&post=47&subd=mylinuxdesktop&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mylinuxdesktop.wordpress.com/2008/03/23/video-stablizing-filters-advocacy-and-feature-lists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dec7ed1a93e7a6d7d6b5f5338411866e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mr. Mike</media:title>
		</media:content>

		<media:content url="http://img.youtube.com/vi/Qou2gtyNE6A/2.jpg" medium="image" />

		<media:content url="http://img.youtube.com/vi/3jYFJw1dT18/2.jpg" medium="image" />
	</item>
		<item>
		<title>The Promise of Ubuntu 8.04, Data Recovery and Video Editing</title>
		<link>http://mylinuxdesktop.wordpress.com/2008/03/21/the-promise-of-ubuntu-804-data-recovery-and-video-editing/</link>
		<comments>http://mylinuxdesktop.wordpress.com/2008/03/21/the-promise-of-ubuntu-804-data-recovery-and-video-editing/#comments</comments>
		<pubDate>Fri, 21 Mar 2008 15:37:30 +0000</pubDate>
		<dc:creator>Mr. Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mylinuxdesktop.wordpress.com/?p=45</guid>
		<description><![CDATA[There are some promising improvements in Ubuntu 8.04.  I&#8217;ll have to try an upgrade, maybe even to fix the boot sequence of my Linux drive (after my repairs, it is reporting Error 17 on boot).   Simplified X11 configuration, support for multiple monitors of differing sizes, and that new audio system are all [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxdesktop.wordpress.com&blog=2808940&post=45&subd=mylinuxdesktop&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>There are some promising improvements in Ubuntu 8.04.  I&#8217;ll have to try an upgrade, maybe even to fix the boot sequence of my Linux drive (after my repairs, it is reporting Error 17 on boot).   Simplified X11 configuration, support for multiple monitors of differing sizes, and that new audio system are all promising.</p>
<p>I might just need to fire it up today just so that I can try taking a binary dump of a flash card to try to recover all the photos and videos I lost.  The data recovery worked partially.  I lost all my MP3s.  Most were truncated, all the file names were lost and the organization of them.  The same unfortunately applies for a detailed set of films and photos I took of some archaeological sites in Crete, and a hiking trip through the Samarian Gorge.</p>
<p>I&#8217;m still very bitter about that.</p>
<p>In the meantime, I&#8217;m downloading Adobe Premiere elements.  Can somebody explain to me why I might want to consider comparing it to Broadcast2000/Cinelerra/Open Movie Editor</p>
<p>You can watch the history of Linux video editing unfold with these three apps:</p>
<blockquote><p><a href="http://www.oreillynet.com/pub/a/network/2000/08/11/magazine/broadcast2000.html">http://www.oreillynet.com/pub/a/network/2000/08/11/magazine/broadcast2000.html</a></p>
<p><a href="http://en.wikipedia.org/wiki/Cinelerra">http://en.wikipedia.org/wiki/Cinelerra</a></p>
<p><a href="http://www.openmovieeditor.org/index.html">http://www.openmovieeditor.org/index.html</a></p></blockquote>
<p>Of course I can&#8217;t actually get it to work, and nothing in Linux seems to have a deshake filter, so while it is almost there, it took 8 years to get there, and there are free tools in Windows that get most of the job done, but still leave me quite willing to fork out $100 for a reasonable tool.  Wine doesn&#8217;t seem to cut it for the free Windows tools.</p>
<p>Film Gimp/Cinepaint and Open Movie Editor might help me in 2012.  In 2008, I just don&#8217;t have time to think about it.</p>
<p>Time to take the Richard Stallman Philosophy.  I think it was Richard Stallman, the idea that if there is no free software available to do what you need to do, then it&#8217;s reasonable to use commercial software.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mylinuxdesktop.wordpress.com/45/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mylinuxdesktop.wordpress.com/45/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mylinuxdesktop.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mylinuxdesktop.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mylinuxdesktop.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mylinuxdesktop.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mylinuxdesktop.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mylinuxdesktop.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mylinuxdesktop.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mylinuxdesktop.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mylinuxdesktop.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mylinuxdesktop.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxdesktop.wordpress.com&blog=2808940&post=45&subd=mylinuxdesktop&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mylinuxdesktop.wordpress.com/2008/03/21/the-promise-of-ubuntu-804-data-recovery-and-video-editing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dec7ed1a93e7a6d7d6b5f5338411866e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mr. Mike</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8230;48 hours later, the horror of GPM</title>
		<link>http://mylinuxdesktop.wordpress.com/2008/03/18/48-hours-later-the-horror-of-gpm/</link>
		<comments>http://mylinuxdesktop.wordpress.com/2008/03/18/48-hours-later-the-horror-of-gpm/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 00:40:51 +0000</pubDate>
		<dc:creator>Mr. Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mylinuxdesktop.wordpress.com/?p=44</guid>
		<description><![CDATA[From past experience, I unplugged the keyboard so that I wouldn&#8217;t accidentally hit enter.  Photorec stops the process without asking for confirmation.
When I got home, I decided to jiggle the mouse so that the screen blanking would clear.  I accidentally touched the right-mouse-button.
Right-click to paste is demented.  Ditto for middle-click to paste.  It seems I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxdesktop.wordpress.com&blog=2808940&post=44&subd=mylinuxdesktop&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>From past experience, I unplugged the keyboard so that I wouldn&#8217;t accidentally hit enter.  Photorec stops the process without asking for confirmation.</p>
<p>When I got home, I decided to jiggle the mouse so that the screen blanking would clear.  I accidentally touched the right-mouse-button.</p>
<p>Right-click to paste is demented.  Ditto for middle-click to paste.  It seems I highlighted a CR at some point.  BAM.  Quit.  No prompt.  Process over.</p>
<p>I guess before I restart the process, I&#8217;ll manually sift through the smoldering heap of 15,783 unnamed jpg files, 2,396 mp3s, 248 oggs and 95 movs to find out if my vacation photos and MP3 collection were recoverable or not.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mylinuxdesktop.wordpress.com/44/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mylinuxdesktop.wordpress.com/44/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mylinuxdesktop.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mylinuxdesktop.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mylinuxdesktop.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mylinuxdesktop.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mylinuxdesktop.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mylinuxdesktop.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mylinuxdesktop.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mylinuxdesktop.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mylinuxdesktop.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mylinuxdesktop.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxdesktop.wordpress.com&blog=2808940&post=44&subd=mylinuxdesktop&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mylinuxdesktop.wordpress.com/2008/03/18/48-hours-later-the-horror-of-gpm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dec7ed1a93e7a6d7d6b5f5338411866e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mr. Mike</media:title>
		</media:content>
	</item>
	</channel>
</rss>