<?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>RedKrieg's Blog &#187; Ubuntu</title>
	<atom:link href="http://redkrieg.com/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://redkrieg.com</link>
	<description>/dev/random</description>
	<lastBuildDate>Fri, 12 Mar 2010 23:27:10 +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>Wheeeeeeeee Gravity!1!!eleven!</title>
		<link>http://redkrieg.com/2008/10/01/wheeeeeeeee-gravity1eleven/</link>
		<comments>http://redkrieg.com/2008/10/01/wheeeeeeeee-gravity1eleven/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 04:22:34 +0000</pubDate>
		<dc:creator>RedKrieg</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://redkrieg.com/2008/10/01/wheeeeeeeee-gravity1eleven/</guid>
		<description><![CDATA[Sooooo&#8230;. a few days ago I felt like simulating a bit of gravity. Turns out that was the easy part&#8230; Basically I wrote a gravity simulator with accurate(?) collision detection all based on force vectors applied over time. I did all the physics and trig work from the top of my head, and the last [...]]]></description>
			<content:encoded><![CDATA[<p>Sooooo&#8230;.  a few days ago I felt like simulating a bit of gravity.  Turns out that was the easy part&#8230;  Basically I wrote a gravity simulator with accurate(?) collision detection all based on force vectors applied over time.  I did all the physics and trig work from the top of my head, and the last time I had a physics or trig class was eight years ago, so I might have forgotten something important.  Collisions look right to me right now, but the code driving them relies on some pretty loose interpretations of gravity/time, so any frameskips could cause some rather interesting reflections.  <a href="http://dl.getdropbox.com/u/186933/gravity-0.1.tar.gz">Tarball (with source)</a> and <a href="http://dl.getdropbox.com/u/186933/gravity_0.1-1_i386.deb">Ubuntu deb package (binary only)</a> at their respective links.</p>
<p>I made a half-assed attempt at commenting the source, because I&#8217;m a nice guy.  You should be able to get an idea of what I was thinking from there.</p>
<p>Update [20081002003930EDT]: Almost forgot, uses Cairo for drawing.  XOrg process maxes the cpu at the resolution I&#8217;m using for this thing&#8230;  NO idea why.  Any programmers wanna help?</p>
]]></content:encoded>
			<wfw:commentRss>http://redkrieg.com/2008/10/01/wheeeeeeeee-gravity1eleven/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I&#8217;m at a loss for words</title>
		<link>http://redkrieg.com/2008/01/07/im-at-a-loss-for-words/</link>
		<comments>http://redkrieg.com/2008/01/07/im-at-a-loss-for-words/#comments</comments>
		<pubDate>Mon, 07 Jan 2008 05:03:16 +0000</pubDate>
		<dc:creator>RedKrieg</dc:creator>
				<category><![CDATA[Me]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://redkrieg.com/2008/01/07/im-at-a-loss-for-words/</guid>
		<description><![CDATA[I know I don&#8217;t update here often, but I just thought it would be pertinent at this particular junction. This blog is a combination of my personal life (usually just the bad parts for whatever reason) and my technological exploits, and today will only be slightly outside the usual realm of nonsensical debauchery. Today, I [...]]]></description>
			<content:encoded><![CDATA[<p>I know I don&#8217;t update here often, but I just thought it would be pertinent at this particular junction. This blog is a combination of my personal life (usually just the bad parts for whatever reason) and my technological exploits, and today will only be slightly outside the usual realm of nonsensical debauchery. Today, I am happy. There&#8217;s someone beautiful and hilarious and brilliant and amazing who has chosen to grace me with her attention. I can talk to her about the most obscure scientific discovery and she wants to know more about it and how it affects the world. Did I mention amazing? I think I did&#8230;</p>
<p>But alas, this wouldn&#8217;t be a very good post here at redkrieg.com were I not to include something at least remotely technical&#8230; This weekend I finished preliminary work on my own thumbdrive based distribution of ubuntu. I wrote my own sexy splash screen and modified the themes a bit.  I added all the usual programs that I love, set my defaults the way I like them, and even fixed a few bugs in the latest version (upon which this was based). Since it&#8217;s thumbdrive based and I have an amazing thumbdrive (OCZ ATV Turbo), it boots and runs faster than any hard disk install I&#8217;ve ever used. Unfortunately desktop effects only work on intel video hardware, but at least I have a persistent partition upon which to store any changes I make to the OS. My 4GB drive should be enough for a year&#8217;s worth of work if I stay away from video. All of this is thanks to two wonderful tools. The first of which is <a href="http://www.remastersys.klikit.org/">remastersys</a>, which I use to turn a virtual machine into a full distribution of linux. Secondly, and just as important to this particular venture of mine is <a href="http://www.pendrivelinux.com">pendrivelinux.com</a>&#8216;s <a href="http://www.pendrivelinux.com/2007/09/28/usb-ubuntu-710-gutsy-gibbon-install/">tutorial</a> on turning ubuntu 7.10 in to a pen drive bootable (and usable) distro. Now the tutorial as is has some problems, all of which are in the zip file near the end of the tutorial. Many entries in that file don&#8217;t work, and the defaults are not set for a persistent install. Luckily for you, fearless user, I have below the contents of my syslinux.cfg for your internet related needs. Also, you can put anything you want in isolinux.txt.</p>
<p>syslinux.cfg:<br />
<code>DEFAULT persistent<br />
LABEL persistent<br />
  menu label ^Start Ubuntu in USB persistent mode (saves changes)<br />
  kernel vmlinuz<br />
  append  file=/preseed/ubuntu.seed boot=casper persistent initrd=initrd.gz vga=0x0317 quiet splash --<br />
LABEL live<br />
  menu label ^Start Ubuntu in Live mode<br />
  kernel vmlinuz<br />
  append  file=/preseed/ubuntu.seed boot=casper initrd=initrd.gz vga-0x317 quiet splash --<br />
LABEL xforcevesa<br />
  menu label Start Ubuntu in safe ^graphics mode<br />
  kernel vmlinuz<br />
  append  file=/preseed/ubuntu.seed boot=casper persistent xforcevesa initrd=initrd.gz quiet splash --<br />
LABEL oem<br />
  menu label ^OEM install (for manufacturers)<br />
  kernel vmlinuz<br />
  append  file=/preseed/ubuntu.seed boot=casper oem-config/enable=true initrd=initrd.gz quiet splash --<br />
LABEL hd<br />
  menu label ^Boot from first hard disk<br />
  localboot 0x80<br />
  append -<br />
DISPLAY isolinux.txt<br />
TIMEOUT 50<br />
PROMPT 1</code></p>
<p>Have fun. I know I am.</p>
]]></content:encoded>
			<wfw:commentRss>http://redkrieg.com/2008/01/07/im-at-a-loss-for-words/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dell tries Ubuntu, I buy a laptop</title>
		<link>http://redkrieg.com/2007/06/05/dell-tries-ubuntu-i-buy-a-laptop/</link>
		<comments>http://redkrieg.com/2007/06/05/dell-tries-ubuntu-i-buy-a-laptop/#comments</comments>
		<pubDate>Tue, 05 Jun 2007 23:47:50 +0000</pubDate>
		<dc:creator>RedKrieg</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://redkrieg.com/2007/06/05/dell-tries-ubuntu-i-buy-a-laptop/</guid>
		<description><![CDATA[So, today I got my first laptop in the mail. It&#8217;s a Dell Inspiron E1505 preloaded with Ubuntu Linux. I must say, I&#8217;m quite a fan of it. Here&#8217;s my whole experience thus far: DHL delivers the laptop a day before the expected delivery date. DHL guy makes no effort to ensure he delivered the [...]]]></description>
			<content:encoded><![CDATA[<p>So, today I got my first laptop in the mail.  It&#8217;s a <a href="http://www.dell.com/content/topics/segtopic.aspx/linux_3x?c=us&#038;cs=19&#038;l=en&#038;s=dhs&#038;~ck=mn">Dell Inspiron E1505</a> preloaded with <a href="http://www.ubuntu.com/">Ubuntu Linux</a>. I must say, I&#8217;m quite a fan of it. Here&#8217;s my whole experience thus far:<br />
<span id="more-101"></span></p>
<ol>
<li>DHL delivers the laptop a day before the expected delivery date.</li>
<li>DHL guy makes no effort to ensure he delivered the laptop to someone who actually lived at the residence. My brother &#8220;signed&#8221; for it by tapping the pad and just happened to be in the front yard when the guy pulled up.</li>
<li>The laptop came unharmed with all accessories as I ordered.</li>
<li>I open the box to find a multi-language product guide that describes the hardware only, a quickstart guide explaining the buttons on the laptop, and contrary to other reports I&#8217;ve read about these new pre-loaded systems, an ubuntu cd with a sticker to let me know it was already installed.</li>
<li>After hastily removing the laptop from the &#8220;don&#8217;t put on head&#8221; bag, I popped it open, plugged in the power and ethernet, and turned it on.</li>
<li>The bios screen had a EULA I didn&#8217;t read. Just pressed space bar.</li>
<li>Ubuntu boots.</li>
<li>A quick quiz about what language I speak, where I am, what keyboard layout I have, and what my name is and I&#8217;m booting to a desktop.</li>
<li>Hostname is dell by default. Changed immediately.</li>
<li>Restricted drivers are already installed for wireless and&#8230; modem? /me checks back of system to find a modem. Wow&#8230; legacy.</li>
<li>Restricted driver manager lets me know I can install nvidia drivers, I do. No issues.</li>
<li>Updates are available!</li>
<li>After updating, I reboot.</li>
<li>Grub begins to load and BAM! System fails to start, can&#8217;t boot to partition. <a href="http://linux.dell.com/wiki/index.php/GRUB_error_17_after_kernel_update">GRUB error #17 cannot mount selected partition</a>.</li>
<li>No problem, I&#8217;ll just boot to the previous kernel and figure out what happened.</li>
<li>Previous kernel has same issue.</li>
<li>Hrm.</li>
<li>I use the built in system reinstall utility that&#8217;s quite painless.</li>
<li>System comes back up.</li>
<li>Repeat steps 7 through 13.</li>
<li>Same issue.</li>
<li>I check the boot options on the kernel and the recovery partition. Kernels are set to (hd0,0), recovery to (hd0,1). Seems normal to me.</li>
<li>Turns out someone at Dell goofed when working on the /boot/grub/menu.lst file. Kernels should go to (hd0,2). Big fucking goof and something that would send a normal user into the realm of windows forever. Fix this NOW Dell!</li>
<li>Manually change everything (hd0,0) to (hd0,2) and everything works great. Can&#8217;t get the scripted fix from the wiki to work, so fuck it.</li>
<li>Installed amarok, then automatix and some of the things it makes easy.</li>
<li>Beryl now, works well but a bit choppy.</li>
<li>No issues with resolution or hardware at all. Things just worked. Ubuntu&#8217;s come a long way since I last did a clean install on modern hardware&#8230; mostly upgrades here. I&#8217;m liking it more every day.</li>
</ol>
<p>All in all, I&#8217;m really glad Dell is doing this. Only one issue is spectabulous, but it&#8217;s a show stopper.  I&#8217;ve heard of people spending 6 hours getting a new Dell with windows where they wanted it, only took me 2 and I&#8217;ve got EVERYTHING I use on my desktop. Thanks Dell for providing Ubuntu, and please please PLEASE fix that grub issue with your image!</p>
]]></content:encoded>
			<wfw:commentRss>http://redkrieg.com/2007/06/05/dell-tries-ubuntu-i-buy-a-laptop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beryl-Project.org</title>
		<link>http://redkrieg.com/2006/12/04/beryl-projectorg/</link>
		<comments>http://redkrieg.com/2006/12/04/beryl-projectorg/#comments</comments>
		<pubDate>Mon, 04 Dec 2006 18:25:59 +0000</pubDate>
		<dc:creator>RedKrieg</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://redkrieg.com/2006/12/04/beryl-projectorg/</guid>
		<description><![CDATA[The Beryl Project is a community run branch of Novell&#8217;s Compiz, which I have used extensively.&#160; Beryl has eschewed such things as stability for the way more fun WOW factor that makes people really want to try it out.&#160; The current development is still really stable for me, both on Intel and NVIDIA graphics hardware, [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.beryl-project.org/">Beryl Project</a> is a community run branch of Novell&#8217;s <a href="http://go-compiz.org">Compiz</a>, which I have used extensively.&nbsp; Beryl has eschewed such things as stability for the way more fun WOW factor that makes people really want to try it out.&nbsp; The current development is still really stable for me, both on Intel and NVIDIA graphics hardware, and the performance is top notch.&nbsp; I&#8217;m running on Ubuntu with custom packages built nightly, but the packages available from the Beryl Project website work great.&nbsp; I think they&#8217;re about due for a release soon, so if you&#8217;re looking to try something new and exciting on your Linux desktop, get ready for an experience like no other with Beryl.&nbsp; Under Ubuntu 6.10 I had no difficulty installing at all following the advice from their <a href="http://wiki.beryl-project.org">Wiki</a>.&nbsp; You can also get support for Beryl under Ubuntu in the #ubuntu-xgl channel on <a href="http://freenode.net/">irc.freenode.net</a>.&nbsp; Give it a try, and if you like it, consider <a href="http://blog.beryl-project.org/?p=6">donating</a>.&nbsp; The entire Linux community will thank you!</p>
]]></content:encoded>
			<wfw:commentRss>http://redkrieg.com/2006/12/04/beryl-projectorg/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu tips</title>
		<link>http://redkrieg.com/2006/08/04/ubuntu-tips/</link>
		<comments>http://redkrieg.com/2006/08/04/ubuntu-tips/#comments</comments>
		<pubDate>Fri, 04 Aug 2006 18:08:45 +0000</pubDate>
		<dc:creator>RedKrieg</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://redkrieg.com/2006/08/04/ubuntu-tips/</guid>
		<description><![CDATA[I&#8217;ve been using Ubuntu linux for a nearly six months now&#8230;&#160; As of last month, I&#8217;ve been using it exclusively while at home.&#160; This is a small collection of the things I&#8217;ve learned. Automatix This one I kinda stayed away from for my first couple weeks&#8230;&#160; I have a tendency to be stubborn and try [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://www.ubuntu.com/">Ubuntu linux</a> for a nearly six months now&#8230;&nbsp; As of last month, I&#8217;ve been using it exclusively while at home.&nbsp; This is a small collection of the things I&#8217;ve learned.</p>
<p><span style="font-weight: bold;">Automatix</span><br />
This one I kinda stayed away from for my first couple weeks&#8230;&nbsp; I have a tendency to be stubborn and try to do everything myself.&nbsp; Boy was <span style="font-style: italic;">that</span> a mistake!&nbsp; Automatix has been rapidly improving since the release of Dapper Drake (the latest version of Ubuntu) and it&#8217;s definitely the easiest way to get all those not-quite-free programs and other things that most people don&#8217;t know exist.&nbsp; Get it <a href="http://www.getautomatix.com/">here</a>.&nbsp; The instructions are fairly detailed and right on the front page.&nbsp; One thing though&#8230;&nbsp; don&#8217;t install everything unless you&#8217;re sure what it is.&nbsp; Trust me.&nbsp; ;D</p>
<p><span style="font-weight: bold;">Compiz</span><br />
<span style="font-style: italic;">UPDATE</span>: The methods listed here aren&#8217;t the best solution any more.&nbsp; Check out <a href="http://redkrieg.com/2006/09/27/the-state-of-compiz/">this post</a> for more details!</p>
<p>If you have a modern graphics card and you want your desktop to <span style="font-style: italic;">flow</span>, you need XGL/Compiz.&nbsp; There&#8217;s a great tutorial for setup <a href="https://help.ubuntu.com/community/CompositeManager/Xgl">here</a>.&nbsp; Compiz is <span style="font-weight: bold; font-style: italic;">NOT</span> perfect.&nbsp; Hell, it isn&#8217;t even close.&nbsp; It&#8217;s alpha software in every sense of the word.&nbsp; You will have video artifacting, you will have phantom windows, you will have issues out the wazoo if you try it now, but you know what?&nbsp; I <span style="font-style: italic;">still</span> had more problems with windows than I do with Compiz, and Compiz tells you it&#8217;s alpha software&#8230;&nbsp; A little food for thought for you.&nbsp; As a side note, I used <span style="text-decoration: underline;">Method B: Make Xgl Your Standard Display Server</span> for my XGL and <span style="text-decoration: underline;">Method C: Toggle</span> for my Compiz.&nbsp; While there isn&#8217;t exactly an advantage to the Method B for Xgl (it&#8217;s just a bit simpler to use), there is a major advantage to using Method C for Compiz&#8230;&nbsp; All you do is create the toggle-compiz.sh file, toss it in your /usr/bin folder, make it executable, and put <span style="font-weight: bold;">toggle-compiz.sh</span> in your <span style="font-weight: bold;">System-&gt;Preferences-&gt;Sessions</span> on the <span style="font-weight: bold;">Startup</span> tab.&nbsp; Now any time you have some graphical issue that requires you to restart Compiz, just open a terminal and type <span style="font-weight: bold;">toggle-compiz.sh</span> twice.&nbsp; Problem solved!&nbsp; Plus, any user of the machine can execute the script and use Compiz!</p>
<p><span style="font-weight: bold;">Improve Performance</span><br />
I&#8217;ve used a few of the tweaks on <a href="http://ubuntuforums.org/showthread.php?t=189192">this page</a> to speed things up a bit (not that it&#8217;s really necessary).&nbsp; I&#8217;m afraid to try InitNG because it&#8217;s apparently not 100% stable yet.&nbsp; Now, I&#8217;m all about screwing with my X server, because I know my way around a terminal&#8230;&nbsp; Messing with the bootup options?&nbsp; One mistake and the machine won&#8217;t boot!&nbsp; I of course could just reinstall, but hey, better safe than sorry.&nbsp; I reboot my machine maybe once every two weeks now?&nbsp; Big deal.&nbsp; The best tweak on this page is picking the right kernel.&nbsp; If you&#8217;re running Ubuntu for 32 bit machines, pick k7 for AMD processors and i686 for Intels.&nbsp; If you use the 64 bit version, you should already have the right kernel.</p>
<p><span style="font-weight: bold;">Keyboard Shortcuts</span><br />
There are lots of keyboard shortcuts, but the ones I use most often are <span style="font-weight: bold;">Alt+F2</span> to open a run dialog, and <span style="font-weight: bold;">Ctrl+Alt+Left/Right</span> to change desktops.&nbsp; Of course many of the windows key commands work too, like <span style="font-weight: bold;">Alt+Tab</span>.&nbsp; Try things til you figure out what you can do!&nbsp; Doesn&#8217;t hurt to play around!</p>
<p><span style="font-weight: bold;">Automatic Login</span><br />
If you&#8217;re the only one with physical access to your machine (or you just don&#8217;t care if other people get on), you can set up auto-login so you don&#8217;t have to type your password to get to the desktop.&nbsp; This doesn&#8217;t exempt you from using a password to perform administrative tasks (like using sudo or gksudo), but it saves a hot second.&nbsp; Go to <span style="font-weight: bold;">System-&gt;Administration-&gt;Login Window</span> and check the <span style="font-weight: bold;">Security</span> tab.&nbsp; You&#8217;ll find it there.</p>
<p><span style="font-weight: bold;">Make AIM links work with GAIM</span><br />
This one&#8217;s nice.&nbsp; Make sure you didn&#8217;t install Gaim 2.0 Beta when you were using Automatix earlier, otherwise <a href="http://ubuntuforums.org/showthread.php?t=81926">this tutorial</a> won&#8217;t work for you.&nbsp; If you didn&#8217;t, you&#8217;ll really enjoy the new functionality!</p>
<p><span style="font-weight: bold;">Setting up your MX1000 mouse</span><br />
I have one of these and I was none too happy that the extra buttons didn&#8217;t work out of the box!&nbsp; Luckily I found <a href="https://help.ubuntu.com/community/MX1000Mouse">this entry</a> that gave a very detailed account of how to get the mouse working perfectly.&nbsp; Even sideways scrolling works!</p>
<p><span style="font-weight: bold;">No sound in Firefox?</span><br />
I&#8217;ve heard of some people not having sound in Firefox.&nbsp; No problem!&nbsp; Check out <a href="http://www.ubuntuforums.org/showpost.php?p=1084235&amp;postcount=5">this fix</a>.</p>
<p><span style="font-weight: bold;">Using multiple sound cards</span><br />
You might have more than one sound card.&nbsp; Maybe one onboard and one pci or usb.&nbsp; I often switch soundcards and it causes problems left and right.&nbsp; I found that if you delete the <span style="font-weight: bold;">.asoundrc</span> file from your home directory, everything seems to resolve itself at the next login.&nbsp; If you have issues, give it a shot.</p>
<p><span style="font-weight: bold;">Windows apps</span><br />
If you absolutely need to play a game that&#8217;s only in windows, give <a href="http://www.winehq.com/">wine</a> a shot.&nbsp; Use the info <a href="http://www.winehq.com/site/download-deb">here</a> to install and you should be fine.&nbsp; Wine doesn&#8217;t always work, but you never know!&nbsp; If you have sound issues in wine, try the audio fix above&#8230; it worked for me when I had no sound at all (multiple sound cards).</p>
<p><span style="font-weight: bold;">Using locate to find files</span><br />
One thing I always have trouble with is trying to figure out where a certain config file is.&nbsp; Next time you&#8217;re trying to find it&#8230;&nbsp; try this:</p>
<div style="margin-left: 40px;"><span style="font-weight: bold;">sudo updatedb</span><br style="font-weight: bold;" /><br />
<span style="font-weight: bold;">locate </span><span style="font-style: italic; font-weight: bold;">filename</span>
</div>
<p>This is in no way secure (lets anyone see any filename, you might not want that), but its easy, and if you&#8217;re the only one with access to the machine?&nbsp; Meh.</p>
<p>Anyway, that&#8217;s all I can think of right now.&nbsp; If I remember any other problems I encountered while migrating, I&#8217;ll be sure to update this post or at least link to the new one.</p>
<p><a href="http://digg.com/linux_unix/Tips_for_users_just_getting_into_Ubuntu_Linux/who">Digg this!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://redkrieg.com/2006/08/04/ubuntu-tips/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
