<?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>yaleman.org &#187; Linux</title>
	<atom:link href="http://www.yaleman.org/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yaleman.org</link>
	<description>a blog by James Hodgkinson</description>
	<lastBuildDate>Thu, 19 Jan 2012 11:10:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Keyboard issues on Macbook (and Pro) with Ubuntu and VMWare Fusion</title>
		<link>http://www.yaleman.org/2012/01/12/keyboard-issues-on-macbook-and-pro-with-ubuntu-and-vmware-fusion/</link>
		<comments>http://www.yaleman.org/2012/01/12/keyboard-issues-on-macbook-and-pro-with-ubuntu-and-vmware-fusion/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 07:59:04 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[vmware fusion]]></category>

		<guid isPermaLink="false">http://www.yaleman.org/?p=618</guid>
		<description><![CDATA[So, it seems if you&#8217;re running a recent Ubuntu install (l/m/n/o initials) and you use Easy Install on VMWare Fusion you&#8217;ll have issues with keymaps. Up and down arrow, and a few other keys might play up too. There&#8217;s a simple trick, run this from the console as an admin (sudo if you please): dpkg-reconfigure [...]]]></description>
			<content:encoded><![CDATA[<p>So, it seems if you&#8217;re running a recent Ubuntu install (l/m/n/o initials) and you use Easy Install on VMWare Fusion you&#8217;ll have issues with keymaps. Up and down arrow, and a few other keys might play up too.</p>
<p>There&#8217;s a simple trick, run this from the console as an admin (sudo if you please):</p>
<blockquote><p>dpkg-reconfigure console-setup</p></blockquote>
<p>When it asks what kind of keyboard you have, hit &#8220;m&#8221; to select Macbook then hit enter. Keep hitting enter (or letter keys to select options, multiple taps on the same letter will scroll) and you&#8217;ll get your way through.</p>
<p>Keys should work after that <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2012/01/12/keyboard-issues-on-macbook-and-pro-with-ubuntu-and-vmware-fusion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find the last five IP&#8217;s I logged in as</title>
		<link>http://www.yaleman.org/2008/11/28/find-the-last-five-ips-i-logged-in-as/</link>
		<comments>http://www.yaleman.org/2008/11/28/find-the-last-five-ips-i-logged-in-as/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 12:32:52 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/?p=369</guid>
		<description><![CDATA[So, to find the last five IP&#8217;s a user called &#8220;user&#8221; has logged in as, do this from .. well, a commandline. last -i &#124; grep user &#124; head -n 5 Last shows the last (lots) of users that logged in, the -i shows IP&#8217;s, then you use grep to filter by the word &#8220;user&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>So, to find the last five IP&#8217;s a user called &#8220;user&#8221; has logged in as, do this from .. well, a commandline.</p>
<blockquote><p>last -i | grep user | head -n 5</p></blockquote>
<p>Last shows the last (lots) of users that logged in, the -i shows IP&#8217;s, then you use grep to filter by the word &#8220;user&#8221; and use head show the top five. Yay, all done.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2008/11/28/find-the-last-five-ips-i-logged-in-as/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress security tip</title>
		<link>http://www.yaleman.org/2008/08/01/wordpress-security-tip/</link>
		<comments>http://www.yaleman.org/2008/08/01/wordpress-security-tip/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 11:53:52 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/?p=311</guid>
		<description><![CDATA[You can prevent people from looking inside your directories by creating a file in there called “.htaccess” and adding the following line: Options -Indexes This is a good way of doing this, since it then tells the web browser “You’re not allowed in here” rather than having to create blank files to hide your directories]]></description>
			<content:encoded><![CDATA[<p>You can prevent people from looking inside your directories by creating a file in there called “.htaccess” and adding the following line:</p>
<p style="padding-left: 30px;">Options -Indexes</p>
<p>This is a good way of doing this, since it then tells the web browser “You’re not allowed in here” rather than having to create blank files to hide your directories <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2008/08/01/wordpress-security-tip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Playing DVD&#8217;s on Ubuntu Feisty</title>
		<link>http://www.yaleman.org/2008/01/05/playing-dvds-on-ubuntu-feisty/</link>
		<comments>http://www.yaleman.org/2008/01/05/playing-dvds-on-ubuntu-feisty/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 14:53:56 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Adventures]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2008/01/05/playing-dvds-on-ubuntu-feisty/</guid>
		<description><![CDATA[I&#8217;ve never really gotten DVD&#8217;s to work reliably in Linux. Ubuntu&#8216;s a great distribution and it&#8217;s got a lot of things working beautifully straight off, but as usual I couldn&#8217;t get DVD&#8217;s to play with Totem. I found Quickstart on the Ubuntu Forums and a lot of people had said it worked fine, as usual [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve never really gotten DVD&#8217;s to work reliably in Linux. <a href="http://ubuntu.com" target="_blank">Ubuntu</a>&#8216;s a great distribution and it&#8217;s got a lot of things working beautifully straight off, but as usual I couldn&#8217;t get DVD&#8217;s to play with <a href="http://www.gnome.org/projects/totem/" target="_blank">Totem</a>. I found <a href="http://ubuntuforums.org/showthread.php?t=613462" target="_blank">Quickstart</a> on the <a href="http://ubuntuforums.org" target="_blank">Ubuntu Forums</a> and a lot of people had said it worked fine, as usual with most of the fixes. It didn&#8217;t work for me (installed a few other cool things for me though) so I played around a bit, determined to watch <a href="http://www.imdb.com/title/tt0105435/" target="_blank">Sneakers</a> now that the sound was working <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I figured that I&#8217;d been playing around too much so uninstalling everything to do with media playing then reinstalling it might be the go, and I was right <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you&#8217;re having problems and nothing really works, try this&#8230;Â  either su to root or use sudo in front of this command to run it as root:</p>
<blockquote><p>Â apt-get remove totem libdvdcss2 libdvdread3</p></blockquote>
<p>Or just go into <a href="https://help.ubuntu.com/community/SynapticHowto" target="_blank" class="broken_link">Synaptic</a> and remove Totem, libdvdcss and libdvdread. Then go into Quickstart again and install the DVD software. You should be good to go <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you do have any problems, leave a comment and I&#8217;ll see what I can work out that I&#8217;ve left out &#8211; I removed a few things but I think those three packages are the main problem causing ones.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2008/01/05/playing-dvds-on-ubuntu-feisty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu feisty volume too quiet?</title>
		<link>http://www.yaleman.org/2008/01/04/ubuntu-feisty-volume-too-quiet/</link>
		<comments>http://www.yaleman.org/2008/01/04/ubuntu-feisty-volume-too-quiet/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 13:58:53 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2008/01/04/ubuntu-feisty-volume-too-quiet/</guid>
		<description><![CDATA[Just in case someone else comes looking for the solution to this problem like I did tonight I found this link by googling a little. Here&#8217;s the solution if you don&#8217;t like clicking&#8230; Try adding this to your /etc/modprobe.d/options (or alsa-base) file: options snd-hda-intel model=XXX Replace XXX with one of the quoted values in the [...]]]></description>
			<content:encoded><![CDATA[<p>Just in case someone else comes looking for the solution to this problem like I did tonight <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I found <a href="https://answers.launchpad.net/ubuntu/+source/gnome-media/+question/7175" target="_blank" class="broken_link">this link</a> by googling a little.</p>
<p>Here&#8217;s the solution if you don&#8217;t like clicking&#8230;</p>
<blockquote><p>Try adding this to your /etc/modprobe.d/options (or alsa-base) file:</p>
<p>options snd-hda-intel model=XXX</p>
<p>Replace XXX with one of the quoted values in the list below (remove the quotes)</p>
<p>&#8220;3stack&#8221; &#8211; 3-jack<br />
&#8220;3stack-dig&#8221; &#8211; 3-jack with SPDIF I/O<br />
&#8220;6stack-dig&#8221; &#8211; 6-jack with SPDIF I/O<br />
&#8220;auto&#8221; &#8211; auto-config reading BIOS (default)</p></blockquote>
<p>I used the &#8220;3stack&#8221; option for my Toshiba Satellite laptop with Intel hda audio and it worked perfectly. <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2008/01/04/ubuntu-feisty-volume-too-quiet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sound with Pidgin on the EEE PC</title>
		<link>http://www.yaleman.org/2007/12/16/sound-with-pidgin-on-the-eee-pc/</link>
		<comments>http://www.yaleman.org/2007/12/16/sound-with-pidgin-on-the-eee-pc/#comments</comments>
		<pubDate>Sun, 16 Dec 2007 12:05:08 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[EEE PC]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2007/12/16/sound-with-pidgin-on-the-eee-pc/</guid>
		<description><![CDATA[I was trying to get sound working on an EEE PC in Pidgin, and had to do a bit of googling before I found it&#8230; here&#8217;s the solution (taken from the EEEuser forums) Press Ctrl+P to go to Preferences Then select Sounds tab In the sound method section, select &#8220;Command&#8221; Type &#8220;aplay -q %s&#8221; (without [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to get sound working on an EEE PC in Pidgin, and had to do a bit of googling before I found it&#8230; here&#8217;s the solution (<a href="http://forum.eeeuser.com/viewtopic.php?pid=46371#p46371" target="_blank">taken from the EEEuser forums</a>)</p>
<blockquote>
<ol>
<li>Press Ctrl+P to go to Preferences</li>
<li>Then select Sounds tab</li>
<li>In the sound method section, select &#8220;Command&#8221;</li>
<li>Type &#8220;aplay -q %s&#8221; (without the quotes) as the command.</li>
</ol>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2007/12/16/sound-with-pidgin-on-the-eee-pc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Why I shouldn&#8217;t trust salespeople.</title>
		<link>http://www.yaleman.org/2007/08/28/why-i-shouldnt-trust-salespeople/</link>
		<comments>http://www.yaleman.org/2007/08/28/why-i-shouldnt-trust-salespeople/#comments</comments>
		<pubDate>Tue, 28 Aug 2007 12:26:21 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2007/08/28/why-i-shouldnt-trust-salespeople/</guid>
		<description><![CDATA[I really should know better than to trust sales people, I keep getting messed around, but I go back for more. This was a conversation I had with one of the reps at The Planet tonight. Please wait while we find an agent to assist you&#8230; You have been connected to Brian J. Brian J: [...]]]></description>
			<content:encoded><![CDATA[<p>I really should know better than to trust sales people, I keep getting messed around, but I go back for more. <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  This was a conversation I had with one of the reps at <a href="http://www.theplanet.com" target="_blank" title="The Planet - Web Hosting">The Planet</a> tonight.</p>
<blockquote><p><em>Please wait while we find an agent to assist you&#8230; </em><br />
<em>You have been connected to Brian J. </em></p>
<ul>
<li>Brian J: Hello, how may I help you?</li>
<li><strong>Customer: Hi, I was just wondering what the different backup solutions offered with the dedicated servers actually were</strong></li>
<li><strong> Customer: you list network backup or discsync, what&#8217;s the difference? </strong></li>
<li>Brian J: Disksync is automated and much more user friendly.</li>
<li>Brian J: You can set it up to automatically run as frequent as you prefer.</li>
<li>Brian J: NAS is space in a seperate storage array you would have to copy and send the data to when you would like to save.</li>
<li><strong>Customer: so the network backup is nas space allocated to us, disksync uses an automated agent? </strong></li>
<li>Brian J: Correct</li>
<li><strong>Customer: and what does disksync require on the server, a username/password setup on ftp or ssh?</strong></li>
<li>Brian J: Neither its a GUI agent installed on the user console</li>
<li><strong>Customer: I&#8217;m a little lost </strong></li>
<li>Brian J: Using a simple GUI interface, you can manage all aspects of your backup and recovery including data retention periods, backup schedules, and data restoration.</li>
<li><strong> Customer: yes, but how does it access the server assuming I&#8217;m going to change firewall rules and services running on the server I intend to setup? </strong></li>
<li><strong>Customer: (I&#8217;m looking at a bare bsd/centos box) </strong></li>
<li>Brian J: The firewall rules would have no effect on Discsync</li>
<li><strong>Customer: how does it access the server? </strong></li>
<li><strong>Customer: assuming it doesn&#8217;t traverse the network (which you seem to be implying by saying the firewall rules will not effect it) </strong></li>
<li>Brian J: Through the agent console installed on the box</li>
<li><strong>Customer: never mind, found the information</strong></li>
<li><strong>Customer: you&#8217;re incorrect by the way &#8211; firewall rules would actually cause problems if they weren&#8217;t correct </strong></li>
<li><strong>Customer: refer to your company&#8217;s faq on http://forums.theplanet.com/index.php?showtopic=83882  </strong></li>
<li><strong>Customer: goodbye. </strong></li>
</ul>
<p><em>Your session has ended. You may now close this window.</em></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2007/08/28/why-i-shouldnt-trust-salespeople/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I bought a laptop!</title>
		<link>http://www.yaleman.org/2006/07/29/i-bought-a-laptop/</link>
		<comments>http://www.yaleman.org/2006/07/29/i-bought-a-laptop/#comments</comments>
		<pubDate>Sat, 29 Jul 2006 07:43:21 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2006/07/29/i-bought-a-laptop/</guid>
		<description><![CDATA[Finally, I bought myself a laptop. For a very long time I thought I&#8217;d buy a macbook, having some of the best features and build quality out there, but while Mum and Dad were looking for a rice cooker today they toddled over to the electronics section of Harvey Norman and got talking to the [...]]]></description>
			<content:encoded><![CDATA[<p>Finally, I bought myself a laptop. For a very long time I thought I&#8217;d buy a macbook, having some of the best features and build quality out there, but while Mum and Dad were looking for a rice cooker today they toddled over to the electronics section of Harvey Norman and got talking to the computer guy there. Toshiba have just released a new version of their A100 series laptops, with new pricing and so forth.</p>
<p>I was at home, and Dad called me for my opinion on one (he was looking for a new one as well) and I rendered it, saying that it was a damn good buy. I ended up going and having a look, so we bought two.</p>
<p>It&#8217;s an Intel Core Duo 2.0Ghz, with a 120Gb SATA HDD, 1gb Ram, Nvidia 7300 Go graphics, 15&#8243; widescreen (1280&#215;800) and all the other usual things (including bluetooth) So far I&#8217;ve played <a href="http://www.eve-online.com">EVE Online</a> with it, and <a href="http://www.winamp.com">done</a> <a href="http://www.thunderbird.com">a</a> <a href="http://www.imdb.com/title/tt0137523/">bunch</a> <a href="http://www.getfirefox.com">of</a> <a href="http://www.rarlabs.com">other</a> things and it seems to be a quite capable machine, especially since it was only $2500 including a 3 year warranty <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The next test is to install linux on it &#8211; I&#8217;m not sure which distro I&#8217;m going to use &#8211; it&#8217;ll either be gentoo or ubuntu. I&#8217;ve been using ubuntu on my desktop for a while, and it &#8220;just works&#8221; &#8230; except for sound. Gentoo might get put on in that case.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2006/07/29/i-bought-a-laptop/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>OLPC</title>
		<link>http://www.yaleman.org/2006/06/13/olpc/</link>
		<comments>http://www.yaleman.org/2006/06/13/olpc/#comments</comments>
		<pubDate>Mon, 12 Jun 2006 21:51:12 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2006/06/13/olpc/</guid>
		<description><![CDATA[The One Laptop Per Child project is something that I think is a seriously cool idea. The idea is to come up with a sub-$100US laptop for use by poverty stricken countries as educational tools. Local-mesh wireless setups, low power processor, flash memory so there&#8217;s no moving parts, some of them will be designed to [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href='http://www.laptop.org'>One Laptop Per Child project</a> is something that I think is a seriously cool idea. The idea is to come up with a sub-$100US laptop for use by poverty stricken countries as educational tools. <a href='http://wiki.laptop.org/index.php/Hardware_specification'>Local-mesh wireless setups</a>, <a href='http://www.amd.com/us-en/ConnectivitySolutions/ProductInformation/0,,50_2330_9863_9864,00.html'>low power processor</a>, flash memory so there&#8217;s no moving parts, some of them will be designed to be crank-powered so they don&#8217;t need local power infrastructure &#8211; hell, I wouldn&#8217;t mind paying a semi-normal retail price for one or two for my own use if it&#8217;s going to get me one of them and help the education of some kids <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  They&#8217;re being <a href='http://wiki.laptop.org/index.php/Software'>based on a free operating system</a> as well &#8211; <a href="http://fedoraproject.org/">Fedora Core 5</a> is the current development environment, which is seriously cool!</p>
<p>Here&#8217;s <a href='http://www.flickr.com/photos/pete/sets/72057594143224765/'>some photos of the laptop on its release</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2006/06/13/olpc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nvidia Dual monitors on Ubuntu Dapper</title>
		<link>http://www.yaleman.org/2006/06/11/nvidia-dual-monitors-on-ubuntu-dapper/</link>
		<comments>http://www.yaleman.org/2006/06/11/nvidia-dual-monitors-on-ubuntu-dapper/#comments</comments>
		<pubDate>Sun, 11 Jun 2006 07:03:41 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/?p=420</guid>
		<description><![CDATA[This was a seperate page on the site, now it&#8217;s just a blog post. Here it is:   Ok, so there&#8217;s a bit of a dearth of real information on real topics on the internet, and I try to fix that where I can, here&#8217;s how to get (at the moment anyway) dual monitors working [...]]]></description>
			<content:encoded><![CDATA[<div>
<p><em>This was a seperate page on the site, now it&#8217;s just a blog post. Here it is:</em></p>
<p> </p>
<p>Ok, so there&#8217;s a bit of a dearth of real information on real topics on the internet, and I try to fix that where I can, here&#8217;s how to get (at the moment anyway) dual monitors working in Ubuntu Dapper on an Nvidia video card.</p>
<p>Getting access to the packages<br />
Ubuntu plays nice as far as non-open-source programs and so forth goes, so you&#8217;re going to have to <a href="http://ubuntuguide.org/wiki/Dapper#How_to_apt-get_the_easy_way_.28Synaptic.29">activate the Multiverse and Universe repositories in Synaptic</a>.</p>
<p>Becoming god (or escalating your user to root for a while)<br />
I&#8217;m a console weenie, and that&#8217;s how to get this working, so to save messing around do this:</p>
<blockquote><p>sudo passwd</p></blockquote>
<p>Then enter your password, then follow the prompts to change the root password so you can actually su to root and do things easily. Yes, it&#8217;ll let you actually log in as root, yes this makes your PC less secure if you&#8217;re running without a firewall and an easily guessed password, no, I don&#8217;t care about you if you can&#8217;t secure your network. Change to the root login:</p>
<blockquote><p>su</p></blockquote>
<p>Put in your password and now you&#8217;re effectively logged in as root. Don&#8217;t do stupid things like deleting all your files &#8211; if you do, that&#8217;s your own fault.</p>
<p>Install the nvidia-glx package and its dependencies &#8211; here&#8217;s the commands via the console:</p>
<blockquote><p>apt-get update<br />
apt-get install nvidia-glx</p></blockquote>
<p>The first command updates your apt package list, and the second one installs the files. Read what&#8217;s on the screen, make sure it&#8217;s going to install things and then say yes when it asks you to.</p>
<p>Setting up xorg.conf<br />
First, make a backup &#8211; you want to be able to get back to where you were before you broke something if you did.</p>
<blockquote><p>cp /etc/X11/xorg.conf /etc/X11/xorg.conf.mybackup</p></blockquote>
<p>This&#8217;ll (if you didn&#8217;t guess) make a backup to /etc/X11/xorg.conf.mybackup.</p>
<p>In linux <a href="http://www.ati.com/">ATI</a> has a driver that works, kinda. <a href="http://www.nvidia.com/">Nvidia</a>&#8216;s got a great driver, but a sucky config program, so this is going to take a little bit of messing around. What we&#8217;re going to have to do is trick it a little. This might be the hard way to do it, but it&#8217;s how I got it working, so meh. Do this:</p>
<blockquote><p>rm /etc/X11/xorg.conf<br />
nvidia-xconfig &#8211;twinview</p></blockquote>
<p>That&#8217;ll delete the original file, then you&#8217;re running the nvidia config program and telling it to setup your xorg.conf file with twinview enabled. It should also set it up right to use the proprietry nvidia module instead of open source one.</p>
<p>After that, you&#8217;ll have to setup multiple screens &#8211; this was shamelessly stolen from <a href="http://download.nvidia.com/XFree86/Linux-x86/1.0-8762/README/appendix-p.html">Nvidia&#8217;s Howto on setting up multiple screens</a> which is not exactly what we want to do.</p>
<p>Open /etc/X11/xorg.conf for editing &#8211; I use VIM, but you can use gedit by going (from your logged-in-as-root console):</p>
<blockquote><p>gedit /etc/X11/xorg.conf</p></blockquote>
<p>Make sure to edit this line in the &#8220;Module&#8221; section to disable the glx module loading, because the nvidia driver seems to have it built in or something:</p>
<p>Original:</p>
<blockquote><p>Load &#8220;glx&#8221;</p></blockquote>
<p>Edited:</p>
<blockquote><p># Load &#8220;glx&#8221;</p></blockquote>
<p>Delete the section that starts with Section &#8220;Device&#8221; and then create two new Device sections, each listing the BusID of the graphics card to be shared and listing the driver as &#8220;nvidia&#8221;, and assign each a separate screen:</p>
<blockquote><p>Section &#8220;Device&#8221;<br />
Identifier &#8220;nvidia0&#8243;<br />
Driver &#8220;nvidia&#8221;<br />
BusID &#8220;PCI:5:0:0&#8243;<br />
Screen 0<br />
EndSection</p>
<p>Section &#8220;Device&#8221;<br />
Identifier &#8220;nvidia1&#8243;<br />
Driver &#8220;nvidia&#8221;<br />
BusId &#8220;PCI:5:0:0&#8243;<br />
Screen 1<br />
EndSection</p></blockquote>
<p>To find the right BusID, you&#8217;ll need to run the command:</p>
<blockquote><p>lspci</p></blockquote>
<p>Look for something with Nvidia VGA in it, and on the left will be something like &#8220;00:00:05&#8243; which would mean you&#8217;d use the same as above.</p>
<p>Then, create two Screen sections, each using one of the Device sections:</p>
<blockquote><p>Section &#8220;Screen&#8221;<br />
Identifier &#8220;Screen0&#8243;<br />
Device &#8220;nvidia0&#8243;<br />
Monitor &#8220;Monitor0&#8243;<br />
DefaultDepth 24<br />
Subsection &#8220;Display&#8221;<br />
Depth 24<br />
Modes &#8220;1024&#215;768&#8243;<br />
EndSubsection<br />
EndSection</p>
<p>Section &#8220;Screen&#8221;<br />
Identifier &#8220;Screen1&#8243;<br />
Device &#8220;nvidia1&#8243;<br />
Monitor &#8220;Monitor1&#8243;<br />
DefaultDepth 24<br />
Subsection &#8220;Display&#8221;<br />
Depth 24<br />
Modes &#8220;1024&#215;768&#8243;<br />
EndSubsection<br />
EndSection</p></blockquote>
<p>This&#8217;ll setup a pair of monitors running 1024&#215;768 at 24bit colour depth. If you want different resolutions or depths, just change it &#8211; remember that it won&#8217;t work too well if you&#8217;re running two different resolutions &#8211; I don&#8217;t know if it&#8217;ll work at all.</p>
<p>Since you&#8217;re running a second monitor you&#8217;ll need to add another monitor definition to the file, so add this somewhere:</p>
<blockquote><p>Section &#8220;Monitor&#8221;<br />
HorizSync 60-110<br />
Identifier &#8220;Monitor1&#8243;<br />
Option &#8220;DPMS&#8221;<br />
VendorName &#8220;Monitor2&#8243;<br />
VertRefresh 65.0-85.0<br />
EndSection</p></blockquote>
<p>That&#8217;s the right setup for an average 17&#8243; CRT that&#8217;ll do 1024&#215;768@85hz. I couldn&#8217;t find a page that&#8217;ll show you the right way to do any other setup, but it&#8217;s pretty easy to work out.</p>
<p>Next, edit the ServerLayout section to use and position both Screen sections. Just add these lines (you may need to change &#8220;leftOf&#8221; to &#8220;rightOf&#8221; or something like that depending on how you have your monitors setup &#8211; or just swap the cables over <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> :</p>
<blockquote><p>Screen 0 &#8220;Screen0&#8243;<br />
Screen 1 &#8220;Screen1&#8243; leftOf &#8220;Screen0&#8243;</p></blockquote>
<p>Run this again:</p>
<blockquote><p>nvidia-xconfig &#8211;twinview</p></blockquote>
<p>I don&#8217;t know why, but it fixed it for me. Restarting your pc (type &#8220;reboot&#8221; at the console for the easy way) should get you to a graphical desktop on Ubuntu spanned across two screens, with the ability to run 3D applications (they&#8217;ll probably span to 2048&#215;768, but that&#8217;s half the fun) and maximise normal applications to a single screen only &#8211; something that xinerama and plan twinview setups seem to break.</p>
<p>I&#8217;m pretty sure that should all work for you, I&#8217;ll test it on a spare machine in the next little while &#8211; suggestions/corrections? <a href="mailto:yaleman@ricetek.net%20nospam">Email me</a>.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2006/06/11/nvidia-dual-monitors-on-ubuntu-dapper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New PC bits, woes, wonder!</title>
		<link>http://www.yaleman.org/2006/06/11/new-pc-bits-woes-wonder/</link>
		<comments>http://www.yaleman.org/2006/06/11/new-pc-bits-woes-wonder/#comments</comments>
		<pubDate>Sat, 10 Jun 2006 16:47:16 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Adventures]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2006/06/11/new-pc-bits-woes-wonder/</guid>
		<description><![CDATA[I&#8217;m really an AMD fan at heart &#8211; who wouldn&#8217;t be &#8211; they are cheap, fast and these days they are stable as well. Intel&#8216;s been behind in most desktop chip related matters since they released the Pentium 4, with its long pipeline and surface-of-the-sun temperatures. I&#8217;ve been using a P4 based system as my [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m really an <a href='http://www.amd.com'>AMD</a> fan at heart &#8211; who wouldn&#8217;t be &#8211; they are cheap, fast and these days they are stable as well. <a href='http://www.intel.com'>Intel</a>&#8216;s been behind in most desktop chip related matters since they released the Pentium 4, with its long pipeline and surface-of-the-sun temperatures. </p>
<p>I&#8217;ve been using a P4 based system as my <a href='http://www.gentoo.org'>linux desktop</a> because in 2004 when I set it up, the support for <a href='http://www.nvidia.com'>NForce2 chipset</a> related gubbins wasn&#8217;t that good, and there wasn&#8217;t a high performance/quality motherboard with anything else for AMD processors. It was an <a href='http://au.asus.com/products.aspx?l1=3&#038;l2=12&#038;l3=31&#038;model=178&#038;modelmenu=1'>ASUS P4P800-E Deluxe</a> WiFi Edition, with a couple of SATA controllers, onboard raid, fast chip and four memory slots &#8211; a great board all round. The 2.8Ghz &#8220;C&#8221; chip that was in it was a good speed for the money, and it&#8217;d worked well as my desktop workhorse since I bought it, but lately I&#8217;d been feeling the need for speed.<br />
<span id="more-210"></span><br />
Bob is one of those crazy overclocking types that I used to be before I broke too many things and got bored with an unstable computer, and he&#8217;d recently finished upgrading his PC on the cheap. It only cost him about $300, and that included a Sempron 2800+, new motherboard and a nice shiny X1600 Pro &#8211; damn good for the money.</p>
<p>I wanted to upgrade, seeing his machine be so fast and hearing that Nvidia video cards actually supported 3D while running dual monitors on linux (something ATI has yet to get working). MSY were still selling the Foxconn NF4K8AB-RS for $45, the same board that Bob had bought a few weeks ago and found to be pretty good for the money. As far as cheap video cards for PCI-E go, the 6200TC series seemed to be the way to go, and I bought the <a href="http://www.msi.com.tw/program/products/vga/vga/pro_vga_detail.php?UID=715" class="broken_link">MSI NX6200TC-TD256ELF</a> for $55 (Nvidia 6200 Turbo Cache Low Profile etc). Bob wanted a Sempron 3400+ and I didn&#8217;t need that much more speed, so I bought his Sempron 2800, knowing that he&#8217;d tested it to do at least 2.4Ghz (1.6Ghz stock speed) if I wanted to overclock it.</p>
<p>It was an easy install as usual for anything computer-related with me, and was nice that I didn&#8217;t even have to shift the motherboard standoffs. I re-used the Zalman CNPS7000B-Cu that I had from my P4 (yay for multi-fit coolers) and I was away. Well, to start with.</p>
<p>The Foxconn&#8217;s a cheap board, we&#8217;ve established this. Cheap boards with three ram slots tend to have the third one as a joke, and this was no exception. So far I haven&#8217;t been able to get it to boot with three RAM sticks in it &#8211; which sucks &#8211; having another half gigabyte of ram is always nice with what I do. So, with a BIOS reset and a gig of ram, I was away.</p>
<p>Next hurdle, video drivers. I hadn&#8217;t bothered to change the config in xorg.conf on my <a href='http://www.ubuntu.org'>Ubuntu</a> <a href='http://www.ubuntu.com/news/606released'>Dapper</a> install, so of course that broke, going from an <a href='http://www.ati.com'>ATI</a> video card to an <a href='http://www.nvidia.com'>Nvidia</a> will do that. A bit of research and messing around later I&#8217;d found how to tell dapper to let me nuke the ATI drivers and get the NVidia ones installed (there&#8217;s some weirdness in how it backs up some files as part of the ATI driver package being installed, not letting them be restored/removed when you got to remove them.)</p>
<p>Eventually I got back into graphical, with one monitor working, which was weird &#8211; every other dual-output graphics card I&#8217;d ever seen and used would automatically just clone the picture to the second one when you didn&#8217;t have monitor spanning setup. Two hours of swearing and searching the net later, I found a random post on one of those &#8220;user review&#8221; sites with someone complaining about some 6200 cards not supporting dual-monitor setups. I&#8217;d specifically asked in the store about dual monitors being supported by the card, so technically I was covered by the Fair Trading act if they gave me any problems, but it was quite easy to go and buy a more expensive card (not surprising) and I ended up with the Forsa 6600 256mb for the princely sum of $112. Huzzah.</p>
<p>A bit more messing around and I&#8217;d gotten dual monitors working. Then a bit more swearing and I actually got dual monitors working PROPERLY. Hooray for shitty documentation on the internet. My next post will be about getting dual monitors working, since I couldn&#8217;t find a clear howto that worked how I wanted it to (two monitors, 3d, the ability to shift windows between monitors and be able to hit maximise and not take up both screens)</p>
<p>Once that was all working we overclocked it a little, and now it&#8217;s sitting stable (so far) on 2.0ghz at just slightly above stock voltage. With the Zalman cooler on it it&#8217;s running at a low temperature and it&#8217;s basically silent. All for a total cost of under $250, most of which I should get back by selling the P4P800 and the 2.8C Pentium 4 on <a href='http://www.ebay.com.au'>eBay</a>! <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2006/06/11/new-pc-bits-woes-wonder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting XMMS working with MP3&#8242;s on SUSE 10.1</title>
		<link>http://www.yaleman.org/2006/06/11/getting-xmms-working-with-mp3s-on-suse-101/</link>
		<comments>http://www.yaleman.org/2006/06/11/getting-xmms-working-with-mp3s-on-suse-101/#comments</comments>
		<pubDate>Sat, 10 Jun 2006 15:21:12 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2006/06/11/getting-xmms-working-with-mp3s-on-suse-101/</guid>
		<description><![CDATA[Download the files from rpm.pbone.net &#8211; there&#8217;s other places, but there are multiple mirrors on pbone. The files are linked as part of the console commands. Install the XMMS libraries lib-mad from the external sources&#8230; From a console: rpm -i mad-0.15.1B-32.1.i586.rpm rpm -i xmms-lib-1.2.10-103.pm.1.i586.rpm Or browse to where you downloaded them and use the package [...]]]></description>
			<content:encoded><![CDATA[<p>Download the files from <a href='http://rpm.pbone.net'>rpm.pbone.net</a> &#8211; there&#8217;s other places, but there are multiple mirrors on pbone. The files are linked as part of the console commands.</p>
<p><strong>Install the XMMS libraries lib-mad from the external sources&#8230;</strong><br />
From a console:</p>
<blockquote><p>rpm -i <a href='http://rpm.pbone.net/index.php3?stat=26&#038;dist=48&#038;size=86598&#038;name=mad-0.15.1b-32.1.i586.rpm'>mad-0.15.1B-32.1.i586.rpm</a><br />
rpm -i <a href='http://rpm.pbone.net/index.php3?stat=26&#038;dist=48&#038;size=1535767&#038;name=xmms-lib-1.2.10-103.pm.1.i586.rpm'>xmms-lib-1.2.10-103.pm.1.i586.rpm</a>
</p></blockquote>
<p>Or browse to where you downloaded them and use the package manager from your desktop environment. KDE allows you to right click on the .rpm file and open an install program.</p>
<p><strong>Install the XMMS program files off the SUSE 10.1 Install media&#8230;</strong></p>
<p>I installed from the DVD media, so it was on (when it was mounted in KDE) <i>/media/SU1010_001/suse/i586</i></p>
<p>Via console:</p>
<blockquote><p>rpm -i xmms-1.2.10-103.i586.rpm</p></blockquote>
<p>Or find it via GNOME/KDE etc and install that one as above.</p>
<p>Once those three packages are installed, you should be able to listen to MP3&#8242;s on your SUSE 10.1 install &#8211; if something doesn&#8217;t work, please <a href='mailto:yaleman@ricetek.net.nospam'>email me</a> and I&#8217;ll post a corrected version. (remember to remove the .nospam from the end of the email address)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2006/06/11/getting-xmms-working-with-mp3s-on-suse-101/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SUSE 10.1 on a low-spec machine</title>
		<link>http://www.yaleman.org/2006/06/03/suse-101-on-a-low-spec-machine/</link>
		<comments>http://www.yaleman.org/2006/06/03/suse-101-on-a-low-spec-machine/#comments</comments>
		<pubDate>Fri, 02 Jun 2006 19:48:58 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2006/06/03/suse-101-on-a-low-spec-machine/</guid>
		<description><![CDATA[My laptop&#8217;s definitely not what you&#8217;d class as a high-performance machine by any modern standards. It&#8217;s got a celeron 400 processor, 128MB of ram and a 6gb hdd. This doesn&#8217;t leave much room for an operating system with all the bells and whistles &#8211; Windows XP is definitely off the list &#8211; I&#8217;ve been running [...]]]></description>
			<content:encoded><![CDATA[<p>My laptop&#8217;s definitely not what you&#8217;d class as a high-performance machine by any modern standards. It&#8217;s got a celeron 400 processor, 128MB of ram and a 6gb hdd. This doesn&#8217;t leave much room for an operating system with all the bells and whistles &#8211; Windows XP is definitely off the list &#8211; I&#8217;ve been running <a href='http://www.microsoft.com/windows2000'>Windows 2000</a> Professional on it for the past six months so I could do things like <a href='http://www.gimp.org'>simple graphics editing</a> of my photographs on the run, and <a href='http://au.php.net'>coding</a> <a href='http://www.python.org'>in</a> <a href='http://www.perl.org'>my</a> spare time at <a href='http://www.three.com.au/cdma'>work</a>.<br />
<span id="more-202"></span><br />
Since installing <a href='http://www.opensuse.org'>SUSE</a> on my main desktop machine at home, and that I&#8217;m what some people would call an open source nut I decided to take the plunge and install <a href='http://www.novell.com'>Novell</a>&#8216;s latest offering: SUSE 10.1. Rather than using the stack-o&#8217;-cds install I went with the DVD install and for a ~2GB installed size it took over three hours to select what I wanted (<a href='http://www.kde.org'>KDE</a>, base install and the laptop features) and install them.</p>
<p>Just to avoid a little confusion I&#8217;ll point this out right now &#8211; I&#8217;ll write this more like a mini-journal &#8211; writing things as they happen, rather than a proper article where all the findings are taken into account throughout the whole post.</p>
<p>Finalising the install it detected all my hardware successfully &#8211; including the built-in <a href='http://www.toshiba.com.au'>Toshiba</a> softmodem and the Xircom 10mbit network card/modem combo thingy &#8211; which was nice to see. I got to the final part of the installer and it went to a black screen &#8211; it had been turning off the monitor after a set amount of time &#8211; and locked. Powering it on and off again got me to a graphical desktop and a working machine &#8211; huzzah.</p>
<p>It takes a little longer to start up than the previous windows install &#8211; something I&#8217;m used to with linux machines in general. The only time I&#8217;ve seen a faster startup was with a seriously stripped down setup running debian not long after the <a href='http://www.kernel.org/pub/linux/kernel/v2.6/'>2.6 kernel series</a> was released. It seems that a lot of the automagical things that have been built into the linux startup in the past two or three years seriously slow down the process &#8211; something that I&#8217;m going to investigate optimising in the future &#8211; there has to be better ways to do things like this.</p>
<p>So far so good, it&#8217;s nothing special as far as speed is concerned, but KDE seems to be spritely to respond to opening windows and so forth &#8211; something that I was worried about considering the system&#8217;s specs. The K menu (like the windows start menu) takes a second or two to load &#8211; KDE loads the config each time you load the menu, so edits to the menu actually update on the fly, rather than <a href='http://www.gnome.org'>GNOME</a>&#8216;s retarded need to restart the menu before updates take effect.</p>
<p>So, it&#8217;s time to work through the settings and kill off anything that&#8217;s going to slow down my machine. Anti-aliased fonts are really nice, but I think I&#8217;m going to turn that off &#8211; I can deal with a little &#8220;ugly&#8221; in the interests in a bit more &#8220;fast&#8221;. Icon animations are nice if you&#8217;re into the <a href='http://www.fisher-price.com/au/default.asp'>Fisher-Price</a> school of interface design, another thing I don&#8217;t need when the cpu&#8217;s playing catch-up as it is. Goddamn this screen blanking thing is annoying &#8211; it doesn&#8217;t take into account mouse movements, needing a keypress before it realises that I&#8217;m sitting here trying to do something. The next item in KDE configurator was screensaver, disabling its four minute timeout will hopefully fix this. Nope, that wasn&#8217;t it &#8211; checking out the available themes and so forth, it&#8217;s gone blank again. Bah.</p>
<p>Desktop -> Window Behaviour -> Advanced gave me another hopeful speed boost &#8211; the ability to turn off animation during &#8220;shading&#8221; of a window &#8211; when you&#8217;re basically resizing it to just the titlebar. The &#8220;Moving&#8221; tab allowed me to turn off animated minimise/restore and also the KDE equivalent of &#8220;don&#8217;t show window contents on resize/move.&#8221; </p>
<p>Finally I&#8217;ve found the option that actually lets me delete things instead of sending them to the trash can in KDE &#8211; it&#8217;s hidden in KDE Components -> File Manager -> Behaviour. Tick the box that says &#8220;Show &#8216;Delete&#8217; context mnu e<u>n</u>tries which bypass the trashcan&#8221; and all will be well in the world again. The screen&#8217;s turned off again, I hope this isn&#8217;t going to be an ongoing thing&#8230;</p>
<p>Huzzah, another option to turn off display power management (there&#8217;s one in the KPowersave preferences that didn&#8217;t seem to do anything) under Peripherals -> Display -> Power Control. Dang, as soon as I hit apply to disable standby/suspend/power off after times, it went blank again &#8211; hopefully it was just a final &#8220;seeya&#8221; to that. Nope, did it again after looking at a few other things. Maybe turning off power management will fix it? Nope, there it goes again. Why are there three (so far) places to turn on and off display power management, but none of them seem to work? Gah.</p>
<p>I can&#8217;t seem to find anything on the internet about how to fix this, so it&#8217;s probably one of those &#8220;have to research for six months, then find the solution in a hidden hack or update&#8221; kind of things.</p>
<p>There&#8217;s a few basic games installed, which is nice &#8211; freeciv, frozen bubble and a couple of others &#8211; you have to have SOME sort of entertainment on your computer, and these are well-developed games from the OSS community.</p>
<p>People are turning up at work so I need to finish this off&#8230; and I&#8217;ve run out of things to try at the moment anyway &#8211; the last thing I have to say is that so far, it&#8217;s no worse than Windows 2000 to use, and there&#8217;s a bunch more things that can be done with it, so I&#8217;m happy <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2006/06/03/suse-101-on-a-low-spec-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Linux ATI Drivers &#8211; wow!</title>
		<link>http://www.yaleman.org/2006/06/02/new-linux-ati-drivers-wow/</link>
		<comments>http://www.yaleman.org/2006/06/02/new-linux-ati-drivers-wow/#comments</comments>
		<pubDate>Thu, 01 Jun 2006 18:07:56 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2006/06/02/new-linux-ati-drivers-wow/</guid>
		<description><![CDATA[Recently I bought a new hard drive &#8211; finally getting a half-decent speed SATA drive, upgrading from my quartet of 80gb IDE drives. I had a few woes trying to tie it all in, so I ended up reinstalling my PC. At first I stuck with Gentoo, then got sick of trying to work out [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I bought a new hard drive &#8211; finally getting a half-decent speed SATA drive, upgrading from my quartet of 80gb IDE drives. I had a few woes trying to tie it all in, so I ended up reinstalling my PC. At first I stuck with Gentoo, then got sick of trying to work out its annoying bugs and went to <a href='http://www.suse.org'>SUSE</a>.</p>
<p>As I tend to have a load of windows open at the one time, and I like to see them all at once having dual monitors is a must for me. The ATI 9600 card I have supports this, being dual head, and I&#8217;d had it running (kinda) on Gentoo just before I went through the reinstall process.</p>
<p>After a few hiccups I got it working on <a href='http://www.gnome.org'>GNOME</a> and then got sick of problems with <a href='http://en.wikipedia.org/wiki/Xinerama'>Xinerama</a> not working properly (who wants to hit maximise and have the program fill BOTH monitors? hello?) and some issues with <a href='http://www.gimp.org/'>GIMP</a> turning my half-decent PC into a complete slug when loading a bunch of photos from my <a href='http://www.canon.com.au/products/cameras/digital_slr/eos350dblackbody.html'>Canon 350D</a>.</p>
<p>I&#8217;d seen <a href='http://www.kde.org/'>KDE</a> 3.x, and at the time, I&#8217;d hated it &#8211; I guess it was the early revisions, but it just didn&#8217;t seem like the window manager for me. Seeing as GNOME was giving me problems, I decided to try it again &#8211; SUSE made this easy because it&#8217;s actually the default. I installed the packages, played around a bit to change the window manager and then restarted to get it going. So far I&#8217;ve had it running for three days, and it&#8217;s fast &#8211; a lot faster than GNOME, and most of my applications are GNOME based.</p>
<p>GIMP doesn&#8217;t give me the pc-is-a-slug programs (though it crashed and disappeared a few times today) and the machine seems a bit snappier to use all &#8217;round. Because of my newfound love for SUSE, my good friend and housemate Robert decided to try linux again &#8211; his last attempt was in 2004 with <a href='http://www.gentoo.org'>Gentoo</a> &#8211; a bad time to have an ATI card and no spare PC when you&#8217;re trying to learn Linux. The drivers and support SUCKED at that time, but have grown a lot better since.</p>
<p>He&#8217;s got a new PC since those days, but he&#8217;s still running an ATI based graphics card. His only real requirement for dumping windows finally was that he could play all his games &#8211; so he&#8217;d have to have full 3D hardware support and his windows games would have to work properly. I thought that the first one would be enough of a hiccup, but I was wrong &#8211; very wrong. </p>
<p>It seems in the week or so since I installed the ATI drivers, another version had come out with a graphical installer that actually worked properly. I was amazed. He&#8217;d gotten it working in an hour or two, where it&#8217;d taken me two days of messing around on the commandline &#8211; and I&#8217;m one of those nutty ex-Gentoo users that knows their way around recompiling chunks of the system to get things working!</p>
<p>I had to try them out &#8211; I downloaded the drivers from the ATI x86 Linux display driver page, uninstalled the current drivers and then ran the file. A little dialogue popped up, and I selected the option to install the drivers. Not long after, it told me that it was finished, and I restarted to find that everything was working fine. Colour me amazed &#8211; for the first time an ATI driver hadn&#8217;t busted <a href='http://x.org'>X</a> into pieces with a new driver release <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Xinerama still wasn&#8217;t working properly, and Bob mentioned that when he created his x.org config file using the aticonfig utility &#8211; worlds ahead in ease-of-use compared to the old fglrxconfig &#8211; that he&#8217;d specified the resolution on his single-monitor system. I gave it a go, using &#8220;<em>aticonfig &#8211;initial=dual-head &#8211;resolution=0,1024&#215;768 &#8211;resolution=1,1024&#215;768</em>&#8221; to specify a dual head system with two 1024&#215;768 screens. This is basically how it was already setup, so aticonfig didn&#8217;t do anything. I knew that it wasn&#8217;t actually working properly, so I set the <em>-f</em> flag to force it to rewrite the file, and it did.</p>
<p>I restarted X and it was working! Maximising a window would keep it to one monitor, something that I&#8217;d been missing ever since I&#8217;d gotten dual monitors to work on linux (a month or so ago) and had been a serious pain in the butt. The only thing that isn&#8217;t working for me is 3D DRI support, the system doesn&#8217;t have 3D hardware acceleration. It&#8217;s working on Bob&#8217;s single-monitor setup, so I hope that I can get it working too &#8211; though Xinerama might be a cause of my woes. I really want to play <a href='http://www.dawnofwargame.com/'>my</a> <a href='http://www.eveonline.com'>win32</a> <a href='http://www.steampowered.com'>games</a> on linux with the help of Cedega &#8211; I&#8217;m sure there will be a few posts about my experiments with that in the near future <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2006/06/02/new-linux-ati-drivers-wow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Suse 10.0 MP3 Support</title>
		<link>http://www.yaleman.org/2006/05/15/suse-100-mp3-support/</link>
		<comments>http://www.yaleman.org/2006/05/15/suse-100-mp3-support/#comments</comments>
		<pubDate>Sun, 14 May 2006 22:12:49 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2006/05/15/suse-100-mp3-support/</guid>
		<description><![CDATA[Ok, so Novell in their infinite wisdom decided to remove MP3 support from SuSE around v10.0. It&#8217;s a bit hard to find concrete information on how to get some sort of mp3 support in SuSE, so here it is: Install XMMS Download the XMMS mpg123 rpm from this page. Install it: # rpm -ivh xmms-mpg123-1.2.7-13.i386.rpm [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so Novell in their infinite wisdom decided to remove MP3 support from SuSE around v10.0. It&#8217;s a bit hard to find concrete information on how to get some sort of mp3 support in SuSE, so here it is:</p>
<ol>
<li>Install XMMS</li>
<li>Download the XMMS mpg123 rpm from this page.</li>
<li>Install it:<br />
<blockquote><p>
# rpm -ivh xmms-mpg123-1.2.7-13.i386.rpm<br />
Preparing&#8230;                ########################################### [100%]<br />
   1:xmms-mpg123            ########################################### [100%]
</p></blockquote>
</li>
<li>Run XMMS and enjoy!</li>
</ol>
<p>I don&#8217;t know how to get mp3 working in a lot of the other programs, I&#8217;ll try and work that out later. There&#8217;s a short article here in DesktopLinux.com on <a href='http://www.desktoplinux.com/articles/AT2703022234.html'>Hacking OpenSuSE &#8211; getting mp3 and dvd support in SuSE</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2006/05/15/suse-100-mp3-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Firefox porn tab problems fixed?</title>
		<link>http://www.yaleman.org/2006/04/15/my-firefox-porn-tab-problems-fixed/</link>
		<comments>http://www.yaleman.org/2006/04/15/my-firefox-porn-tab-problems-fixed/#comments</comments>
		<pubDate>Fri, 14 Apr 2006 21:23:17 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2006/04/15/my-firefox-porn-tab-problems-fixed/</guid>
		<description><![CDATA[Email Battles has an article on a new change to Firefox&#8217;s JavaScript Garbage Collection. Aparrently there&#8217;s a hard limit of 4MB for some JS engine operations so that people using loads of tabs with pages full of JS will kill things. Sounds like what happens every time I go porn browsing or researching something &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://www.emailbattles.com'>Email Battles</a> has an article on <a href='http://www.emailbattles.com/archive/battles/browsers_aadejcfhgd_eb/'>a new change to Firefox&#8217;s JavaScript Garbage Collection</a>. Aparrently there&#8217;s a hard limit of 4MB for some JS engine operations so that people using loads of tabs with pages full of JS will kill things. Sounds like what happens every time I go porn browsing or researching something &#8211; after a while it&#8217;ll just chug up, take loads of resources and I&#8217;ll have to either wait a day or two for it to un-fuck itself, or I&#8217;ll kill it and lose all my tabs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2006/04/15/my-firefox-porn-tab-problems-fixed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Boredom</title>
		<link>http://www.yaleman.org/2006/01/08/boredom/</link>
		<comments>http://www.yaleman.org/2006/01/08/boredom/#comments</comments>
		<pubDate>Sun, 08 Jan 2006 01:27:08 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/2006/01/08/boredom/</guid>
		<description><![CDATA[I&#8217;m super bored&#8230; how are you all? It&#8217;s raining. Again. I&#8217;m sure that my car&#8217;s probably full of water again, and I&#8217;m just killing time until I can get my ass in gear to get ready for work. At least I&#8217;m floor manager today, that means I don&#8217;t have to do much unless it gets [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m super bored&#8230; how are you all? It&#8217;s raining. Again. I&#8217;m sure that my car&#8217;s probably full of water again, and I&#8217;m just killing time until I can get my ass in gear to get ready for work. At least I&#8217;m floor manager today, that means I don&#8217;t have to do much unless it gets hellishly busy. I should go find a book to read, I&#8217;m recompiling EVERYTHING on my gentoo desktop machine so that hopefully some of the weirdness will go away.</p>
<p><code>emerge -e system; emerge -e system; emerge -e world; emerge -e world</code></p>
<p>That should take a while, I don&#8217;t know what step it&#8217;s up to, all I can see is &#8220;emerge: (171 of 614) app-text/ghostscript-esp-7.07.1-rc Compile&#8221; in the window title. It seems that I might be waiting a week or so for this to finish <img src='http://www.yaleman.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2006/01/08/boredom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coding Styles</title>
		<link>http://www.yaleman.org/2005/11/06/coding-styles/</link>
		<comments>http://www.yaleman.org/2005/11/06/coding-styles/#comments</comments>
		<pubDate>Sat, 05 Nov 2005 18:35:34 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/?p=116</guid>
		<description><![CDATA[There are a variety of styles of programming, just like doing anything in this life. You can plan down to the nth degree, making sure that from the start, you know all the possible outcomes of each step in the program. This is how mission-critical programmers work, such as people designing software for NASA or [...]]]></description>
			<content:encoded><![CDATA[<p>There are a variety of styles of programming, just like doing anything in this life. You can plan down to the nth degree, making sure that from the start, you know all the possible outcomes of each step in the program. This is how mission-critical programmers work, such as people designing software for <a href='http://www.nasa.gov'>NASA</a> or anything that&#8217;s life-threatening. You can start a step back, with an algorithm, adding code and testing it as you go, and generally making things work, not knowing every possible outcome, but for generalities the code will work. Recent articles and past experience using their products have shown that this is how many major software developers, including <a href='http://www.microsoft.com'>Microsoft</a> work. Then again, you could just throw code at an idea until you get something working, which will break often, requiring constant rewrites until it&#8217;s usable.</p>
<p>I tend to start with an idea, get a basic vision of how it&#8217;ll work, then throw code at it until I break it, then fix it. I&#8217;ve had basic training in the previously mentioned styles, incorporating the design process, algorithm development and so forth. When I&#8217;m coding, I&#8217;ll keep this in mind, making sure the algorithm for the program works, then coding around it. When there&#8217;s something big that I want to code, I spend a bit of time working out all the different parts, writing how things work as comments, then writing the code to fulfil the requirements.</p>
<p>It tends to depend on how big the project is as to how each style can be used â€“ in the best case scenario we all should use the first style, planning everything down to the smallest detail, testing everything algorithmically, then starting to code. In real life, there&#8217;s not always the time to do that, and the goals for most projects tend to change quite quickly â€“ especially when it&#8217;s up to either the<br />
marketing department or anyone in management.</p>
<p>Resources are a big part of this decision. In business, it&#8217;s about money â€“ can you justify the money to run the company for the first stage, where you get no visible benefit from it. When you&#8217;re coding for yourself, or starting an Open Source project, there isn&#8217;t always the time available to perform the planning step, and motivation tends to run out quickly when there&#8217;s no result to show yourself and your peers.</p>
<p>I&#8217;d like to take part in some of the Open Source projects that are out there, but that would mean getting my programming skills up to scratch, then finding a project to join, and then starting to learn how the whole project is structured. There&#8217;s a lot of projects out there, and I don&#8217;t know where to start. I&#8217;m sure if I started working the overnight shift more often I might start to do this sort of thing, since there&#8217;s plenty of time to do it while I&#8217;m sitting here. Again, the thing that would hold me back from this would be the frustration of not having access to the Internet. There&#8217;s no way for me to access the &#8216;net from work, and it&#8217;s something that tends to be vital when you&#8217;re working on a project and learning a new language.</p>
<p>Book learning&#8217;s fine, but it&#8217;s restrictive due to the ever-changing world of computers, and learning from a book that&#8217;s even six months old means that there tends to be a lot of out of date information that just won&#8217;t work when trying to use it. What I&#8217;ve done for <a href='http://au.php.net'>PHP</a> and <a href='http://www.python.org'>Python</a> when I&#8217;ve been coding here at night has been to download the offline documentation for the language, and refer to that. It&#8217;s been helpful, but there has been many times where a search on <a href='http://www.google.com'>Google</a> would have answered my question rather quickly.</p>
<p>With these languages, the offline documentation is available â€“ which is lucky. With libraries, modules and tutorials for particular sections of the language, it&#8217;s hard to find much documentation, let alone being able to download it and have it available when you&#8217;re not connected. Yes, there&#8217;s ways of stripping websites, but that&#8217;s not terribly feasible when you&#8217;re talking about small sites, let alone the PERL repository and the information contained within.</p>
<p>I guess I&#8217;ll just have to get my laptop in a state where I can do some programming, and start reading. Before that though, I&#8217;ll have to find a way to either run the programs I plan to use for tuning my car in Linux, or devise a way of booting both Linux and Windows on it. That&#8217;s sure to be interesting, due to the fact that it only has a six gigabyte hard drive, which is barely enough for Windows to run. The Linux tuning programs seem to be mature, so if I can successfully get them working, all will be well, and I&#8217;ll be rid of this cursed spawn of Redmond!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2005/11/06/coding-styles/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>path_dps.m4 giving you Gentoo hell?</title>
		<link>http://www.yaleman.org/2005/10/07/path_dpsm4-giving-you-gentoo-hel/</link>
		<comments>http://www.yaleman.org/2005/10/07/path_dpsm4-giving-you-gentoo-hel/#comments</comments>
		<pubDate>Thu, 06 Oct 2005 16:36:55 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/?p=88</guid>
		<description><![CDATA[Finally I found something told me how to fix my problems with the STUPID compilation issues of late. Delete the file path_dps.m4 from your filesystem! This page tells you to run this command: # rm /usr/share/aclocal/path_dps.m4 Delete the file, and no more stupid compilation issues. Hooray! Here&#8217;s the gentoo bug report if you want more [...]]]></description>
			<content:encoded><![CDATA[<p>Finally I found something told me how to fix my problems with the STUPID compilation issues of late. Delete the file path_dps.m4 from your filesystem!</p>
<p><a href="http://philcrissman.com/index.php?option=com_content&amp;task=view&amp;id=556&amp;Itemid=48" class="broken_link">This page</a> tells you to run this command:</p>
<p><code># rm /usr/share/aclocal/path_dps.m4</code></p>
<p>Delete the file, and no more stupid compilation issues. Hooray! <a href="http://bugs.gentoo.org/show_bug.cgi?id=98762">Here&#8217;s the gentoo bug report</a> if you want more information.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2005/10/07/path_dpsm4-giving-you-gentoo-hel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sylpheed 2.0 report.</title>
		<link>http://www.yaleman.org/2005/09/20/sylpheed-20-report/</link>
		<comments>http://www.yaleman.org/2005/09/20/sylpheed-20-report/#comments</comments>
		<pubDate>Tue, 20 Sep 2005 01:57:05 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.ricetek.net/?p=77</guid>
		<description><![CDATA[Ok, so I installed Sylpheed, and I played with it. I run my own web/mail server, so I just leave whatever mail I receive on the server so that I can get it whenever I want it by IMAP. My local client already knows what it&#8217;s downloaded, so it&#8217;s not like I have to download [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so I installed <a href="http://sylpheed.good-day.net/en/" class="broken_link">Sylpheed</a>, and I played with it. I run my own web/mail server, so I just leave whatever mail I receive on the server so that I can get it whenever I want it by IMAP.  My local client already knows what it&#8217;s downloaded, so it&#8217;s not like I have to download the full 30+ megabytes of email every time. Sylpheed quite quickly downloaded the 4000+ messages that were on the server, and didn&#8217;t have a single problem displaying every single header in the inbox when it was done. Filtering messages was processed blisteringly fast and without error &#8211; other mail clients sometimes have issues with my filters &#8211; and making filters was easy. Navigating between folders was fast, quite frankly I can&#8217;t get over how fast this client is, it&#8217;s great! </p>
<p>Now, there&#8217;s some things that just annoy the hell out of me. Sure, text-only emails are fine, I use them nearly every time I&#8217;m sending emails because it&#8217;s a smaller message, it&#8217;s readable by any client so on and so forth. But a lot of the <a href="http://forums.overclockers.com.au">email</a> <a href="http://www.graysonline.com.au">lists</a> <a href="http://www.ebay.com.au">I&#8217;m</a> <a href="http://www.ozgemini.com">on</a> have HTML emails, and they are useless without it because of the fact that they are either auction, forum or other &#8220;lots of visual information&#8221; sites. Sylpheed&#8217;s HTML rendering sucks. I couldn&#8217;t work out if it was a settings issue or something else doing it, but it was horrible, nasty and didn&#8217;t render anything properly. There was only one setting I could find, and that was &#8220;render HTML as text&#8221; which basically showed you the raw html.</p>
<p><a href="/wp-content/sylpheed.png" class="broken_link"><img src='/wp-content/thumb-sylpheed.png' alt='' /" align='right' style='margin: 3px'/></a>Another problem I had with the program was the font used to display the contents of an email. I couldn&#8217;t find any settings to change it, which could have been my fault or reliant on Gnome&#8217;s default settings or something, but damn! It&#8217;s something horrible like 18 point courier new &#8211; huge and hard to read!</p>
<p>The &#8220;Junk Mail Filtering&#8221; option was a bit of a worry &#8211; if you turn on the &#8220;filter when it receives&#8221; option, it&#8217;ll also &#8211; from what it says in the option box &#8211; delete the messages it thinks is spam off the server. This is a worry for me, because junk mail filtering&#8217;s always a bit wrong to start with, and every time it&#8217;s wrong, it&#8217;ll be deleting something off the server that I wanted. Not nice! There&#8217;s another option in the menus allowing you to filter the junk mail out of the folder you&#8217;re currently in, but no matter what I tried, it wouldn&#8217;t actually do anything other than make the program slow and hang a bit while it was doing whatever it was doing.</p>
<p>Ok, so it&#8217;s fast, it&#8217;s clean, it&#8217;s relatively easy to do some things, it&#8217;d be great if I didn&#8217;t get so much porn spam, and it&#8217;s really ugly to look at. That&#8217;s what I think. I&#8217;m going back to Evolution until something else comes along.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yaleman.org/2005/09/20/sylpheed-20-report/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

