<?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>Brian Jamison &#187; Uncategorized</title>
	<atom:link href="http://www.jamison.org/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jamison.org</link>
	<description>Open source, biodiesel, ecopreneuring, roleplaying, and whatever else I'm doing at the moment</description>
	<lastBuildDate>Sun, 22 Jan 2012 21:20:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Fixing the svn txn-current-lock Permission denied error in Subversion</title>
		<link>http://www.jamison.org/2011/09/13/fixing-the-svn-txn-current-lock-permission-denied-error-in-subversion/</link>
		<comments>http://www.jamison.org/2011/09/13/fixing-the-svn-txn-current-lock-permission-denied-error-in-subversion/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 16:48:18 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.jamison.org/?p=178</guid>
		<description><![CDATA[I was setting up a new subversion repo recently in Ubuntu. I was able to check out files but when I tried a commit I hit this error: svn: Can't open file '/var/svn/foo/db/txn-current-lock': Permission denied So it was obviously a permissions issue, and here&#8217;s what the permissions looked like on that file: -rwxr----- 1 root [...]]]></description>
			<content:encoded><![CDATA[<p>I was setting up a new subversion repo recently in Ubuntu.  I was able to check out files but when I tried a commit I hit this error:<br />
<code>svn: Can't open file '/var/svn/foo/db/txn-current-lock': Permission denied</code></p>
<p>So it was obviously a permissions issue, and here&#8217;s what the permissions looked like on that file:<br />
<code><br />
-rwxr-----    1 root     svn             0 Aug 12 18:00 txn-current-lock<br />
</code></p>
<p>Oops &#8211; I could only read but not write that file.  Looking further it turns out the <strong>entire</strong> repo only had root write permissions, even though it was owned by the &#8216;svn&#8217; group &#8211; I&#8217;m not sure how that happened, possibly a stupid mistake on my part.  I had already set up a &#8216;svn&#8217; group and added the users I wanted to have access to the repo to the &#8216;svn&#8217; group, so I just had to make the repo writable by the group.</p>
<p>The fix was simple:<br />
<code>sudo chmod -R g+w /var/svn/foo/*</code><br />
(where foo is the name of the repo)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamison.org/2011/09/13/fixing-the-svn-txn-current-lock-permission-denied-error-in-subversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slugs for dinner in Edinburgh?</title>
		<link>http://www.jamison.org/2011/09/09/slugs-for-dinner-in-edinburgh/</link>
		<comments>http://www.jamison.org/2011/09/09/slugs-for-dinner-in-edinburgh/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 17:22:23 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[silly restaurant names]]></category>

		<guid isPermaLink="false">http://www.jamison.org/?p=171</guid>
		<description><![CDATA[I was wandering near my hotel in Edinburgh the other day, and being somewhat esurient, was on the lookout for vittles. I chanced across this appallingly bad name for a restaurant. I wasn&#8217;t able to determine if this was a local delicacy. Unfortunately they were closed or I&#8217;d have gotten a better picture.]]></description>
			<content:encoded><![CDATA[<p>I was wandering near my hotel in Edinburgh the other day, and being somewhat esurient, was on the lookout for vittles.  I chanced across this appallingly bad name for a restaurant.  I wasn&#8217;t able to determine if this was a local delicacy.  Unfortunately they were closed or I&#8217;d have gotten a better picture.</p>
<p><a href="http://www.jamison.org/wp-content/uploads/IMG_1210.jpg"><img src="http://www.jamison.org/wp-content/uploads/IMG_1210-640x478.jpg" alt="" title="slug and lettuce" width="480" height="318" class="aligncenter size-medium wp-image-174" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamison.org/2011/09/09/slugs-for-dinner-in-edinburgh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove audio compression from all .mkv videos, including subdirectories</title>
		<link>http://www.jamison.org/2011/08/14/remove-audio-compression-from-all-mkv-videos-including-subdirectories/</link>
		<comments>http://www.jamison.org/2011/08/14/remove-audio-compression-from-all-mkv-videos-including-subdirectories/#comments</comments>
		<pubDate>Sun, 14 Aug 2011 20:45:50 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.jamison.org/?p=166</guid>
		<description><![CDATA[A while back I wrote about audio compression causing a black screen of death on my WD TV HD player with a one-line fix to the problem. I have an improved solution. I wrote a quick BASH script that scans all the videos it finds in the Matroska (.mkv) format in the current directory as [...]]]></description>
			<content:encoded><![CDATA[<p>A while back I <a href="http://www.jamison.org/2011/03/27/fix-the-black-screen-of-death-playing-x264h-264-mkvs-on-wd-tv-hd-player/">wrote</a> about audio compression causing a black screen of death on my WD TV HD player with a one-line fix to the problem.</p>
<p>I have an improved solution.  I wrote a quick BASH script that scans all the videos it finds in the Matroska (.mkv) format in the current directory as well as any subdirectories it finds, removing all compression from .mkvs it finds and saving a new mkv with &#8220;fixed&#8221; appended to the filename.</p>
<p><code>#!/bin/bash<br />
#<br />
# This script will traverse all subdirectories looking for Matroska (.mkv) files<br />
# When an .mkv file is found, it will be checked for compression<br />
# If compression is found, create a new file without compression with "-fixed" added to name<br />
#      (e.g. badmovie.mkv -> badmovie-fixed.mkv)<br />
#<br />
# Run from the root directory that you want to begin scanning from (e.g. /home/foo/Videos or /media/USBdrive)<br />
#<br />
#<br />
# 1/22/2012 v2<br />
# better handling for files with spaces; removes all compression, not just track 1<br />
# remove the need for a command line parameter<br />
#<br />
start=`pwd`/<br />
echo $start<br />
find -type d | while read directory<br />
do<br />
        cd "$start${directory#"./"}"<br />
        for file in *.mkv<br />
                do<br />
                        if mkvinfo "$file" | grep ompress > /dev/null<br />
                                 then<br />
                                        file_length=${#file}<br />
                                        cut_len=$(($file_len - 4))<br />
                                        prefixedfile=${file:0:$cut_len}-fixed.mkv<br />
                                        fixedfile=${prefixedfile// /.}<br />
                                        mkvmerge -o "$fixedfile" --compression -1:none "$file"<br />
                                        if mkvinfo $fixedfile | grep compression > /dev/null<br />
                                                then<br />
                                                   echo "$fixedfile still has issues"<br />
                                                   exit<br />
                                        fi<br />
                                 fi<br />
                done<br />
        cd ..<br />
done<br />
</code></p>
<p>Note, I edited this post on 1/22/12 with the current version of this script which handles filenames with spaces and removes all compression, not just the first track.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamison.org/2011/08/14/remove-audio-compression-from-all-mkv-videos-including-subdirectories/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Completely disabling Akonadi in Kubuntu 11.04</title>
		<link>http://www.jamison.org/2011/05/07/completely-disabling-akonadi-in-kubuntu-11-04/</link>
		<comments>http://www.jamison.org/2011/05/07/completely-disabling-akonadi-in-kubuntu-11-04/#comments</comments>
		<pubDate>Sat, 07 May 2011 20:15:19 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.jamison.org/?p=163</guid>
		<description><![CDATA[Akonadi is a storage service that certain KDE programs use heavily. I only use the KDE windowing environment and I don&#8217;t use any of the applications in KDE, so akonadi was just wasting RAM and potentially CPU. So to disable it, set StartServer=false in .config/akonadi/akonadiserverrc: [QMYSQL] Name=akonadi ...... StartServer=false It might still load if you [...]]]></description>
			<content:encoded><![CDATA[<p>Akonadi is a storage service that certain KDE programs use heavily.  I only use the KDE windowing environment and I don&#8217;t use any of the applications in KDE, so akonadi was just wasting RAM and potentially CPU.</p>
<p>So to disable it, set StartServer=false in .config/akonadi/akonadiserverrc:</p>
<p><code>    [QMYSQL]<br />
    Name=akonadi<br />
    ......<br />
    StartServer=false</code></p>
<p>It might still load if you use KDE-dependent apps, or it might cause your system to blow up.  But that should do the trick.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamison.org/2011/05/07/completely-disabling-akonadi-in-kubuntu-11-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix the black screen of death playing x264/h.264 mkvs on WD TV HD player</title>
		<link>http://www.jamison.org/2011/03/27/fix-the-black-screen-of-death-playing-x264h-264-mkvs-on-wd-tv-hd-player/</link>
		<comments>http://www.jamison.org/2011/03/27/fix-the-black-screen-of-death-playing-x264h-264-mkvs-on-wd-tv-hd-player/#comments</comments>
		<pubDate>Sun, 27 Mar 2011 19:45:33 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.jamison.org/?p=154</guid>
		<description><![CDATA[I have a Western Digital WD TV HD media player that I really like, even though it was quickly orphaned by Western Digital as a product. Maybe someday we&#8217;ll have legislation that requires a corporation to provide a guaranteed time of product support, including software updates and bug fixes. Anyway, once in a while the [...]]]></description>
			<content:encoded><![CDATA[<p>I have a Western Digital WD TV HD media player that I really like, even though it was quickly orphaned by Western Digital as a product.  Maybe someday we&#8217;ll have legislation that requires a corporation to provide a guaranteed time of product support, including software updates and bug fixes.</p>
<p>Anyway, once in a while the WD refuses to play a video in the Matroska &#8220;mkv&#8221; format, particularly those using the H.264 codec encoded with the mkvmerge utility.  When this happens the WD basically shows a black screen and more or less locks up.  Once that happens on the WD you can only eject the HD and reboot.</p>
<p>The fix for this is to remove video compression on the mkv in question, which sounds daunting but really is only a one-line command that takes a couple of minutes to execute and doesn&#8217;t change the quality of the video.  You need the mkvmerge program which is part of the mkvtoolnix package in Ubuntu.  mkvtoolnix is also available for Windows if you&#8217;re stuck there.</p>
<p>Here&#8217;s the command:<br />
<code>mkvmerge -o output.mkv --compression -1:none input.mkv</code></p>
<p>Where input.mkv is your original file and output is the fixed file.<br />
(Edited: I changed the command to remove /all/ compression in an mkv)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamison.org/2011/03/27/fix-the-black-screen-of-death-playing-x264h-264-mkvs-on-wd-tv-hd-player/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>After searching many years</title>
		<link>http://www.jamison.org/2011/03/07/after-searching-many-years/</link>
		<comments>http://www.jamison.org/2011/03/07/after-searching-many-years/#comments</comments>
		<pubDate>Tue, 08 Mar 2011 02:08:06 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[silly signs]]></category>

		<guid isPermaLink="false">http://www.jamison.org/2011/03/07/after-searching-many-years/</guid>
		<description><![CDATA[My quest to find the lost city of snacks is finally at an end.]]></description>
			<content:encoded><![CDATA[<p>My quest to find the lost city of snacks is finally at an end. <br/><br/><a href="http://www.jamison.org/wp-content/uploads/20110308-090737.jpg"><img src="http://www.jamison.org/wp-content/uploads/20110308-090737.jpg" alt="" class="alignnone size-full" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamison.org/2011/03/07/after-searching-many-years/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Batch convert all ape files to mp3 in Ubuntu</title>
		<link>http://www.jamison.org/2011/02/23/batch-convert-all-ape-files-to-mp3-in-ubuntu/</link>
		<comments>http://www.jamison.org/2011/02/23/batch-convert-all-ape-files-to-mp3-in-ubuntu/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 05:01:11 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ape]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.jamison.org/?p=126</guid>
		<description><![CDATA[More reasons to love Linux: for f in *.ape; do ffmpeg -i "$f" "${f%.ape}.mp3"; done]]></description>
			<content:encoded><![CDATA[<p>More reasons to love Linux:<br />
<code>for f in *.ape; do ffmpeg -i "$f" "${f%.ape}.mp3"; done</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamison.org/2011/02/23/batch-convert-all-ape-files-to-mp3-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bad doggie</title>
		<link>http://www.jamison.org/2011/01/22/bad-doggie/</link>
		<comments>http://www.jamison.org/2011/01/22/bad-doggie/#comments</comments>
		<pubDate>Sun, 23 Jan 2011 03:04:17 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[funny sign]]></category>

		<guid isPermaLink="false">http://www.jamison.org/2011/01/22/bad-doggie/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><br/><br/><a href="http://www.jamison.org/wp-content/uploads/20110122-064848.jpg"><img src="http://www.jamison.org/wp-content/uploads/20110122-064848.jpg" alt="" class="alignnone size-full" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamison.org/2011/01/22/bad-doggie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unexpected sight on the road</title>
		<link>http://www.jamison.org/2011/01/22/unexpected-sight-on-the-road/</link>
		<comments>http://www.jamison.org/2011/01/22/unexpected-sight-on-the-road/#comments</comments>
		<pubDate>Sun, 23 Jan 2011 02:45:47 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.jamison.org/?p=136</guid>
		<description><![CDATA[Driving in heavy rain the other day I did a double take as I saw this emerge from the mist.]]></description>
			<content:encoded><![CDATA[<p>Driving in heavy rain the other day I did a double take as I saw this emerge from the mist. <br/><br/><a href="http://www.jamison.org/wp-content/uploads/20110122-065008.jpg"><img src="http://www.jamison.org/wp-content/uploads/20110122-065008.jpg" alt="" class="alignnone size-full" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamison.org/2011/01/22/unexpected-sight-on-the-road/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to make Firefox stop asking if you want to open a .zip file and always save</title>
		<link>http://www.jamison.org/2011/01/06/how-to-make-firefox-stop-asking-if-you-want-to-open-a-zip-file-and-always-save/</link>
		<comments>http://www.jamison.org/2011/01/06/how-to-make-firefox-stop-asking-if-you-want-to-open-a-zip-file-and-always-save/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 07:23:08 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.jamison.org/?p=130</guid>
		<description><![CDATA[This message in Firefox used to pop up every time I clicked on a zip file. You have chosen to open foobarbaz.zip Which is a: BIN file Firefox 3.x, for whatever reason, greyed out the option for me to tell it not to keep asking me if I wanted to unzip the file, and I&#8217;d [...]]]></description>
			<content:encoded><![CDATA[<p>This message in Firefox used to pop up every time I clicked on a zip file.</p>
<p>You have chosen to open<br />
foobarbaz.zip<br />
Which is a: BIN file</p>
<p>Firefox 3.x, for whatever reason, greyed out the option for me to tell it not to keep asking me if I wanted to unzip the file, and I&#8217;d have to click the &#8220;save to file&#8221; option every time.</p>
<p>Tired of trying to figure out how to ungrey the greyed-out button, I looked for another solution.  I found one in /etc/mime.types, which Firefox, among other things, uses to determine what to do with a file.</p>
<p><code>sudo vi /etc/mime.types</code><br />
look for this line:<br />
<code>application/zip                                        zip</code><br />
change it to:<br />
<code>#application/zip                                        zip</code></p>
<p>You don&#8217;t even need to restart Firefox.  Firefox will now just prompt you to save the zip file /only/.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamison.org/2011/01/06/how-to-make-firefox-stop-asking-if-you-want-to-open-a-zip-file-and-always-save/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

