<?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>Some More Bytes &#187; Linux</title>
	<atom:link href="http://somemorebytes.com/wp/index.php/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://somemorebytes.com/wp</link>
	<description>in the binary maze...</description>
	<lastBuildDate>Tue, 22 Mar 2011 19:17:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Snow Leopard and Virtualbox under Linux&#8230;</title>
		<link>http://somemorebytes.com/wp/index.php/2010/06/snow-leopard-and-virtualbox-under-linux/</link>
		<comments>http://somemorebytes.com/wp/index.php/2010/06/snow-leopard-and-virtualbox-under-linux/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 13:01:27 +0000</pubDate>
		<dc:creator>somemorebytes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OsX]]></category>
		<category><![CDATA[develop]]></category>
		<category><![CDATA[iphone sdk]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://somemorebytes.com/wp/?p=540</guid>
		<description><![CDATA[Install Snow Leopard under Linux Virtualbox to use the Iphone SDK.]]></description>
			<content:encoded><![CDATA[<h3>Or &#8220;How to develop for the iPhone under linux&#8221;.</h3>
<p>If you have been looking for imformation about virtualizing LEopard or Snow Leopard, you&#8217;ll probably stumble upon this <a href="http://www.insanelymac.com/forum/index.php?showtopic=207334" target="_blank">two</a> <a href="http://www.taranfx.com/install-snow-leopard-virtualbox" target="_blank">sites</a>, which contain most of the useful information. However, when it comes to Snow Leopard, information is spread across hundreds of posts, and most of it is for MS Windows only.</p>
<p>There&#8217;s another attempt using empire-efi <a href="http://forums.virtualbox.org/viewtopic.php?f=4&amp;t=2076&amp;start=270#p126761" target="_blank">here</a>, which didn&#8217;t worked for me.</p>
<p>I just wrote a guide myself about how to get Snow Leopard working under Ubuntu 9.10 and Virtualbox 3.1.6r59338 and I was about to post it. However, I found another guide, for windows, which will work flawlessly under Linux with some minor tweaks, and has step-by-step screenshots, so I guess there&#8217;s no need to duplicate the content there.</p>
<p>Here&#8217;s exactly what I did to get things working:<br />
<span id="more-540"></span><br />
First you need, a Leopard OsX86 working virtualbox machine. To get Leopard working, download any OsX86 distro and install it following <a href="http://www.takwing.idv.hk/tech/virtual/virutal_leopard/index.html" target="_blank">this guide</a>. I used iDeneb 1.6 and worked fine.</p>
<p>You DO NOT need to patch the VirtualBox files in order to get Leopard working, so just create the VM without applying any patch.</p>
<p>The only difference you&#8217;ll find is that under Linux, the required file to edit will be(assuming you named the virtual machine LeoVM) :<br />
<code>/home/your_user_name/.Virtualbox/Machines/LeoVM/LeoVM.xml</code></p>
<p>Then, there you can add the required line:</p>
<p><code>&lt;ExtraDataItem name="VBoxInternal2/SupportExtHwProfile" value="on"/&gt;</code></p>
<p>The Leopard installation should go without a problem, and boot fine. Everything you need to know is on the guide I linked before.</p>
<p>Now the tricky part. Install Snow Leopard.</p>
<p>You should use <a href="http://www.takwing.idv.hk/tech/virtual/virtual_snowl/index.html" target="_blank">this guide</a>. It is really detailed and easy to follow. I used a retail SnowLeopard 10.6.3 image, and worked perfect for me. However, since the guide is for windows, you&#8217;ll need to take into account the following changes:</p>
<p>When you create the machine for Snow Leopard (page 13 of the guide), you need to edit the file (assuming you named the VM SnowLeoVM) :</p>
<p><code>/home/your_user_name/.Virtualbox/Machines/SnowLeoVM/SnowLeoVM.xml</code></p>
<p>and add ONLY the following lines:</p>
<p><code>&lt;ExtraDataItem name="VBoxInternal2/Devices/e1000f/0/Trusted" value="integer:1"/&gt;<br />
&lt;ExtraDataItem name="VBoxInternal2/SupportExtHwProfile" value="on"/&gt;</code></p>
<p>Now we need to patch the Virtual Machine files. The thing is that we need support for SS3 instructions, and ACPI v.14 which is not supported by default in Virtualbox 3.1.x. If you&#8217;re using the OSE edition, you can patch the source and recompile the whole thing. However, if you&#8217;re using the standard edition, you&#8217;ll need to binary-patch the files.</p>
<p>You can find more information about the patches in the comments section in this <a href="http://www.taranfx.com/install-snow-leopard-virtualbox" target="_blank">post</a>. SOME of the info is not correct, and some other is incomplete, so be careful and read everything before doing any patch. I am using the GHex to patch them.</p>
<p>The files to patch are:<br />
<code>/usr/lib/virtualbox/VBoxDD2.so<br />
Every occurence of : 11 00 05 00<br />
Changed for : 14 00 05 00<br />
</code><br />
<code>/usr/lib/virtualbox/VBoxDD2GC.gc<br />
Every occurence of : 11 00 05 00<br />
Changed for : 14 00 05 00<br />
</code><br />
<code>/usr/lib/virtualbox/VBoxDD2R0.r0<br />
Every occurence of : 11 00 05 00<br />
Changed for : 14 00 05 00<br />
</code><br />
<code>/usr/lib/virtualbox/VBoxVMM.so<br />
Every occurence of: 04 C5 01 00 00 00 31 C9<br />
Changed for: 04 C5 01 02 00 00 31 C9<br />
</code></p>
<p>I am providing the files for <strong>VirtualBox 3.1.6.r59338</strong> <a href="http://somemorebytes.com/wp/wp-content/uploads/2010/06/vb3.1.6_x86_64_patch.tar.gz" target="_blank">HERE</a>. Just run the patch or unpatch scripts to do the job, or open them to take a look at the files that will be copied and do it manually.</p>
<p>And that&#8217;s it.  You should have a Snow Leopard VM working fine. In the guide I provided you have explained how to solve the video resolution problem, which is pretty straightforward.</p>
<p>The network works fine, but you need to set up the static ip address for the interface, and connect/disconnect cable from the Virtualbox menu to get it working. The rest works fine. Of course it will not fly, but it is enough to try the iphone SDK under linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://somemorebytes.com/wp/index.php/2010/06/snow-leopard-and-virtualbox-under-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Anatomy of a Null derreference in the Kernel (Linux)</title>
		<link>http://somemorebytes.com/wp/index.php/2010/04/anatomy-of-a-null-derreference-in-the-kernel-linux/</link>
		<comments>http://somemorebytes.com/wp/index.php/2010/04/anatomy-of-a-null-derreference-in-the-kernel-linux/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 11:41:12 +0000</pubDate>
		<dc:creator>somemorebytes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software Dev]]></category>
		<category><![CDATA[derreference]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[null]]></category>
		<category><![CDATA[pointer]]></category>

		<guid isPermaLink="false">http://somemorebytes.com/wp/?p=515</guid>
		<description><![CDATA[Anatomy of a Null derreference in the Kernel (Linux)]]></description>
			<content:encoded><![CDATA[<p>This week KSplice published in his blog the second part of a interesting article, explaining the effect of a dangerus NULL derreference in the Linux Kernel. In the last year many of those holes were fixed in the kernel, so finding a true exploit wouldn&#8217;t be easy. It is still nice to understand how this kind of exploit works.</p>
<p>Here the <a href="http://blog.ksplice.com/2010/03/null-pointers-part-i/" target="_blank">first </a>and <a href="http://blog.ksplice.com/2010/04/exploiting-kernel-null-dereferences/" target="_blank">second </a>parts of the article.</p>
]]></content:encoded>
			<wfw:commentRss>http://somemorebytes.com/wp/index.php/2010/04/anatomy-of-a-null-derreference-in-the-kernel-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.10 + Eclipse + Subclipse = JavaHL problems?</title>
		<link>http://somemorebytes.com/wp/index.php/2010/04/ubuntu-9-10-eclipse-subclipse-javahl-problems/</link>
		<comments>http://somemorebytes.com/wp/index.php/2010/04/ubuntu-9-10-eclipse-subclipse-javahl-problems/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 18:40:25 +0000</pubDate>
		<dc:creator>somemorebytes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software Dev]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[javahl]]></category>
		<category><![CDATA[subclipse]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://somemorebytes.com/wp/?p=508</guid>
		<description><![CDATA[Fixing javaHL missing libraries]]></description>
			<content:encoded><![CDATA[<p>Are you experiencing problems with the Subclipse plugin for eclipse? Well, I am too. The solution however, is pretty straighforward.</p>
<p>I&#8217;m using  a custom eclipse installation. The ubuntu repositories package is too old, so I always update my eclipse installation from the eclipse <a href="http://eclipse.org" target="_blank">website</a>. I install it to /opt/eclipse. If you&#8217;re using the default installation package, just look for yor install forlder, probably somewhere near /usr/share.</p>
<p>Now, I assume you installed the subclipse plugin, a nice SVN client. This client uses JavaHL libraries to communicate to the svn program istelf, and  unfortunately, this libraries installation is up to you. If you do not have them, subclipse will complain about missing libraries each time you need to do somthing svn-related. So, to fix if:</p>
<ol>
<li>Install the javaHL libraries:<br />
<code>sudo apt-get install libsvn-java</code></li>
<li>Tell eclipse where to look for them. Edit the file /opt/eclipse/eclipse.ini (or /your-eclipse-path/eclipse.ini), and locate the line:<br />
<code>-vmargs</code><br />
Now just below this line, add the following one:<br />
<code>-Djava.library.path=/usr/lib/jni</code></li>
<li>Happy coding!.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://somemorebytes.com/wp/index.php/2010/04/ubuntu-9-10-eclipse-subclipse-javahl-problems/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Create an Ubuntu USB bootable disk from OsX</title>
		<link>http://somemorebytes.com/wp/index.php/2010/01/create-an-ubuntu-usb-bootable-disk-from-osx/</link>
		<comments>http://somemorebytes.com/wp/index.php/2010/01/create-an-ubuntu-usb-bootable-disk-from-osx/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 01:33:52 +0000</pubDate>
		<dc:creator>somemorebytes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OsX]]></category>

		<guid isPermaLink="false">http://somemorebytes.com/wp/?p=120</guid>
		<description><![CDATA[Create an Ubuntu USB bootable disk from OsX]]></description>
			<content:encoded><![CDATA[<p>I just needed to create an Ubuntu (9.10) USB bootable device from Osx.</p>
<p>First thing was, of course see if the great Unetbootin supported OsX. Not the case.</p>
<p>Well then. I know it can be done with dd. Should I do anything special to do it under OsX?</p>
<p><span id="more-120"></span></p>
<p>Then, a simple google search will drive you to the most copied manual excerpt ever. You will see this steps in a lot of sites:</p>
<ol>
<blockquote>
<li>Download the desired .img file</li>
<li>Open a Terminal (in /Applications/Utilities/)</li>
<li>Run diskutil list to get the current list of devices</li>
<li>Insert your flash media</li>
<li>Run diskutil list again and determine the device node assigned to your flash media (e.g. /dev/disk2)</li>
<li>Run diskutil unmountDisk /dev/diskN (replace N with the disk number from the last command; in the previous example, N would be 2)</li>
<li>Execute sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m (replace /path/to/downloaded.img with the path where the image file is located; for example, ./ubuntu.img, /dev/rdiskN is faster than /dev/diskN). If you see the error dd: Invalid number `1m&#8217;, you are using GNU dd. Use the same command but replace bs=1m with bs=1M.</li>
<li>Run diskutil eject /dev/diskN and remove your flash media when the command completes.</li>
<li>Reboot (and boot from the usb device) and enjoy.</li>
</blockquote>
</ol>
<p>And then, if you&#8217;re like me, you will go directly to download the ubuntu image from the ubuntu server to make the process. You will go through these steps and, uh! oh!, surprise! It does not work!.</p>
<p>Well, give it another try. From the beginning again. Nothing. The pc does not boot from this USB drive. What the hell am I doing wrong?</p>
<p>Well, you are downloading an <strong>iso</strong> file, while you should be downloading an <strong>img</strong> file. Ahhh, did you think it was the same?<strong> I did. Three times. I was wrong!</strong></p>
<p>Then you&#8217;ll notice that there are no <strong>img</strong> files available to download. So?. Here it comes. Run as root (sudo -s):</p>
<p><code>hdiutil convert "path/to/the/file.iso" -format UDRW -o "path/to/the/output.dmg"</code></p>
<p>Of course, the first &#8220;path to the&#8230;&#8221; should point to the downloaded iso image, and the second one to the file you want to create as this command&#8217;s output.</p>
<p>Now, do it again from step 2 using the <strong>dmg</strong> file instead of the <strong>iso</strong> one. It will work this time!</p>
]]></content:encoded>
			<wfw:commentRss>http://somemorebytes.com/wp/index.php/2010/01/create-an-ubuntu-usb-bootable-disk-from-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash problems in Ubuntu 9.10 Karmic (only 64 bits)</title>
		<link>http://somemorebytes.com/wp/index.php/2009/12/flash-problems-in-ubuntu-9-10-karmic-only-64-bits/</link>
		<comments>http://somemorebytes.com/wp/index.php/2009/12/flash-problems-in-ubuntu-9-10-karmic-only-64-bits/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 00:16:16 +0000</pubDate>
		<dc:creator>somemorebytes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://somemorebytes.com/wp/?p=96</guid>
		<description><![CDATA[Have some problems with flash in Ubuntu 9.10? Are you using the AMD64 release? Here&#8217;s the solution: The flash version in the ubuntu repositories, is the 32 bits version of the famous plugin. In fact, it shouldn&#8217;t be working in a 64 bits browser. Here&#8217;s where ubuntu makes some of its behind-the-scenes magic, and installs [...]]]></description>
			<content:encoded><![CDATA[<p>Have some problems with flash in Ubuntu 9.10? Are you using the AMD64 release? Here&#8217;s the solution:</p>
<p>The flash version in the ubuntu repositories, is the 32 bits version of the famous plugin. In fact, it shouldn&#8217;t be working in a 64 bits browser. Here&#8217;s where ubuntu makes some of its behind-the-scenes magic, and installs and configures for you a wrapper named nspluginwrapper.</p>
<p><span id="more-96"></span></p>
<p><a title="Nspluginwrapper" href="http://freshmeat.net/projects/nspluginwrapper/" target="_blank">Nspluginwrapper</a> is a software layer which provides an appropiate environment for the plugin to run (i386) in other platforms which it is not supposed to work. So Ubuntu, automatically installs the wrapper, and configures it for you. Unfourtunately, this magic comes with a little bug somewhere casing the flash plugin to fail &#8211; sometimes &#8211; .</p>
<p>It turns to be quite annoying when it fails, because instead of a crash, or not showing the flash content (and clearly showing that it has crashed) it just blocks the &#8220;click&#8221; in the flash content, creating confusion about what&#8217;s not working, the flash plugin, the flash content, the browser, the mouse, the finger etc&#8230;</p>
<p>Here&#8217;s a workaround to fix the click problem:</p>
<ul>
<li>Edit the file : /usr/lib/nspluginwrapper/i386/linux/npviewer  (as root, use sudo from console or gksudo from the &#8220;run&#8221; dialog)</li>
<li>Add the following line BEFORE the last line of text:</li>
</ul>
<p style="padding-left: 60px;"><code>export GDK_NATIVE_WINDOWS=1</code></p>
<ul>
<li>Save, and restart your browser.</li>
</ul>
<p>This should be enough to solve the problem. It is possible that the npviewer script gets updated losing your changes.</p>
<p>If you realize that it is failing again, maybe this is the case, and you should redo this workaround.</p>
<p><strong>UPDATE:</strong> If you feel brave, you can try the really-64bits-flash version of the plugin, that will work with the 64bits browsers. This will bypass all the nspluginwrapper magic mentioned above. Someone created a script, to get rid of the unnecessary packages and install the flash player  for AMD64. There are precise instructions in the <a title="Ubuntu Forums" href="http://ubuntuforums.org/showthread.php?t=1358591" target="_blank">Ubuntu Forums</a>.</p>
<p>Keep in mind that Adobe 64 bits  flash player is in alpha stage, so it can be unstable.</p>
]]></content:encoded>
			<wfw:commentRss>http://somemorebytes.com/wp/index.php/2009/12/flash-problems-in-ubuntu-9-10-karmic-only-64-bits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Songbird 1.2.0+ on Ubuntu 9.04</title>
		<link>http://somemorebytes.com/wp/index.php/2009/07/songbird-1-2-0-on-ubuntu-9-04/</link>
		<comments>http://somemorebytes.com/wp/index.php/2009/07/songbird-1-2-0-on-ubuntu-9-04/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 19:18:46 +0000</pubDate>
		<dc:creator>somemorebytes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Songbird]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://somemorebytes.com/?p=90</guid>
		<description><![CDATA[I&#8217;ve been so busy lately, that I didn&#8217;t even noticed that the Songbird player got updates. It has now the long awaited and promised graphic equalizer. Unfortunately, Songbird is not on the offcicial ubuntu repos, but you can install it anyway thanks to the guys at Getdeb who made the package for you. To install [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been so busy lately, that I didn&#8217;t even noticed that the Songbird player got updates. It has now the long awaited and promised graphic equalizer.</p>
<p>Unfortunately, Songbird is not on the offcicial ubuntu repos, but you can install it anyway thanks to the guys at <a title="GetDeb" href="http://www.getdeb.net/" target="_blank">Getdeb</a> who made the package for you. To install it just download the package from <a title="Songbird 1.2.0 Package" href="http://www.getdeb.net/app/Songbird" target="_blank">HERE</a> and install it with your favourite package manager.</p>
<p>I had at first some problems with this new version, but after a bit of reading, I saw that was a common problem. There some conflict with the package<strong> libvisual-0.4-plugins</strong> that cause the Sonbird player not to start. This package comes preinstalled in systems with NVIDIA video cards, and for what I have seen, it is not an important part of the system and it has no big dependencies. You most probably want to remove this package if you&#8217;re experiencing some problems with this last version.</p>
<p>I tried to add the repositories of the Songbird Nightly Builds, but I found the current version (1.3.0a) quite unstable, and not compatible with most plugins, so I decided to leave the stable 1.2.0 version.</p>
<ul>
<li>If you want to try though, here is the repo you need to add to your<strong> /etc/apt/sources.list</strong> file:</li>
</ul>
<p style="padding-left: 60px;"><code>deb http://ppa.launchpad.net/songbird-daily/ppa/ubuntu jaunty main<br />
deb-src http://ppa.launchpad.net/songbird-daily/ppa/ubuntu jaunty main</code></p>
<ul>
<li>Add the signature by typing in a console:</li>
</ul>
<p style="padding-left: 60px;"><code>sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 5719E347</code></p>
<p>And now you will always have the lastest development build of Songbird available in your preferred package manager app.</p>
]]></content:encoded>
			<wfw:commentRss>http://somemorebytes.com/wp/index.php/2009/07/songbird-1-2-0-on-ubuntu-9-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu (8.10/9.04) on a Medion Akoya E1210 (MSI Wind clone)</title>
		<link>http://somemorebytes.com/wp/index.php/2009/07/ubuntu-8-109-04-on-a-medion-akoya-e1210-msi-wind-clone/</link>
		<comments>http://somemorebytes.com/wp/index.php/2009/07/ubuntu-8-109-04-on-a-medion-akoya-e1210-msi-wind-clone/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 03:17:35 +0000</pubDate>
		<dc:creator>somemorebytes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MSI Wind]]></category>
		<category><![CDATA[Netbook]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://somemorebytes.com/?p=85</guid>
		<description><![CDATA[This post is intended to be a short reminder to myself about what I did to install/tweak the last ubuntu release into the Medion Akoya E1210. I doubt it helps more people than me, because there&#8217;s plenty of information/wikis about these netbooks and their best setups. Anyway, here it  is: The wifi: I&#8217;m using here [...]]]></description>
			<content:encoded><![CDATA[<p>This post is intended to be a short reminder to myself about what I did to install/tweak the last ubuntu release into the Medion Akoya E1210. I doubt it helps more people than me, because there&#8217;s plenty of information/wikis about these netbooks and their best setups.</p>
<p>Anyway, here it  is:</p>
<p><span id="more-85"></span></p>
<p><strong>The wifi</strong>: I&#8217;m using here a Dell 1935 wifi card, wich is automatically configured in Ubuntu 9.04 Jaunty, using the propietary drivers (wl driver).</p>
<p><span style="color: #ffcc00;">The next steps (ndiswrapper) are required in Ubuntu 8.10. Recent kernels, as the ones shipped with ubuntu 9.04, already have included the appropiate drivers for the Ralink wifi card.</span></p>
<p>The medion akoya comes with a Ralink 2860 wifi card. This card could be used under linux using the ndiswrapper and the windows driver. To do so, download from your preferred site (I used medion website) the windows drivers for the wifi card, and extract them to a directory.</p>
<ul>
<li>Install the package ndiswrapper with your preferred package tool. We need to insert into de kernel the ndiswrapper module. To do so from a console run:</li>
</ul>
<p><code><br />
$&gt;sudo depmod -a<br />
$&gt;sudo modprobe ndiswrapper<br />
$&gt;echo 'ndiswrapper' | sudo tee -a /etc/modules<br />
$&gt;sudo ndiswrapper  -m<br />
</code></p>
<ul>
<li>Now we need to blacklist the rt2860 module that actually comes shipped into the kernel. Do so running:</li>
</ul>
<p><code><br />
$&gt;echo 'blacklist rt2860' | sudo tee -a /etc/modprobe.d/blacklist<br />
$&gt;echo 'blacklist rt2860sta' | sudo tee -a /etc/modprobe.d/blacklist<br />
</code></p>
<ul>
<li>Then, to activate the windows driver through the ndiswrapper, we need to execute (in the directory where you extracted the windows drivers and the file rt2860.inf is located):</li>
</ul>
<p><code><br />
$&gt;sudo ndiswrapper -i rt2860.inf<br />
$&gt;sudo ndiswrapper -l<br />
</code><br />
The wifi device should be visible now, and after a reboot, the network-manager should recognize it and automatically set it up.</p>
<p><strong>The webcam</strong> works fine with the uvc driver. Look at <a href="http://somemorebytes.com/2009/06/20/ubuntu-9-04-and-the-5920g-all-in-one/" target="_blank">this other post</a>, as it is explained there how to set up this driver.</p>
<p><strong>TWEAK1:</strong> After an ubuntu clear installation, the power management system, forces the hard disk to spin down at random intervals, producing an annoying click. It is said, that this kind of aggresive power management may not be the best choice for a long lasting drive.If you  want to get rid of it, just edit the file <strong>/etc/hdparm.conf</strong> and add at the end of it:<br />
<code><br />
command_line {<br />
hdparm -B 192 /dev/sda<br />
}<br />
</code><br />
This will prevent the hard disk to spin down, while keeping some kind of power management. It&#8217;ll do it after the next reboot though. If you want to activate this tweak now, you can run from a console:<br />
<code><br />
$&gt;sudo hdparm -B 192 /dev/sda<br />
</code><br />
<strong>TWEAK 2: </strong>In 8.04, after  recovering from the suspended/sleeping state, the sound stops working. This can be solved by adding the next line at the end of the file <strong>/etc/modprobe.d/alsa-base:</strong><br />
<code><br />
options snd-hda-intel model=targa-2ch-dig<br />
</code><br />
<span style="color: #ffcc00;">This(sound after sleep problem) is solved in Ubuntu 9.04.</span></p>
<p><strong>TWEAK 3: </strong>There is a problem with the intel video drivers shipped with the 9.04 (at least in the first versions)  making very poor performance with the compiz effects.</p>
<p>More info about the bug itself, and how to solve it can be found <a title="Ubuntu forums" href="http://ubuntuforums.org/showthread.php?t=1130582" target="_blank">here</a>.</p>
<p>Basically, if you don&#8217;t want to read the whole post, what you should do is:</p>
<ul>
<li>Download <a title="Bug fixing script" href="http://launchpadlibrarian.net/26193373/fixmtrr.sh" target="_blank">THIS</a> script and save it to /usr/local/bin</li>
</ul>
<ul>
<li>Make it executable:</li>
</ul>
<p><code><br />
$&gt;sudo chmod +x /usr/local/binfixmtrr.sh<br />
</code></p>
<ul>
<li>Make it run at boot:</li>
</ul>
<p><code><br />
$&gt;sudo ln -s /usr/local/bin/fixmtrr.sh /etc/gdm/PostLogin/Default<br />
</code></p>
<ul>
<li>And last but not least, edit your /etc/X11/xorg.conf and add this lines under the &#8220;Device&#8221; section:</li>
</ul>
<p><code><br />
Identifier    "Configured Video Device"<br />
Option        "AccelMethod"        "exa" #uxa<br />
Option        "EXAOptimizeMigration"    "true"<br />
Option        "MigrationHeuristic"    "greedy"<br />
#Option        "Tiling"        "true"<br />
</code><br />
In the original post recommends to use UXA instead EXA, but I obtained best results using the EXA old acceleration method, as well as deactivating the tiling option.</p>
<p>Other minor tweaks I did in this install:</p>
<ul>
<li>Change the font size to accomodate gnome in the small screen:</li>
</ul>
<p style="padding-left: 60px;">System&gt;Preferences&gt;Appeareance&gt;Fonts&gt;Details&gt; Change value from 96 to 83</p>
<ul>
<li>Install firefox plugins &#8220;hide menubar&#8221; and &#8220;fission&#8221; to accomodate the browser to small screens.</li>
</ul>
<p>And ready to go&#8230;</p>
<p>If you&#8217;ve reached this point, and have any other suggestions, I&#8217;d like to hear about them. Thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://somemorebytes.com/wp/index.php/2009/07/ubuntu-8-109-04-on-a-medion-akoya-e1210-msi-wind-clone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Now we&#8217;re talking&#8230;</title>
		<link>http://somemorebytes.com/wp/index.php/2009/06/now-were-talking/</link>
		<comments>http://somemorebytes.com/wp/index.php/2009/06/now-were-talking/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 18:42:06 +0000</pubDate>
		<dc:creator>somemorebytes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Gnome]]></category>

		<guid isPermaLink="false">http://somemorebytes.com/?p=34</guid>
		<description><![CDATA[This is a good idea to improve desktop usability, and not the blobby windows&#8230; Gnome Clever Windows Mockup]]></description>
			<content:encoded><![CDATA[<p>This is a good idea to improve desktop usability, and not the blobby windows&#8230;</p>
<p><a href="http://www.youtube.com/watch?v=lsZvwyxJ9vk">Gnome Clever Windows Mockup</a></p>
]]></content:encoded>
			<wfw:commentRss>http://somemorebytes.com/wp/index.php/2009/06/now-were-talking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Default Java VM in Ubuntu Jaunty</title>
		<link>http://somemorebytes.com/wp/index.php/2009/06/default-java-vm-in-ubuntu-jaunty/</link>
		<comments>http://somemorebytes.com/wp/index.php/2009/06/default-java-vm-in-ubuntu-jaunty/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 12:17:18 +0000</pubDate>
		<dc:creator>somemorebytes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://somemorebytes.com/?p=48</guid>
		<description><![CDATA[I have noticed that eclipse was a bit slower than usual, and it was due to the java virtual machine that it was running it. It seems that the default installation of the Ubuntu 9.04 Jaunty comes with the Open Source Java instead the Sun one. If your not too picky about non oss, I [...]]]></description>
			<content:encoded><![CDATA[<p>I have noticed that eclipse was a bit slower than usual, and it was due to the java virtual machine that it was running it.</p>
<p>It seems that the default installation of the Ubuntu 9.04 Jaunty comes with the Open Source Java instead the Sun one. If your not too picky about non oss, I will recommend to use the sun java virtual machine.</p>
<p>To change this setting, just be sure that you have installed the packages sun-java6-bin and sun-java6-jre.</p>
<p>Then, in case you want to make the Sun JVM the default one in the system, you can do it by running from a console:<br />
<code><br />
$&gt;sudo update-alternatives --display java<br />
$&gt;sudo update-alternatives --set java /usr/lib/jvm/java-6-sun/jre/bin/java<br />
</code><br />
This way, the next time you open any java application, /usr/bin/java will be called, that is a symlink to /etc/alternatives/java, that now points to the Sun JVM instead the open source one.</p>
]]></content:encoded>
			<wfw:commentRss>http://somemorebytes.com/wp/index.php/2009/06/default-java-vm-in-ubuntu-jaunty/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Amarok2 under Ubuntu Jaunty and Gnome</title>
		<link>http://somemorebytes.com/wp/index.php/2009/06/amarok2-under-ubuntu-jaunty-and-gnome/</link>
		<comments>http://somemorebytes.com/wp/index.php/2009/06/amarok2-under-ubuntu-jaunty-and-gnome/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 16:15:33 +0000</pubDate>
		<dc:creator>somemorebytes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://somemorebytes.com/?p=45</guid>
		<description><![CDATA[I&#8217;ve been using Gnome for some time now, and I&#8217;m very happy about it. In fact, I am far more happy that I was some weeks ago when I reinstalled Debian Sid with KDE 4. I&#8217;ve been always a KDE fan, but KDE 4&#8230; it&#8217;s just not as polished as KDE3 was, so I decided [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using Gnome for some time now, and I&#8217;m very happy about it. In fact, I am far more happy that I was some weeks ago when I reinstalled Debian Sid with KDE 4. I&#8217;ve been always a KDE fan, but KDE 4&#8230; it&#8217;s just not as polished as KDE3 was, so I decided to switch to Gnome for some time.</p>
<p>However, I have tried some music management/players applications, and although Rhythmbox and Songbird are quite nice, I like Amarok to be my main player.</p>
<p>Amarok is on the official ubuntu repos (Amarok 2), and since it is a a KDE app, you&#8217;ll need some KDE libs in your system to execute. For what I have read, it gives some problems in some ubuntu default installations. Avoid them with these simple steps:</p>
<ul>
<li>Install the <strong>amarok</strong> package, and it&#8217;s dependencies with your preferred package management tool.</li>
</ul>
<ul>
<li>Make sure that the packages<strong> libphonon4, phonon, and phonon-backend-xine</strong> are going to be installed. If not, install them manually.</li>
</ul>
<ul>
<li>Install the following packages:</li>
</ul>
<p><code><br />
systemsettings, ffmpeg, gstreamer0.10-ffmpeg, libxine1-ffmpeg<br />
</code></p>
<ul>
<li>Run systemsettings (the KDE control panel app), and go to Multimedia. Click on the Backend Tab and move xine to the top of the list in case there&#8217;s more than one. Click apply.</li>
</ul>
<p>Now you can start your Amarok2 player from the appz menu, and it should work just fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://somemorebytes.com/wp/index.php/2009/06/amarok2-under-ubuntu-jaunty-and-gnome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  somemorebytes.com/wp/index.php/category/linux/feed/ ) in 0.72506 seconds, on Feb 5th, 2012 at 4:34 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 5th, 2012 at 5:34 pm UTC -->
