<?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>sarbastic &#187; linux</title>
	<atom:link href="http://sarbastic.kennethbowen.com/category/using-linux/feed" rel="self" type="application/rss+xml" />
	<link>http://sarbastic.kennethbowen.com</link>
	<description>sarbastic. adj. sardonic and bombastic. --sarbastically adv. --sarbastich n.</description>
	<lastBuildDate>Wed, 07 Jul 2010 01:00:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>abcde command line cd ripper</title>
		<link>http://sarbastic.kennethbowen.com/using-linux/abcde-command-line-ripper</link>
		<comments>http://sarbastic.kennethbowen.com/using-linux/abcde-command-line-ripper#comments</comments>
		<pubDate>Sat, 19 Jan 2008 05:14:02 +0000</pubDate>
		<dc:creator>Kenneth Bowen</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://sarbastic.kennethbowen.com/using-linux/abcde-command-line-ripper</guid>
		<description><![CDATA[I&#8217;ve tried using Grip and other GUI CD ripping tools. They are much too complicated and unpleasant to use. I found a great command line tool for ripping CDs: abcde, A Better CD Encoder. You can easily rip to flac, ogg, or mp3 format &#8211; even all at the same time. It queries the CDDB [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve tried using <a href="http://nostatic.org/grip/">Grip</a> and other GUI CD ripping tools. They are much too complicated and unpleasant to use. I found a great command line tool for ripping CDs: <a href="http://www.hispalinux.es/~data/abcde.php">abcde</a>, A Better CD Encoder. You can easily rip to flac, ogg, or mp3 format &#8211; even all at the same time. It queries the CDDB database, and is easily configured from a single &#8211; well commented &#8211; file. It&#8217;s available in most of the Linux distros, or you can install it from source. If you need a full featured, yet easy to use ripper, look no further than <a href="http://www.hispalinux.es/~data/abcde.php">abcde</a>.</p>

<p>Once installed, insert and mount a CD; type <code>abcde -o mp3</code>; <a href="http://www.hispalinux.es/~data/abcde.php">abcde</a> will prompt you to confirm the CDDB settings, and you&#8217;re done.</p>
]]></content:encoded>
			<wfw:commentRss>http://sarbastic.kennethbowen.com/using-linux/abcde-command-line-ripper/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Office on XUbuntu Without GCJ</title>
		<link>http://sarbastic.kennethbowen.com/using-linux/ubuntu-openoffice-sans-gcj</link>
		<comments>http://sarbastic.kennethbowen.com/using-linux/ubuntu-openoffice-sans-gcj#comments</comments>
		<pubDate>Sun, 12 Aug 2007 20:10:38 +0000</pubDate>
		<dc:creator>Kenneth Bowen</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://sarbastic.kennethbowen.com/code/using-linux/ubuntu-openoffice-sans-gcj</guid>
		<description><![CDATA[I wanted to install Open Office on my Xubuntu laptop, but since I&#8217;m already using the Sun Java JRE &#8211; a requirement for Java development, I don&#8217;t want to install the excremental GCJ (GNU Compiler for Java Runtime). Aptitude wants to install gcj-4.1-base gij gij-4.1 libgcj-bc libgcj-common libgcj7-0 libgcj7-awt libgcj7-jar and other sundry gcj packages. [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to install <a href="http://www.openoffice.org/">Open Office</a> on my <a href="http://www.xubuntu.org/">Xubuntu</a> laptop, but since I&#8217;m
already using the Sun Java JRE &#8211; a requirement for Java development, I don&#8217;t
want to install the excremental <a href="http://gcc.gnu.org/java/">GCJ</a> (GNU Compiler for Java
Runtime). Aptitude wants to install gcj-4.1-base gij gij-4.1 libgcj-bc
libgcj-common libgcj7-0 libgcj7-awt libgcj7-jar and other sundry gcj
packages. I prefer to manage my SDKs/JREs outside of <a href="http://en.wikipedia.org/wiki/Advanced_Packaging_Tool">APT</a>.</p>

<p>I&#8217;m also not interested in any of the so-called desktop integration Ubuntu
uses; I use fluxbox and it&#8217;s easy enough to add soffice to the root menu.</p>

<p>The Linux download of OpenOffice.org includes RPMs. Here&#8217;s how to install it
on a <a href="http://debian.org">Debian</a> derived system &#8211; like <a href="http://www.ubuntu.com/">Ubuntu</a>.</p>

<h3>Make sure you have Java installed</h3>

<pre><code>  $ java -version
  java version "1.6.0_01"
  Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
  Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
</code></pre>

<h3>Download OpenOffice.org</h3>

<p>Download OpenOffice.org (currently version 2.2.1) for Linux, without the jre,
from: <a href="http://openoffice.bouncer.osuosl.org/?product=OpenOffice.org&amp;os=linuxintel&amp;lang=en-US&amp;version=2.2.1">OpenOffice w/out JRE</a></p>

<p>Untar the download <em>someplace</em>.</p>

<p>Navigate to the <code>RPMS</code> directory.</p>

<p>Use the <code>alien</code> program to convert the RPMs to deb packages.</p>

<pre><code> sudo alien --scripts --keep-version -d *.rpm

 sudo dpkg -i *.deb
</code></pre>

<p>(If you don&#8217;t have alien installed, <code>sudo aptitude install alien</code>
first)</p>

<p>OpenOffice.org will be installed in <code>/opt/openoffice.org2.2</code></p>

<p>Start OpenOffice.org with <code>/opt/openoffice.org2.2/program/soffice</code></p>

<p><strong>UPDATE</strong>: 8 February 2008</p>

<p>Sun SDK 6 is now available in the Ubuntu repositories. Here&#8217;s how to back out the above, if you&#8217;d like to return to a solution under package management:</p>

<p>Install the Sun Java 6 SDK</p>

<pre><code>   sudo aptitude install sun-java6-jdk
</code></pre>

<p>Get rid of the Open Office install we did above:</p>

<pre><code>  sudo aptitude purge openoffice.org-core
</code></pre>

<p>(Accept aptitude&#8217;s &#8216;solution&#8217;)</p>

<p>Install OpenOffice from the Ubuntu repository:</p>

<pre><code>sudo aptitude install openoffice.org
</code></pre>

<p>Now your OpenOffice install is managed by Ubuntu, and you still didn&#8217;t have to install the grotesque GCJ. Life is good.</p>
]]></content:encoded>
			<wfw:commentRss>http://sarbastic.kennethbowen.com/using-linux/ubuntu-openoffice-sans-gcj/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No Wine Before It&#8217;s Time</title>
		<link>http://sarbastic.kennethbowen.com/using-linux/debian4_release</link>
		<comments>http://sarbastic.kennethbowen.com/using-linux/debian4_release#comments</comments>
		<pubDate>Tue, 10 Apr 2007 04:09:08 +0000</pubDate>
		<dc:creator>Kenneth Bowen</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://sarbastic.kennethbowen.com/code/debian4_release</guid>
		<description><![CDATA[Debian releases are few and far between, irritatingly so. It&#8217;s great news to see that Debian 4.0 &#8211; named &#8216;Etch&#8217; &#8211; was released 8 April 2007. It looks to have plenty of good upgrades, including Xorg, udev, etc. See the release notes for details. For annoying political reasons, Debian doesn&#8217;t include Mplayer. See the Multimedia [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://debian.org" title="Debian GNU/Linux">Debian</a> releases are few and far between, irritatingly so. It&#8217;s great news to see that Debian 4.0 &#8211; named &#8216;Etch&#8217; &#8211; was released 8 April 2007. It looks to have plenty of good upgrades, including <a href="http://www.x.org" title="X.org Foundation">Xorg</a>, <a href="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" title="the Linux device mess">udev</a>, etc. See the <a href="http://www.us.debian.org/releases/stable/releasenotes" title="Etch release notes">release notes</a> for details.</p>

<p>For annoying political reasons, <a href="http://debian.org" title="Debian GNU/Linux">Debian</a> doesn&#8217;t include Mplayer. See the <a href="http://www.debian-multimedia.org/" title="Debian Multmedia Packages">Multimedia Debian Packages</a> for a solution. Kudos to <a href="http://debian.org" title="Debian GNU/Linux">Debian</a> for this milestone.</p>

<p>If your searching for a rock solid, well thought out, <a href="http://www.us.debian.org/intro/free" title="free as in freedom">free</a> operating system. <a href="http://debian.org" title="Debian GNU/Linux">Debian</a> is a great choice.</p>
]]></content:encoded>
			<wfw:commentRss>http://sarbastic.kennethbowen.com/using-linux/debian4_release/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing RMagic on Debian/Ubuntu Linux</title>
		<link>http://sarbastic.kennethbowen.com/code/rmagic-debian</link>
		<comments>http://sarbastic.kennethbowen.com/code/rmagic-debian#comments</comments>
		<pubDate>Mon, 02 Oct 2006 21:52:11 +0000</pubDate>
		<dc:creator>Kenneth Bowen</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://sarbastic.kennethbowen.com/code/rmagic-debian</guid>
		<description><![CDATA[I&#8217;m working on an image manipulation program that requires the Ruby ImageMagick bindings, RMagick. I was unable to install RMagick from either the gem, or the Debian package. Building RMagick from source didn&#8217;t work either. The following worked for both a Debian Sarge box, and an Xubuntu laptop. I hope it saves someone some grief. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working on an image manipulation program that requires the <a href="http://www.ruby-lang.org/en/">Ruby</a>
<a href="http://www.imagemagick.org/">ImageMagick</a> bindings, <a href="http://rmagick.rubyforge.org/">RMagick</a>. I was unable to install <a href="http://rmagick.rubyforge.org/">RMagick</a> from
either the gem, or the <a href="http://www.us.debian.org/">Debian</a> package. Building <a href="http://rmagick.rubyforge.org/">RMagick</a> from source
didn&#8217;t work either.</p>

<p>The following worked for both a <a href="http://www.us.debian.org/releases/stable/">Debian Sarge</a> box, and an <a href="http://www.xubuntu.org/">Xubuntu</a>
laptop. I hope it saves someone some grief.</p>

<pre><code>$ dpkg -l | grep magick
  ii  imagemagick    6.0.6.2-2.7    Image manipulation programs
  ii  libmagick6     6.0.6.2-2.7    Image manipulation library
  ii  perlmagick     6.0.6.2-2.4    A perl interface to the libMagick
  ii  rubymagick     0.1.3-13       Ruby interface for ImageMagick
</code></pre>

<p>Get rid of the rubymagick package</p>

<pre><code>$ apt-get remove --purge rubymagick
</code></pre>

<p>Install the dev versions of libmagick6 and Ruby 1.8 <em><strong>edit</strong>: for Xubuntu, install libmagick9</em></p>

<pre><code>$ apt-get install libmagick6-dev ruby1.8-dev
</code></pre>

<p>Install rmagick from the gem</p>

<pre><code>$ gem install rmagick
</code></pre>

<p>You can test the install by running a simple app like this, which will print the EXIF
data from an image:</p>

<pre><code>require 'rubygems'
require 'RMagick'

require 'pp'

img = Magick::Image.read('test.jpg').first
exif_data = img.get_exif_by_entry()

pp exif_data
</code></pre>

<h3>Update:</h3>

<p>As of Xubuntu 7.04 (Feisty Fawn), you need libmagick9-dev.</p>
]]></content:encoded>
			<wfw:commentRss>http://sarbastic.kennethbowen.com/code/rmagic-debian/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>GTK Key Bindings</title>
		<link>http://sarbastic.kennethbowen.com/using-linux/gtk-key-bindings</link>
		<comments>http://sarbastic.kennethbowen.com/using-linux/gtk-key-bindings#comments</comments>
		<pubDate>Wed, 03 May 2006 03:56:41 +0000</pubDate>
		<dc:creator>Kenneth Bowen</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://sarbastic.kennethbowen.com/gtk-key-bindings</guid>
		<description><![CDATA[When I upgraded my Linux boxes to Firefox 1.0 (I&#8217;m now at 1.5), I finally made the jump to using the GTK 2.0 libraries. The only drag is that the default key bindings are more Windoze like. Ctrl-a selects all, rather than moving to the beginning of the line, and other annoyances to the enlightened. [...]]]></description>
			<content:encoded><![CDATA[<p>When I upgraded my Linux boxes to Firefox 1.0 (I&#8217;m now at 1.5), I finally made the jump to
using the GTK 2.0 libraries. The only drag is that the default key bindings are
more Windoze like. Ctrl-a selects all, rather than moving to the beginning of
the line, and other annoyances to the enlightened.</p>

<p>To fix this, create a <code>~/.gtkrc-2.0</code>. Add the line:</p>

<pre><code>gtk-key-theme-name = "Emacs"
</code></pre>

<p>Restart any applications using GTK. You do <strong>not</strong> have to restart X.</p>

<p>The <a href="http://gtk.org/tutorial/">GTK Tutorial</a> has lots of info on all the sundry rc files.</p>
]]></content:encoded>
			<wfw:commentRss>http://sarbastic.kennethbowen.com/using-linux/gtk-key-bindings/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
